RE: Change Website from File to Http



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: Howto refresh IIS 6 Application pool identity credential info
    ... As soon as a new request to the corresponding web site which the AppPool ... IIS W3SVC service will then start up a new worker ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • Re: Change Website from File to Http
    ... In your server's IIS, create a new virtual directory and link it to ... Microsoft MSDN Online Support Lead ...
    (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: 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: Error with Getting Started Sample from WCF
    ... IIS. ... Host a WCF Service in IIS ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.distributed_apps)