100分求解一个。net网站发布问题(可能是配置文件的问题)

十一文 2008-07-07 04:50:08
web.config

<?xml version="1.0" ?>

<!-- Note: As an alternative to manually editing this file you can use the web admin tool to
configure settings for your application. Use the Website->ASP.NET Configuration option
in Visual Studio.
A full list of settings and comments can be found in machine.config.comments usually
located in \Windows\Microsoft.NET\Framework\v2.0.xxxxx\Config
-->

<configuration>

<appSettings />
<connectionStrings />

<system.web>

<!--
Set compilation debug="true" to insert debugging symbols into the compiled page.
Because this affects performance, set this value to true only during development.
-->
<compilation debug="true" />


<!--
The <authentication> section enables configuration of the security authentication
mode used by ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />


<!--
The <customErrors> section enables configuration of what to do if/when an unhandled
error occurs during the execution of a request. Specifically, it enables developers
to configure html error pages to be displayed in place of an error stack trace.
-->
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<!--
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
-->
</customErrors>


<!--
FULLY QUALIFY URL FOR CLIENT REDIRECTS
Some mobile devices require that the URL for client redirects be fully qualified.
-->
<httpRuntime useFullyQualifiedRedirectUrl="true" />


<!--
SPECIFY COOKIELESS DATA DICTIONARY TYPE
This will cause the dictionary contents to appear in the local request url querystring.
This is required for forms authentication to work on cookieless devices.
-->
<mobileControls cookielessDataDictionaryType="System.Web.Mobile.CookielessData" />


<deviceFilters>
<filter name="isJPhone" compare="Type" argument="J-Phone" />
<filter name="isHTML32" compare="PreferredRenderingType" argument="html32" />
<filter name="isWML11" compare="PreferredRenderingType" argument="wml11" />
<filter name="isCHTML10" compare="PreferredRenderingType" argument="chtml10" />
<filter name="isGoAmerica" compare="Browser" argument="Go.Web" />
<filter name="isMME" compare="Browser" argument="Microsoft Mobile Explorer" />
<filter name="isMyPalm" compare="Browser" argument="MyPalm" />
<filter name="isPocketIE" compare="Browser" argument="Pocket IE" />
<filter name="isUP3x" compare="Type" argument="Phone.com 3.x Browser" />
<filter name="isUP4x" compare="Type" argument="Phone.com 4.x Browser" />
<filter name="isEricssonR380" compare="Type" argument="Ericsson R380" />
<filter name="isNokia7110" compare="Type" argument="Nokia 7110" />
<filter name="prefersGIF" compare="PreferredImageMIME" argument="image/gif" />
<filter name="prefersWBMP" compare="PreferredImageMIME" argument="image/vnd.wap.wbmp" />
<filter name="supportsColor" compare="IsColor" argument="true" />
<filter name="supportsCookies" compare="Cookies" argument="true" />
<filter name="supportsJavaScript" compare="Javascript" argument="true" />
<filter name="supportsVoiceCalls" compare="CanInitiateVoiceCall" argument="true" />
</deviceFilters>
<httpHandlers>
<add verb="*" path="*/Bincess.Components.GetRes.aspx" type="Bincess.Components.Web.MyHttpHandler, Bincess.Components"/>
</httpHandlers>

</system.web>
</configuration>




我没有在IIS上建立网站,只是把文件防到了虚拟目录上
结果出现了找不到文件的错误

<httpHandlers>
<add verb="*" path="*/Bincess.Components.GetRes.aspx" type="Bincess.Components.Web.MyHttpHandler, Bincess.Components"/>
</httpHandlers>


是这里
但是这个是个WEB编辑器.他的说明以及岩石代码都是这么弄的
...全文
112 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq22345111 2008-07-08
  • 打赏
  • 举报
回复
那就自己改路径
十一文 2008-07-08
  • 打赏
  • 举报
回复
[Quote=引用 12 楼 leon28 的回复:]
让空间提供上帮你配一下路径,我配网站都会遇到这个问题,然后打电话让他们弄一下就好了
[/Quote]
我们是自己的服务器
sxmonsy 2008-07-08
  • 打赏
  • 举报
回复
十有八九是路径问题.仔细检查下,不行让空间商看看.
leon28 2008-07-08
  • 打赏
  • 举报
回复
让空间提供上帮你配一下路径,我配网站都会遇到这个问题,然后打电话让他们弄一下就好了
十一文 2008-07-08
  • 打赏
  • 举报
回复
bu shi 路径的问题

我看了有那个文件
game_0513 2008-07-07
  • 打赏
  • 举报
回复
很有可能好似路径不对
十一文 2008-07-07
  • 打赏
  • 举报
回复
顶哈
等待答案啊
十一文 2008-07-07
  • 打赏
  • 举报
回复
英文提示
似乎是找不到
这个Bincess.Components

但是我的BIN里面有
debug文件夹下面是有这个文件的
LIUSUCAI 2008-07-07
  • 打赏
  • 举报
回复
有时候或许就一个小小的问题,总会让人费力半天,当解决了才发现是多么简单的一个问题,呵呵,只能自己慢慢琢磨了!
十一文 2008-07-07
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 fifastar 的回复:]
TYPE 指定逗号分隔的类/程序集组合,ASP.NET 首先在应用程序的专用 \Bin 目录中搜索程序集 DLL,然后在系统程序集缓存中搜索。
检查下你是不是缺少了这个?
[/Quote]

我bin里面的DLL怎么都在debug文件夹下面是不是这个的问题a
dengchenlu 2008-07-07
  • 打赏
  • 举报
回复
环境问题
pinhailinfeng 2008-07-07
  • 打赏
  • 举报
回复
项目先编译下,然后新建个目录指向它就该没问题了。
要不就直接用发布这个功能。
眼里进了砂 2008-07-07
  • 打赏
  • 举报
回复
TYPE 指定逗号分隔的类/程序集组合,ASP.NET 首先在应用程序的专用 \Bin 目录中搜索程序集 DLL,然后在系统程序集缓存中搜索。
检查下你是不是缺少了这个?
wfcfan 2008-07-07
  • 打赏
  • 举报
回复
path is null ?
十一文 2008-07-07
  • 打赏
  • 举报
回复
说下我的网站在VS2005中在WEB中浏览
是可以正常运行的
但是到服务器上就成这样了

61,826

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