购买的空间,本地正常,传上去以后,运行
Parser Error Message: Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 系统找不到指定的文件。Source Error:Line 17: <httpHandlers>
Line 18:
Line 19: <add path="Ajaxpro/*.ashx" verb="POST,GET" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>
Line 20: </httpHandlers>
Line 21: <!--
Source File: D:\wwwroot\200\zhenghan56\web\web.config Line: 19Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxPro.2' could not be loaded.
怎麽回事,要命的是空间那边没有专门的。NET程序员。要我解决一下啊。。急啊,
Parser Error Message: Could not load file or assembly 'AjaxPro.2' or one of its dependencies. 系统找不到指定的文件。Source Error:Line 17: <httpHandlers>
Line 18:
Line 19: <add path="Ajaxpro/*.ashx" verb="POST,GET" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/>
Line 20: </httpHandlers>
Line 21: <!--
Source File: D:\wwwroot\200\zhenghan56\web\web.config Line: 19Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxPro.2' could not be loaded.
怎麽回事,要命的是空间那边没有专门的。NET程序员。要我解决一下啊。。急啊,
解决方案 »
- VS2010reportview导出excel表里边的都是乱码怎么办?????
- DIV问题,关于两列DIV,就像博客一样,左边连接右边内容,内容DIV增长,连接跟着增长!
- 每个人都会的小问题,就我不会,,,,,,,求真解,求好汉,江湖救急...
- asp.net
- 这个怎么实现的RadioButtonList还是Repeater
- 難道沒有分就不能問問題了嗎?
- LinkButton 与html框架之间跳转问题!!!!
- web三层结构 接口使用问题
- response子节点取值
- sql server7.0需要打补丁么!是否有这个漏洞啊?
- ASP 窗体提交给多个网页
- 急啊!!要完工了。关于socut.data的问题。
把这里的web.config覆盖一下。
http://blog.csdn.net/greatverve/archive/2008/12/09/3483268.aspx
参考此文。
<!--AjaxPro_Start-->
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
</httpHandlers>
<!--AjaxPro_End-->
<?xml version="1.0"?>
<!--
注意: 除了手动编辑此文件以外,您还可以使用
Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的
“网站”->“Asp.Net 配置”选项。
设置和注释的完整列表在
machine.config.comments 中,该文件通常位于
\Windows\Microsoft.Net\Framework\v2.x\Config 中
-->
<configuration>
<connectionStrings>
<!--用户数据库-->
<add name="webtest" connectionString="Data Source=localhost;Initial Catalog=zhenghan56;Persist Security Info=True;User ID=zhenghan56;Password=21" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings/>
<system.web>
<!--AjaxPro_Start-->
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/>
</httpHandlers>
<!--AjaxPro_End-->
<!--
设置 compilation debug="true" 可将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<compilation debug="true">
<assemblies>
<!--
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-->
</assemblies></compilation>
<!--
通过 <authentication> 节可以配置 ASP.NET 用来
识别进入用户的
安全身份验证模式。
-->
<authentication mode="Windows"/>
<!--8
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。
-->
<customErrors mode="Off" defaultRedirect="mycustompage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors> </system.web>
<system.codedom>
</system.codedom>
<!--
在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
节。对早期版本的 IIS 来说则不需要此节。
-->
<system.webServer>
</system.webServer>
</configuration>
但是还是出现那种错误。。