Can you talk more about what you are doing ?
We're using C++/CLI with mixed assembly (with Common Language Runtime Support (/clr) option since we use some legacy ISO compiledC++ code).
Our application is a satellite imagery Catalog system using Oracle anda GIS software to access a fewterabytes of pictures.
It works fine till it tries to access the pictures on a remote computer since xxx\ASPNET is a local user.
- How are you determining the user name (System.Environment.UserName or something else?)
System::Security::Principal::WindowsIdentity::GetCurrent()->Name
- Does this repro only when debug=true is set in web.config, or only when running under the debugger?
Just under the debugger, debug=true does not matter.
- If you need to be running under the debugger, how are you attaching the debugger?
We launch the client and step into the server DLL.
BTW: When debugging, the regular old web service dll is used. Setting debug=true causes your code to be compiled with optimizations disabled, and causes PDBs (symbol databases) to be generated by the compiler.
We're sure that several instances of the webservice DLL are loaded concurrently. Each instance creates a specific log file and rings at startup and on termination. Since at least 2 log files are active at the same timeand we hear the startup sound each time we debug the DLLwe suppose IIS one is not the only one ... !?
Thanks for your interest,
Hubert