on 03-11-2005 2:19 PM
Hi Everybody,
I implemented a Component (registered COM DLL) which retrieves some Information with the SAP.NET-Connector in C#.
My Dll does several other things too and it must be called by an ASP-Page. Everthing works fine, except the SAP-Connector. I got the following Errors:
AddTableInfoFromSAP: new SAPTable: ERRORSystem.ApplicationException: GetTableFromSAP: new SAPProxy1System.IO.FileNotFoundException: File or assembly name w3jcq-zf.dll, or one of its dependencies, was not found.
File name: "w3jcq-zf.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.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at SAP.Connector.SAPClient..ctor(String connectionString)
at SAPReadTable.SAPProxy1..ctor(String connectionString)
at SPPLCI_WA.SAPInfos.GetTableFromSAP(String TableName)
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINNT\TEMP\w3jcq-zf.dll
LOG: Appbase = C:\WINNT\system32\
LOG: Initial PrivatePath = NULL
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/w3jcq-zf.dll.
/r/nASHOST=10.1.1.116 SYSNR=0 CLIENT=800 USER=fm PASSWD=xxx LANG=en
at SPPLCI_WA.SAPInfos.GetTableFromSAP(String TableName)
at SPPLCI_WA.SAPInfos.AddTableInfoFromSAP(ProcessNode thisLine, DBTools myDB)
I found several Newsgroup postings about similar problems. I tried additionally to register both, the Connector and my DLL in the GAC, wich does not help.
thanks in advance for any help...
Fritz
Sometimes this kind of problems has to do with unsufficient access rights on them temp directories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.