哪位仁兄拉小弟一把:System.IO.FileNotFoundException: 找不到文件或程序集名称“pacxehmv.dll”,或找不到它的一个依赖项
错误如上所示,我的系统是win2003 server,.net 2003.就运行webService有问题,其他都没问题。以前的是win2000,.net 2002,在我机器上没问题。是否是win2003上自带的.net framework上的问题? 问题点数:30、回复次数:5Top
1 楼hertcloud(·£孙子兵法£·)回复于 2004-08-04 12:45:50 得分 0
将你的 工程在vs2003下 重新编译!~Top
2 楼xiaohutushen(程序人生)回复于 2004-08-04 12:48:25 得分 0
能否说的详细一点,是不是没有添加引用Top
3 楼wjflover()回复于 2004-08-04 12:52:14 得分 0
以下是其所报的错误
//////////////////////////
System.IO.FileNotFoundException: 找不到文件或程序集名称“pacxehmv.dll”,或找不到它的一个依赖项。
文件名: “pacxehmv.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.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
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 = C:\WINDOWS\TEMP\pacxehmv.dll
LOG: Appbase = file:///c:/inetpub/wwwroot/WebService2
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:///C:/WINDOWS/TEMP/pacxehmv.dll.
Top
4 楼wjflover()回复于 2004-08-04 12:57:47 得分 0
刚新建的一个程序,我什么都没改动,也没增加,就是vs上的Hello world!就出现了以上问题。它需要添加什么引用还是本身就少点什么东西?请各位大虾不吝赐教!Top
5 楼wjfbluesky()回复于 2004-08-27 09:54:28 得分 30
应该是兼容性的问题,建议还是用win2000吧!Top




