dll reference to web service - problems

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

After a few hours of asp. net configuration, ACL, web service specifications
digging and of course extensive googling, I finally came to you… and as
usually I need help…

I need to add specific dll files as reference to my WS. At this project for
some reason [sic!] we use ‘copy local = false’. And that is what makes a lot
of problems with WS references.

When these are added and the referenced dll is in other folder than the WS
\bin folder is, I get :
File or assembly name MyName, or one of its dependencies, was not found.

I try to add <probing privatePath="aaa"> where 'aaa' is my referenced dll
location. But this doesn't help.

Please, if only someone know what to do, (besides 'copy locat = true'), I
need your help !



Details log is here:
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: File or assembly name
MyName, or one of its dependencies, was not found.

Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'MyName' could not be loaded.
=== Pre-bind state information
===LOG: DisplayName = MyName, Version=1.0.2018.27560, Culture=neutral,
PublicKeyToken=null (Fully-specified)
LOG: Appbase = file:///C:/dev/WebServiceMockLOG: Initial PrivatePath =
binCalling assembly : WebServiceMock, Version=1.0.2019.16843,
Culture=neutral, PublicKeyToken=null.
===LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: MyName, Version=1.0.2018.27560, Culture=neutral,
PublicKeyToken=nullLOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webservicemock/ab05a325/7eefdce3/MyName.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webservicemock/ab05a325/7eefdce3/MyName/MyName.DLL.
LOG: Attempting download of new URL
file:///C:/dev/WebServiceMock/bin/MyName.DLL.LOG: Attempting download of new
URL file:///C:/dev/WebServiceMock/bin/MyName/MyName.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webservicemock/ab05a325/7eefdce3/MyName.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/webservicemock/ab05a325/7eefdce3/MyName/MyName.EXE.LOG: Attempting
download of new URL file:///C:/dev/WebServiceMock/bin/MyName.EXE.LOG:
Attempting download of new URL
file:///C:/dev/WebServiceMock/bin/MyName/MyName.EXE.

.



Relevant Pages

  • Re: PLEASE HELP - Access is denied: Microsoft.Office.Interop.Owc.
    ... >> includes the OWC both on server and client. ... An unhandled exception occurred during the ... >> using the exception stack trace below. ... Attempting download of new URL ...
    (microsoft.public.office.developer.web.components)
  • Re: Assembly conversion to Pocket Pc format
    ... except the error message "An error message ... I could download all other type of files as given in the below ... detailed information on the exception, but from the error it looks like CF ... Stream respStream = resp.GetResponseStream; ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Assembly conversion to Pocket Pc format
    ... This exception could be for many reasons. ... HttpWebResponse resp = req.GetResponse; ... Stream respStream = resp.GetResponseStream; ... upload and download files in compact framework. ...
    (microsoft.public.dotnet.framework.compactframework)
  • updated Error R2
    ... I have tried to uninstall and reinstall R2 but showing this error. ... Please review the stack trace for more information about ... Exception Details: System.IO.FileNotFoundException: File or assembly name ... Attempting download of new URL ...
    (microsoft.public.windows.server.sbs)
  • Re: updated Error R2
    ... I have tried to uninstall and reinstall R2 but showing this error. ... An unhandled exception occurred during the execution of the current web request. ... Information regarding the origin and location of the exception can be identified using the exception stack trace below. ... Attempting download of new URL ...
    (microsoft.public.windows.server.sbs)