Unable to run asp.net page on IIS server
-
Hi,i have created one website on local system which is running fine.now when i am trying to host the same website on IIS it is giving me error which is, CS0016: Could not write to output file 'e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websetup(travell)\17db5c73\928a41bd\App_global.asax.svcma0h6.dll' -- 'Access is denied' What could be the reason. GIRISH
-
Hi,i have created one website on local system which is running fine.now when i am trying to host the same website on IIS it is giving me error which is, CS0016: Could not write to output file 'e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websetup(travell)\17db5c73\928a41bd\App_global.asax.svcma0h6.dll' -- 'Access is denied' What could be the reason. GIRISH
Hi Shukul, There may be many reason on it !!!:confused: please check that ur Asp.Net version is set on IIS Virtual Dir or Not !!!! Second one may be !!!! on that system IIS has install after .Net Framework..... Please Try to run aspnet_regiis.exe -i from the framework directory :| u can try Frameworkdir\ aspnet_regiis -s /W3SVC/1/Root/ YourVirtualDir :cool: Hope It will work for you !!! :-D Best of luck :)
Happy Programming ----- Abhijit
-
Hi Shukul, There may be many reason on it !!!:confused: please check that ur Asp.Net version is set on IIS Virtual Dir or Not !!!! Second one may be !!!! on that system IIS has install after .Net Framework..... Please Try to run aspnet_regiis.exe -i from the framework directory :| u can try Frameworkdir\ aspnet_regiis -s /W3SVC/1/Root/ YourVirtualDir :cool: Hope It will work for you !!! :-D Best of luck :)
Happy Programming ----- Abhijit
i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '
-
i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '
The windows account from which you logged in and/or aspnet account do not have enough permissions That may be the cause Try giving permissions to those account
Paras Kaneriya
The difference between genius and stupidity is that genius has its limits. -
i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '
did u try it by reinstalling the IIS ???? if u reinstall then please Reinstall framework also after the installation of IIS Thanks !!!!
Happy Programming ----- Abhijit