问过好多人!难道众位高手就没有遇到过类似问题吗?一个.net2003 framework的问题。
我的系统是win2003 server,.net 2003.就运行webService有问题,其他都没问题。以前的是win2000,.net 2002,运行webservice没问题。是否是win2003上自带的.net framework上的问题?
我刚新建的一个webservice,什么都没改动,也没增加,就是vs上的Hello world!范例程序,就出现了以下问题。它需要添加什么引用还是本身就少点什么东西?请各位大虾不吝赐教!下面所列程序集名称每一次运行时还都不一样。
详细错误信息如下:
/////////////////////
System.IO.FileNotFoundException: 找不到文件或程序集名称“pgnzukrf.dll”,或找不到它的一个依赖项。
文件名: “pgnzukrf.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\pgnzukrf.dll
LOG: Appbase = file:///c:/inetpub/wwwroot/WebService3
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/pgnzukrf.dll.
问题点数:50、回复次数:3Top
1 楼abiho(迷路的打工者(只有不会做的程序员,没有不讲道理的客户))回复于 2004-08-04 15:16:02 得分 0
我也是win2003 server,.net 2003,用了一年多,没见过这类问题,你重装过?Top
2 楼wjflover()回复于 2004-08-04 15:33:48 得分 0
装了win2003 server后马上就装了.net 2003,在装的过程中,也没遇到什么问题Top
3 楼wjfbluesky()回复于 2004-08-27 09:54:02 得分 50
应该是兼容性的问题,建议还是用win2000吧!Top




