all groups > visual studio .net ide > april 2007 >
You're in the

visual studio .net ide

group:

Unable to set web project to use https in VS2005 on Vista



Unable to set web project to use https in VS2005 on Vista Brad
4/30/2007 1:35:11 PM
visual studio .net ide: Using VS2005 sp1 + sp1 for vista. If I attempt to change a Web
Applicaiton Project from IIS using http://my_local_url to
https://my_local_url I receive the message "Unable to read the project
file 'projectname.csproj'. The Web Application Project myprojectname is
configured to use IIS. Unable to access the IIS metabase. You do not have
sufficient privilege to access IIS web sites on your machine.
I am an admin on Vista, I am running VS as admin, and I have uac disabled.

Brad
RE: Unable to set web project to use https in VS2005 on Vista stcheng NO[at]SPAM online.microsoft.com
5/1/2007 3:53:25 AM
Hi Brad,

From your description, you're using VS 2005 on Vista box and want to change
an existing web appliclation projecct to host through https channel in IIS,
however, you find that the VS 2005 can not open the project after you
swtich the IIS application virtual dir to https, correct?

As for this problem, I'd like to confirm the following information first:

1. is the "web application project" you mentioned here the new project type
included after installing VS 2005 sp1? For VS 2005/ASP.NET 2.0, there has
two project model, "Web site application" and "Web application project".
And it seems teh "Web Application Project" is only used for file sytsem
based application that use VS 2005 test webserver rather than IIS, is this
your case?

2. If your application is of the default "web site application" project,
you can first change back the IIS virtual dir back to http to see whether
it works, this can ensure the correctness of the web project.

3. After you configured the IIS virtual directory to use SSL/HTTPS, can you
correctly view pages in it through browser(without using vs 2005 to open
it)? Also, since https/ssl require the site name to match its subject name
in the SSL certificate, I suggest you also try using the subject name
defined i the certificate(matchs your server's DNS or netbios name?) to see
whether it works.

BTW, running VS 2005 as admin is very important on VISTA if UAC is enabled:

#Running Web Applications on Windows Vista with Visual Studio 2005
http://msdn2.microsoft.com/en-US/library/aa964620(vs.80).aspx

Please feel free to let me know if there is anything else I have missed.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.


AddThis Social Bookmark Button