473,941 Members | 32,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change Website from File to Http

We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new project
and importing everthing, it there a way to convert it? the properties show
file:///C:/Inetpub/wwwroot /etc. but it can't be changed to HTTP. It's got
to be somewhere in some configuration file.

--
Regards,
Gary Blakely
Jan 15 '07 #1
11 2217
Why would you want to change it to HTTP?
What is the Server 2003, a QA Server or Production Server?

You could simply create an empty http project with the same name and copy
the files into it. I don't really see the point, if you are simply
publishing the website for QA or Production just use the Publish Website
menu. If you have several developers working on the same code, you will
probably want to leave it as a file project.

Regards,
Brian K. Williams


"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:eD******** ******@TK2MSFTN GP03.phx.gbl...
We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new project
and importing everthing, it there a way to convert it? the properties
show file:///C:/Inetpub/wwwroot /etc. but it can't be changed to HTTP.
It's got to be somewhere in some configuration file.

--
Regards,
Gary Blakely


Jan 16 '07 #2
websites don't have project files. just adda vdir pointing to the file
dir, drop the site from the solution, then add the site from iis.
-- bruce (sqlwork.com)

GaryDean wrote:
We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new project
and importing everthing, it there a way to convert it? the properties show
file:///C:/Inetpub/wwwroot /etc. but it can't be changed to HTTP. It's got
to be somewhere in some configuration file.
Jan 16 '07 #3
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 "applicatio n 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/subscripti...ult.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/subscripti...t/default.aspx.

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

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


Jan 16 '07 #4
Your posting a reply and not answering the question. Why would you want to
do that?

--
Regards,
Gary Blakely
"Brian Williams" <wi*******@adel phia.netwrote in message
news:uD******** ******@TK2MSFTN GP04.phx.gbl...
Why would you want to change it to HTTP?
What is the Server 2003, a QA Server or Production Server?

You could simply create an empty http project with the same name and copy
the files into it. I don't really see the point, if you are simply
publishing the website for QA or Production just use the Publish Website
menu. If you have several developers working on the same code, you will
probably want to leave it as a file project.

Regards,
Brian K. Williams


"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:eD******** ******@TK2MSFTN GP03.phx.gbl...
>We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new project
and importing everthing, it there a way to convert it? the properties
show file:///C:/Inetpub/wwwroot /etc. but it can't be changed to HTTP.
It's got to be somewhere in some configuration file.

--
Regards,
Gary Blakely



Jan 16 '07 #5
Thanks for the reply but...
"drop the site from the solution" uh, what do you mean?

--
Regards,
Gary Blakely
"bruce barker" <no****@nospam. comwrote in message
news:uH******** *****@TK2MSFTNG P04.phx.gbl...
websites don't have project files. just adda vdir pointing to the file
dir, drop the site from the solution, then add the site from iis.
-- bruce (sqlwork.com)

GaryDean wrote:
>We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new project
and importing everthing, it there a way to convert it? the properties
show file:///C:/Inetpub/wwwroot /etc. but it can't be changed to HTTP.
It's got to be somewhere in some configuration file.

Jan 16 '07 #6
Gary,

Are you the Newsgroup monitor?
I did post an answer to the question just after my question. I am genuinely
curious of the reason. I an quite aware that I don't know everything and
find reading and answering questions to be a great way to learn.

Regards,
Brian K. Williams

"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:u0******** ******@TK2MSFTN GP03.phx.gbl...
Your posting a reply and not answering the question. Why would you want
to do that?

--
Regards,
Gary Blakely
"Brian Williams" <wi*******@adel phia.netwrote in message
news:uD******** ******@TK2MSFTN GP04.phx.gbl...
>Why would you want to change it to HTTP?
What is the Server 2003, a QA Server or Production Server?

You could simply create an empty http project with the same name and copy
the files into it. I don't really see the point, if you are simply
publishing the website for QA or Production just use the Publish Website
menu. If you have several developers working on the same code, you will
probably want to leave it as a file project.

Regards,
Brian K. Williams


"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:eD******* *******@TK2MSFT NGP03.phx.gbl.. .
>>We created a "File" website on XP and transferred it over to server2003.
Now we want to change it to an HTTP site. Without creating a new
project and importing everthing, it there a way to convert it? the
properties show file:///C:/Inetpub/wwwroot /etc. but it can't be changed
to HTTP. It's got to be somewhere in some configuration file.

--
Regards,
Gary Blakely




Jan 16 '07 #7
Hello Gary,

I think Bruce means the "Solution" which contains your ASP.NET 2.0 Web site
project. For ASP.NET 2.0 website project, VS2005 by default hide the
"Solution" node in solution explorer(for ASP.NET web application). You can
show the solution node as below:

1. choose tools--->options menue

2. In the options dialog, select "projects and solutions" node in left
view, and check the "always show solution" option in the right panel.

