Need to fool VS2k5 Std Edition into thinking I'm an admin...

Hi. I'm running Windows Vista in Administrator mode and I've disabled UAC. The problem I have is when I choose Web Site link next to open and choose Local IIS, VS2k5 told me I must be a member of the Administrators group on this local computer to access the IIS metabase.

However, I AM the owner of my computer and have installed Windows Vista Beta 2 Build 5384 by myself. If I try to create a new website with [code]http://localhost/[/code] and click OK, I will get an error stating either:

"The data area passed to a system call is too small"

or sometimes I will get an error telling me about the HRESULT or COM object that's something only C/C++ developer can understand; I'm a C# developer.

Any way I can get VWD of Visual Studio 2005 Standard Edition to work? I never used IIS 7.0 before. I already got IIS 7.0 installed with ASP.net.

[884 byte] By [GraysonPeddie] at [2007-12-22]
# 1

Here is a post I found that solves the problem with the Administrative access to the metabase.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=437992&SiteID=1

I have not tested it myself, but I hope it works!

Good luck.

NickAngelo at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2
IIS Metabase and IIS 6 Configuration Compatability seems to be the only one required for VS2k5 as an addition to the default installation of IIS. Thanks.
GraysonPeddie at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 3

To summerize:

Once again here is how to solve the VS2005 issue and IIS7 metabase access problem in Windows Vista Beta 2.

First install IIS7 and make sure you enable (install) the IIS Metabase in the IIS 6 Configuration Compatability section.

Then right-click on the shortcut for VS2005 and click "run as Administrator". VS2005 will run with Administrator permissions. You can also edit the properties of the shortcut and check "run as another user" this way it will always start under the Administrator.

I have tested this and it works great.

Note: If your account is a member of Administrators it doesn't neccessarily mean that programs run with Administrative access! Read more on LUA to find out!

Hope this helps!

Nick

NickAngelo at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...

Software Development for Windows Vista

Site Classified