views:

162

answers:

1

I've been bashing my head against this one for a few days, and haven't had any luck with it. I'm unable to get my VS2010 ASP.NET project to deploy to IIS. I receive the error

"Unable to create the virtual directory. To access local IIS Web sites, you must install the following IIS Components

IIS 6 Metabase and IIS 6 Configuration Compatibility ASP.NET

In addition, you must run Visual Studio in the context of an Administrator Account"

I've most certainly installed the metabase option, but it still shows up. I'm also not sure why it's telling me to install ASP.NET.

Google is being entirely unhelpful, I was wondering if anyone here has any suggestions. I'm running Vista Ultimate 64Bit

A: 

You've started VS2010 with 'run as Administrator', otherwise you might not have enough rights to do such a thing. Also, the virtual dir doesn't already exist within the default IIS website?

Jan_V
@Jan_V - Visual studio has the option or creating he virtual directory *for you*, this is the part that's failing, it needs the IIS6 API installed to be able to.
Nick Craver
I know, but if you don't have admin priviliges, you won't be able to do it. At least I wasn't able to do it a couple of times because of this reason.
Jan_V