Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a web site?

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
Hi All,
I posted this message in the IIS forum but have no replies. It's such a basic question, but no one has replied yet, and I thought perhaps someone here might shed some light.

I have an ASP.NET web application developed using Visual Studio 2002. My boss wants to be able to view the web site in his laptop which is has Windows XP Pro installed, and is disconnected from the little intrate at my workplace. Thus, I need to setup IIS in his laptop and create a copy the website I created. That's what my problem is. I don't know how to setup the website on the laptop. How do I go about doing that?

In my own computer, which has Windows 2000 in it (and thus IIS 5.0, not 5.1 as is the case in with Windows XP Pro), I'm able to open IIS, right click the "Default Website" node and select New - Site. However, in the laptop, after taking the exact same steps, the only option I get is "Create Virtual Directory". Oh, and you don't know how annoying this is!

...And I'll tell you something else. I did the following:

1 - Copy the folder containing all the files of my web site to the folder in the laptop.

2 - Using IIS in the laptop, I created a Virtual Directory (since I had no choice to create a site) pointing to the folder containing all the files for my site.

3 - In the address bar of Internet Explorer, I typed in and the home page came out, but none of the links in it are active. Worse yet, I was supposed to be redirected to a Logon page (because I'm using Forms authentication), but the logon form never came up.

Help Needed Here
I already have all the files I need for my website. All I need is the piece of the puzzle that I'm missing to make it work from the laptop. Like I said, all the web site files (which are all in one folder) are already in the folder of the laptop. I also have a Virtual Directory in IIS that maps to it. What is it that I need to do so that when I type in the web application could run correctly?

Thanks!

JC

Friends are angels who lift us to our feet when our wings have trouble remembering how to fly...
 
well the only thing you are missing is this

did you installed the .net framework in the laptop?
cuz IIS will not run aspx by its own.

second you did the rigth thing by coping the folder to the the next step is to go to IIS and rigth click the folder and turn it into a n aplication.

if you have these two your set to go.
the site should be visible.
 
Guys,
Thank you both for your replies.

Marty,
I'm looking forward to host the site myself. At the time being, I don't have the server yet but I need to do a little testing and so I'm going to try it out on a Windows XP Professional machine. Thanks again!

julk,
I have the .NET framework installed on the machine, but I cannot get the site to work. This is driving me insane as it should be a very simple thing but I can't get it.

OK, so this is what I'm doing so far:

1 - I have a folder that contains all the files required for my site (this is the folder that Visual Studio created for me).
2 - I pasted this folder into the directory.
3 - I right-clicked on Default Web Site and click on properties.
4 - I pointed the Home Directory to the folder I pasted in step 2, and set the home.aspx to be the default document.
5 - I right-click on Default Web Site again and click on browse, I get the "the page cannot be displayed" page.

Since this was not working, I created a Virtual Directory and mapped it to the my web site folder but no luck with that either.

What am I missing?

Thanks!

JC

Friends are angels who lift us to our feet when our wings have trouble remembering how to fly...
 
Guys,
Please kindly disregard my last email. I was able to fix my problem, and it was so simple I'm too embarassed to say what it was. Alright since you insist, here it is: I had to click the little play button on IIS in order for it to accept requests. OK, so the secret is out but don't go out telling everyone now :).

JC

Friends are angels who lift us to our feet when our wings have trouble remembering how to fly...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top