System.IO.FileNotFoundException: 找不到文件或程序集名称“aybbu-lg.dll”,或找不到它的一个依赖项。
文件名: “aybbu-lg.dll”
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings)
at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type, LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)=== Pre-bind state information ===
LOG: Where-ref bind. Location = D:\WINNT\TEMP\aybbu-lg.dll
LOG: Appbase = file:///D:/Inetpub/wwwroot/ERP_WebUI
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///D:/WINNT/TEMP/aybbu-lg.dll.
文件名: “aybbu-lg.dll”
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings)
at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type, LogicalMethodInfo[] methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)=== Pre-bind state information ===
LOG: Where-ref bind. Location = D:\WINNT\TEMP\aybbu-lg.dll
LOG: Appbase = file:///D:/Inetpub/wwwroot/ERP_WebUI
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///D:/WINNT/TEMP/aybbu-lg.dll.
解决方案 »
- 导入word问题
- 这种情况如何获取session值?
- 大家推荐个比较好的支持 .net 2.0 mssql Server数据库的空间
- Asp.net(C#)求正则表达式过滤输出字段中的html代码
- .net中特殊字符的处理,以及录入超出数据库字段长度是怎么处理了
- treeview的怪问题。我的网站用域名访问可以看到树型控件,用ip访问就看不到树型控件。不知为什么?帮帮我吧--先谢谢了
- 问题是不太简单了,没有回答,再问一次,显示 xml文件的全部内容
- 高手帮我看看这个错误吧,我都快郁闷死了!"指定的参数已超出有效值的范围。参数名: value"
- 求教身份证输入的正则表达式,在线等
- 如何修改aspx的页面编码
- 救人如救火啊
- 问一个大家都会遇到的小小弱问题(关于格式控制)~~!!!!
程序编译都ok
运行也没问题
只有调用webservices的地方才会报错
程序编译都ok
运行也没问题
只有调用webservices的地方才会报错
.NET?才入门而已!!!
===============================================
不要问我是谁,茫茫人海中我们曾擦肩而过。
不要问我是谁,滚滚红尘中我们曾经相识过!
不要问我是谁,茫茫人海中那一抹蓝色就是我的星座,
不要问我是谁,我也不知我们相识相知到底是对是错!
===============================================
这个提示找不到的dll文件每次报错都会发生变化的
应该是运行时复制或者生成的一个临时dll
我也有这样的 经历过!
重新安装
你的意思是每次这个文件的名字都不相同么?你在运行时是否要动态的LoadAssembly么?
可能是及时编译时出错了。在你的web.config里面查找一下看看是否有“D:\WINNT\TEMP\”。
在系统盘D:\WINNT\TEMP目录添加aspnet帐户的权限就可以了问题一旦解决了回头再想想其实挺简单的啊,呵呵