Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Accessing database through Web Service problem

Mar 21 2003 12:53 AM
Hello, I have one problem to access database on server. Let me explain what is my problem. We have created one webservice to access data. It is working fine in our local server but have problem on our hosting server. It is giving following error message when we invoke our query using below URL or try to use this web service with our asp.net application. "http://63.239.197.72/accessDatabase.asmx?op=ExecuteMyNonQuery" URL: Error Is: --------------------------------------------------------------------------------------------------------- System.IO.FileNotFoundException: File or assembly name macyqaf3.dll, or one of its dependencies, was not found. File name: "macyqaf3.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) 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) Fusion log follows: === Pre-bind state information === LOG: Where-ref bind. Location = C:\WINNT\TEMP\macyqaf3.dll LOG: Appbase = file:///C:/Inetpub/wwwroot/dingo.com 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:/WINNT/TEMP/macyqaf3.dll. --------------------------------------------------------------------------------------------------------- Any help regarding this? Thanks, vidya

Answers (8)