配置如下
</customErrors>
<httpModules>
<add name="HttpUserOnLineHander_UserOnLineHander" type="HttpUserOnLineHander.UserOnLineHander" />
</httpModules>
<httpHandlers>
<add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
<add verb="*" path="weborb.aspx" type="Weborb.ORBHttpHandler" />
<add verb="*" path="codegen.aspx" type="Weborb.Management.CodeGen.CodegeneratorHttpHandler" />
<add verb="*" type="HttpUserOnLineHander.FLVStreaming" path="*.flv" />
</httpHandlers>
<httpRuntime executionTimeout="1200" maxRequestLength="61440" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" />
</system.web>
本地运行可以,服务器上总是报
Could not load type 'Weborb.ORBHttpHandler'.
请问是不是哪里还需要配置
<add verb="*" path="weborb.aspx" type="Weborb.ORBHttpHandler, Weborb" />
typeName, assemblyName
亲不管用····
@不会代码的椰子: 贴代码吧
@Daniel Cai: 这个就是引用了一个weborb.dll然后写了两行配置文件···然后本地的是net2.0线上的是4.0
@不会代码的椰子: 你这个dll丢到线上bin目录了么?
@Daniel Cai: 丢了的···