G
Guest
Open Visual Studio and create a new ASP.NET Web Services Project. Uncomment the test webmethod (Hello World) in the .asmx file, set as starup file, save and build project and run. Click on the Hello World link in the web page that appears. Co-workers recieve the expected page but I get an error similar to this in the web page (http://localhost/MytestService/Service1.asmx/HelloWorld)
System.IO.FileNotFoundException: File or assembly name swazqp4x.dll, or one of its dependencies, was not found
File name: "swazqp4x.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\swazqp4x.dl
LOG: Appbase = file:///c:/inetpub/wwwroot/IMISImportServic
LOG: Initial PrivatePath = bi
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/swazqp4x.dll
Can anyone tell me what I should do to troubleshoot this?
System.IO.FileNotFoundException: File or assembly name swazqp4x.dll, or one of its dependencies, was not found
File name: "swazqp4x.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\swazqp4x.dl
LOG: Appbase = file:///c:/inetpub/wwwroot/IMISImportServic
LOG: Initial PrivatePath = bi
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/swazqp4x.dll
Can anyone tell me what I should do to troubleshoot this?