RE: Application cant find dll even when it's in the same directory

Tech-Archive recommends: Fix windows errors by optimizing your registry



hi JOhnny,
Were you ever able to resolve this issue. I read soemthing about ASPNET
having permission problems on c:\winnt\temp and in spite of having the right
permission my application also fails with the same error.

Can you please let me know if you resolved it?

"JohnnySparkles" wrote:

> Hi All,
>
> I'm working on an application which uses a dll for some of its classes.
>
> I build the application and the dll and it runs fine on any machine with
> Visual Studio .NET installed on it. Once you take the application and the dll
> and place them on a machine without Visual Studio .NET the application throws
> the following error:
>
> Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
> Clie
> ntAPI, or one of its dependencies, was not found.
> File name: "ClientAPI"
> at main()
>
> === Pre-bind state information ===
> LOG: DisplayName = ClientAPI, Version=1.0.1992.20855, Culture=neutral,
> PublicKey
> Token=null
> (Fully-specified)
> LOG: Appbase = C:\Documents and Settings\jwieland\Desktop\Signal Testing\
> LOG: Initial PrivatePath = NULL
> Calling assembly : TestBed, Version=1.0.1992.20856, Culture=neutral,
> PublicKeyTo
> ken=null.
> ===
>
> LOG: Policy not being applied to reference at this time (private, custom,
> partia
> l, or location-based assembly bind).
> LOG: Post-policy reference: ClientAPI, Version=1.0.1992.20855,
> Culture=neutral,
> PublicKeyToken=null
> LOG: Attempting download of new URL file:///C:/Documents and
> Settings/jwieland/D
> esktop/Signal Testing/ClientAPI.DLL.
>
> The application is TestBed.exe and the dll is ClientAPI.dll and both are
> placed in the same directory. Any ideas anyone?
>
> Cheers
> John
>
.



Relevant Pages

  • RE: Application cant find dll even when its in the same directory
    ... Yes, I did resolve this problem, I needed to use Dependency Walker (its all ... >> I'm working on an application which uses a dll for some of its classes. ... >> PublicKey ...
    (microsoft.public.dotnet.general)
  • Re: .tmp is not a valid win32 resource file
    ... Please suggest some ways to resolve ... I replaced the dll as suggested in the mentioned post. ... dll present in the framework folder and the system 32 folder are ... I got the problem when i reinstalled the .Net framework 1.1. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Loading DLLs from different path
    ... it is implicitly loaded Windows that we can give Windows the ... you cannot specify alternative search paths. ... specifying the full path to each DLL that you want to load. ... resolve process. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: unresolved external symbol __ftol2
    ... This doesn't resolve the problem. ... I just checked and got to know that FDK 7.2 ... I am trying to build the dll using VC++ 6.0 ... i get the following error multiple times: ...
    (microsoft.public.vc.mfc)
  • XP Event Log - Access Denied
    ... DLL writes housekeeping messages to the Application Log in the Event ... I have recently installed the DLL onto XP Professional with IIS ... no permission problems. ...
    (microsoft.public.inetserver.iis.security)