Re: TclApp | DLL | CGI - permissions?



Jeff Godfrey wrote:
Anyway, I'd assume the problem is related to the handling of the dll file itself. Unfortunately, I don't know enough about how an internal DLL file is handled by a wrapped application. I *think* it's copied to a temp folder somewhere for access by the application (which I'd guess is the failure point), though I'm not sure. Assuming that's the case, can I control *where* the DLL is stored? Presumably, I'd want that located parallel to the wrapped exe itself, (which is in the "cgi-bin" folder), as I have permissions there.

Any suggestions for debugging and/or fixing this?

The DLL is stored in a path derived from the Win32 core APIs GetTempPath and GetTempFileName. See their docs on how that is manipulated.

An error should bubble up if that can't be loaded properly. I'm not sure why you shouldn't be able to capture that - it shouldn't fail silently.

Jeff
.



Relevant Pages

  • Re: What do you make of this error message ?
    ... >I would scan your computer for a virus. ... > crazy dll names in the .NET Framework. ... puts them in a uniquely-named assembly in the temp folder. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Elevated Privileges
    ... I tried un-registering the dll, and then moving the dll to a temp folder, ... registry to manually change the registration location and neither worked. ... the core software that you can not get rid of, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ASP.NET System.IO.IOException on c:windows empxxxxxxxx.dll
    ... every page compile creates a new dll in the temp folder. ... if you have impersonation on, sometimes the dll is created with these creditials, and others are not allowed access. ... check that you have all the service packs, and check the permissions on the parent temp folder. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Elevated Privileges
    ... Consider the malware implications of a "yes", ... >dll that generates htm code for a web session. ... >as a temp folder ... Can relocating the .DLL from System32 and pointing a Path to it work ...
    (microsoft.public.windowsxp.security_admin)
  • Re: More NUnit problems.
    ... Don't know how to force NUnit not to perform shadow copying and I wouldn't ... This is just how NUnit works, ... I have a DLL that implements needed functionality. ... > Business.dll is copied to a temp folder. ...
    (microsoft.public.dotnet.languages.csharp)