S
sdz602
HI, here is my problem.
Basic C# web service is referencing an ActiveX DLL written in ATL C++.
This DLL is simply trying to read some settings from the registry under
the HKEY_CURRENT_USER section. However RegOpenKeyEx is failing with error
code 2 "The system cannot find the file specified."
Now I have tried all sorts of permission settings -
1. Giving ASPNET account (aspnet_wp.exe) "act as OS" privilege
2. Putting ASPNET account in Administrators group.
3. Changing the <processModel> setting to 'username=system' in machine.config
4. Giving ASPNET account access to the HKEY_CURRENT_USER section through
the regedit.exe, permissions.
5. Giving my web service the ASPNET account as its authentication control
Not sure there are many more things I can try. I've exhausted Google.
Please help!
Basic C# web service is referencing an ActiveX DLL written in ATL C++.
This DLL is simply trying to read some settings from the registry under
the HKEY_CURRENT_USER section. However RegOpenKeyEx is failing with error
code 2 "The system cannot find the file specified."
Now I have tried all sorts of permission settings -
1. Giving ASPNET account (aspnet_wp.exe) "act as OS" privilege
2. Putting ASPNET account in Administrators group.
3. Changing the <processModel> setting to 'username=system' in machine.config
4. Giving ASPNET account access to the HKEY_CURRENT_USER section through
the regedit.exe, permissions.
5. Giving my web service the ASPNET account as its authentication control
Not sure there are many more things I can try. I've exhausted Google.
Please help!