visual studio - Can't create or open web applications -


i'm using vs 2013 pro , having big problems. opening exsiting web application , creating new web applications throws errors, rendering vs useless.

i try describe problems, details might causing problem , i've tried fix problem.

the problems

1) when try open existing web application, error saying:

creation of virtual directory http://localhost:1234/ failed error: unable access iis metabase. not have sufficient privilege access iis web sites on machine.

2) when try create new web application, error saying:

unspecified error (exception hresult: 0x80004005 (e_fail))

details

during weekend internal department, made change network. "my documents" folder stored on network drive. department changed path of "my documents" folder. visual studio has setting files stored in "my documents" , might not have updated path folder, causing error.

what have tried

nothing has fixed problem. please heeeeelp!!!

solution 1:

control panel -> programs , features -> turn windows features on or off... inside that, had select internet information services -> web management tools -> iis 6 management compatibility -> iis metabse , iis 6 configuration compatibility.

solution 2:

edit web application's project file text editor , change line true false:

<useiis>true</useiis> 

solution 3:

grant iis apppool identity permissions %systemroot%\inetsrv\config

solution 4:

run in command prompt: aspnet_regiis -i or aspnet_regiis.exe -ga


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -