Visual Studio 2013 > New project > unspecified err

2019-01-14 00:41发布

Can anybody shed any light on the above error? I've tried with both Express and Ultimate editions of VS 2013.

I'm running 64-bit Windows 7.

Solutions to similar problems I've found tend to be targetting x86 rather than AnyCPU from the Solution explorer. However, I can't even build the solution to explore it.

The new project I'm trying to build is c# ASP.net MVC.

25条回答
爷、活的狠高调
2楼-- · 2019-01-14 01:41

I thought I should reply this as well, since I haven't seen my particular solution posted by anyone else... I had this same error when creating a project, and additionally I also was unable to open web projects (I got an error declaring that "Creation of the virtual directory localhost:xxxxx failed with the error: Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine").

As it turned out, I was logged in using my Active Directory account, and the password had expired, and I had changed it on a different machine. However, for some reason, this machine (the one with Visual Studio on it) was continuing to allow me to log in with my old password even though it had expired (Windows 7/x64).

By logging in to my company's VPN, then locking my computer, and then logging in with my new password, I was able to get it to sync the machine to the new password, and this solved both of my issues. My best guess is that when accessing files, Visual Studio performs some permissions checks which Windows Explorer doesn't, and isn't very informative when something goes wrong.

查看更多
登录 后发表回答