Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
For one of our requirement, we had to modify the

ie.browser (present at %windir%\microsoft.Net\Framework64\v2.0.50727\CONFIG\Browsers) and web.config files (present at %windir%\microsoft.Net\Framework64\v2.0.50727\CONFIG).

After modifying these files, when I execute aspnet_regbrowsers.exe, we are getting access denied error. Following is the error message:

ASPRUNTIME: Access is denied. (Exception from HRESULT: 0x80070005(E_ACCESSDENIED))



I have executed aspnet_regbrowsers.exe (available at %windir%\microsoft.Net\Framework64\v2.0.50727) from command prompt under administrative privileges as shown below:

aspnet_regbrowsers.exe -i 


The server OS is windows 2008 R2 x64 and has IIS7.

Thanks,
Kiran
Posted

1 solution

Did you try to modify this file by your ASP.NET application? You cannot do it, for a good reason. Why doing so?

Anyway, HTTP server runs Web applications is a sandboxed environment which does not provide access to any objects of server-side host's file system beyond the root directory of your site. It has nothing to do with system permissions.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900