473,326 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Open a Web Site on Localhost

code green
1,726 Expert 1GB
I have been given the release files from an ASP.NET website.
They are currently on my local machine where I would like to view the web-site.

How do I do this?
All my recent development has been done in PHP so my .NET is rusty.
II can do very little in Visual Studio because there is no Solution or Project files.

I am using Windows XP
I have Apache running as a local server which I do not want to remove.

Thanks
Oct 27 '09 #1
4 2831
Frinavale
9,735 Expert Mod 8TB
The first thing you need to do is install IIS.
ASP.NET applications require the .NET framework in order to run. This means that you can't use Apache, you need to use IIS in order to host this website.

-Frinny
Oct 27 '09 #2
code green
1,726 Expert 1GB
Thanks Frinny,
I somehow knew that was coming.

I will probably run this on another Windows box.
But I think Apache can be made to run .NET with a driver and editing the configuration file, I may investigate this idea a little also
Oct 27 '09 #3
Frinavale
9,735 Expert Mod 8TB
I haven't worked very much with Apache (just used it a few times for some JSP, Java Webservice, and PHP applications years ago). I have never tried to run my .NET websites on an Apache server.

Best of luck!

-Frinny
Oct 27 '09 #4
code green
1,726 Expert 1GB
For information.
I configured the Apache to use port 8080 instead of port 80.
I did this by editing the httpd.conf file "listen" setting.

Then Installed IIS services via Control Panel >> Add/Remove Programs.

I can now run Apache on localhost:8080/ and .NET on localhost/

This is not recommended for live servers because it causes problems with users. There is some port redirection software available.
Oct 28 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: bettina | last post by:
In my old computer everything worked ok! I set the system (windows XP like in the old computer) to my new computer but cannot open the localhost. I have made everything exactly as before. I...
2
by: Roberto Rocco | last post by:
Whenever I try to create a new ASP Web Page I get this message : "Visual Studio cannot create or open the application because the Web server on this computer is not running. Start the Web server...
3
by: alan_coffman2004 | last post by:
Opening an ASP.NET VS2002 project in VS2003, am getting this error: "Unable to open Web project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL...
4
by: Sincere | last post by:
Hello, I need to know when i click on the sign in button on my asp.net application, i want the new page to be opened in a new browser window. thanks in advance
0
by: jsausten | last post by:
I am having this ridiculously frustrating problem, migrating an existing web app to VS.2005. Initially I was able to successfully convert my VS 2002 app, by opening the Localhost site using the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
3
by: fniles | last post by:
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server...
4
by: g4356 | last post by:
Hi, A new baby question: I downloaded a dot net project and saved it to my local disk. When I tried to open this project, a message popped up: "Unable to open web project "test/myfirstweb"/ The...
1
by: Charlie | last post by:
I am trying to make an XMLHttpRequest which violates the default "same- origin"policy in Firefox. I checked the archives and found a method that should work but it does not. Below is the test code...
4
by: Jon Davis | last post by:
Newbie to WCF here. I am getting the error "unable to open its IChannelListener", but the service is running as an admin, and on a different port from anything else. If it matters, I'm trying to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.