Re: Change Website from File to Http



Steven,
thanks again for your help. I think your help alone has been worth the
price of my msdn subscription!
That worked very well. What we were missing was "in dialog's left view,
select "Local IIS". we were apparently blind to that left view.
--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:YOxcb9QOHHA.2488@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Gary,

For changing a "file" based ASP.NET 2.0 web project to http/IIS hosted web
project, you do not need to create a new project. What you need to do is
put your web application into IIS(in a certain application virtual
directory) and use VS 2005 to open that web project(through IIS/http
path).
The detailed steps are as below:

1. In your server's IIS, create a new virtual directory and link it to
your
original file web project's main directory(you can also use the "webshare"
tab in file explorer to link your web project folder into IIS). Make sure
the virtual directory is created as "application virtual directory" which
contains an application name.

2. After the virtual directory(link to your file project folder) has been
created, check the ASP.NET specific settings to make sure they suit
ASP.NET
2.0 application. For example, the ASP.NET version number, the application
pool(make sure you use a separate application pool from other ASP.NET 1.x
web application).

3. After the IIS application virtual directory has been configured, you
can
launch VS 2005 and open the web project from IIS as below:

** file --> open website...

** in dialog's left view, select "Local IIS" panel, in the right view,
select the application virtual directory you created above and open it.

Hope this helps.

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.










.



Relevant Pages

  • RE: Change Website from File to Http
    ... In your server's IIS, create a new virtual directory and link it to your ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS Web Site "Template"
    ... IIS(metabase), you can simply use the IIS manager to export the metabase ... settingof a website or a virtual directory, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: 2 servers, 1 website, security issue
    ... When you created the virtual directory 'IntranetShare' and configured it to ... IIS will need to use that account to ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Check if a virtual directory exists in IIS ??
    ... Using System.DirectoryServices to Configure IIS in msdn. ... Is ther a way to check at runtime if a certain virtual directory ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SBS2k3 and activesync over the air
    ... the Exchweb virtual directory. ... ONLY 'Basic authentication' is selected ... please restart your IIS service and test your issue again. ... Regarding ActiveSync issue, support code 0x85010014 means error HTTP 500. ...
    (microsoft.public.windows.server.sbs)