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(AssemblyNa me assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly(
at System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly(
at System.Xml.Serialization.Compiler.Compile(
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[] mappings
at System.Web.Services.Protocols.XmlReturn.GetInitial izers(LogicalMethodInfo[] methodInfos
at System.Web.Services.Protocols.XmlReturnWriter.GetI nitializers(LogicalMethodInfo[] methodInfos
at System.Web.Services.Protocols.MimeFormatter.GetIni tializers(Type type, LogicalMethodInfo[] methodInfos
at System.Web.Services.Protocols.HttpServerType..ctor (Type type
at System.Web.Services.Protocols.HttpServerProtocol.I nitialize(
at System.Web.Services.Protocols.ServerProtocol.SetCo ntext(Type type, HttpContext context, HttpRequest request, HttpResponse response
at System.Web.Services.Protocols.ServerProtocolFactor y.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?