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
- ran visual studio administrator
- repaired visual studio "add/remove programs"
- uninstalled , reinstalled visual studio
- uninstalled resharper
- tried can't create new projects nor items: visual studio 2010 dialog initialization exception
- running c:\windows\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe -ga aspnet (gave error: error has occurred: 0x800706fc trust relationship between primary dom ain , trusted domain failed.)
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
Post a Comment