For change an existing file based web project to http/IIS hosted one, you
can refer to my previous reply, I pasted the steps here also:

=============== ======
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 "applicatio n 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.
=============== ========

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 16 '07 #8
my attempt to answer your "why would you want to do that" with "why would
you want to do that" was my attempt to discourage people on forums from
answering questions with "why would you want to do that". It weakens the
effectiveness of the forum: people see an answer posted so they may tend not
to look at "an answered question" that really isn't answered. BTW, see the
thread from Steven Cheng for the correct answer.

--
Regards,
Gary Blakely
"Brian Williams" <wi*******@adel phia.netwrote in message
news:uZ******** ******@TK2MSFTN GP06.phx.gbl...
Gary,

Are you the Newsgroup monitor?
I did post an answer to the question just after my question. I am
genuinely curious of the reason. I an quite aware that I don't know
everything and find reading and answering questions to be a great way to
learn.

Regards,
Brian K. Williams

"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:u0******** ******@TK2MSFTN GP03.phx.gbl...
>Your posting a reply and not answering the question. Why would you want
to do that?

--
Regards,
Gary Blakely
"Brian Williams" <wi*******@adel phia.netwrote in message
news:uD******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Why would you want to change it to HTTP?
What is the Server 2003, a QA Server or Production Server?

You could simply create an empty http project with the same name and
copy the files into it. I don't really see the point, if you are simply
publishing the website for QA or Production just use the Publish Website
menu. If you have several developers working on the same code, you will
probably want to leave it as a file project.

Regards,
Brian K. Williams


"GaryDean" <Ga******@newsg roups.nospamwro te in message
news:eD****** ********@TK2MSF TNGP03.phx.gbl. ..
We created a "File" website on XP and transferred it over to
server2003 . Now we want to change it to an HTTP site. Without creating
a new project and importing everthing, it there a way to convert it?
the properties show file:///C:/Inetpub/wwwroot /etc. but it can't be
changed to HTTP. It's got to be somewhere in some configuration file.

--
Regards,
Gary Blakely




Jan 16 '07 #9
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]" <st*****@online .microsoft.comw rote in message
news:YO******** ******@TK2MSFTN GHUB02.phx.gbl. ..
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 "applicatio n 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/subscripti...ult.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/subscripti...t/default.aspx.

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

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




Jan 16 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1567
by: Gervin | last post by:
That was the first question. BTW, I am using Windows 2000 Server. Second questions is how do I transfer session variables from one virtual website to another website. Currently I have session variables set in say www.first.com and then I click a link and goto www.second.com. How can I transfer session variables from www.first.com to www.second.com? Both sites are virtual websites and running on the same physical server running Windows...
3
1201
by: Kylin | last post by:
I use the *.Aspx files to show the News ? But In big website , the news are often showed by htm ? how to change it ? -- FireCrow Studio Kylin Garden EMail:gaotianpu@gmail.com
5
15183
by: ad | last post by:
The Global.asax is code-inside with default. How to change Global.asax to code-behind?
4
6324
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> Anderas
13
4985
by: sonald | last post by:
Hi, Can anybody tell me how to change the text delimiter in FastCSV Parser ? By default the text delimiter is double quotes(") I want to change it to anything else... say a pipe (|).. can anyone please tell me how do i go about it?
2
2774
by: Andrew Wan | last post by:
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One hosts IIS6 website, and the other hosts our DCOM service program. Our website is ASP/XSL. An ASP page uses Msxml2.DOMDocument.4.0 to transform a XML top node via XSL stylesheet outputting to HTML. We have set up the website on-site successfully with no problems. However, when we upgraded our client some how IIS6 still references a really old XSL file. No matter how...
1
5759
by: yashgt | last post by:
Hi, We have an application that has been deployed into a virtual folder along with ascx, aspx and the code-behind files. It runs smoothly as long as we don't change any code-behind file. If we change a file, we expect ASP .NET to recompile the website when a user next accesses it. However, on next access the user gets the following error: Description: An error occurred during the compilation of a resource required to service this...
3
3200
by: Chris Mellon | last post by:
This appears to be a change in behavior from Python 2.4 to Python 2.5, which I can't find documented anywhere. It may be windows only, or related to Windows behavior. In 2.4, the current directory (os.curdir) was on sys.path. In 2.5, it appears to be the base directory of the running script. For example, if you execute the file testme.py in your current working directory, '' is on sys.path. If you execute c:\Python25\Scripts\testme.py,...
8
5225
by: Mateusz Viste | last post by:
Hi, I'm not sure if my question is really related to JavaScript, so please excuse me if that's not the case (and maybe you guys would have an idea what's the cause is and where could I ask)... I recently put the following script online: <script type="text/javascript"><!-- function playmedia(mediafile) { newwindow=window.open(); if (window.focus) {newwindow.focus()} newwindow.document.write('<html>');
0
9964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11113
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11296
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10659
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9858
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6298
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4450
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.