473,322 Members | 1,473 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,322 software developers and data experts.

VS.NET 2003 and IIS

We have two (2) workstations and one (1) server.
All are running Windows 2000 Professional (not "Server").
Have NOT loaded Visual SourceSafe Server yet, but intend to.
Loaded VS.NET and IIS on the server.

(Note: I realize that I didn't have to install VS.NET *on* the server, but I
wanted the ability to test stuff directly there)

Loaded VS.NET on a workstation, but did NOT install IIS.

(Note: The installation procedure led me to believe that I did not need IIS
on the workstation, as long as it was installed on the server.)

I mapped a drive letter from the server to my workstation.

I can open up a project/solution just fine on the server directly.

But when I try to open it up from the workstation, I get the error:

"Visual Studio .NET cannot create or open the application because no Web
server was detected at this URL: 'http://localhost/WebApplication1'. Make
sure the Web server is installed and running."
<ok> <help>

Clicking "help" instructs me to install IIS on the workstation.

I would like to avoid this if at all possible due to very stringent security
rules at my workplace. Please advise. Thank you.

(P.S. If having IIS on the workstation is not "necessary", but *is* "highly
desirable" from a functionality point-of-view, then I will have to request an
extra computer.)
Jul 22 '05 #1
3 1634
Doug,
This is a common scenario - VS.NET on dev PC, code and IIS on a server or
IIS on a server and the code on a network share. I beat my head against the
wall trying to get this working each time I make a change to file locations.
Once you get it working you will probably have code access security issues
(which is a topic for another post). Thankfully, I understand that VS.NET
2005 takes care of these issues with a filesystem based storage methodology
rather than web based.

Anyway, the item I most often overlook is the sharing of wwwroot on the
server. By default, wwwroot is located on C:\inetpup\wwwroot but most people
repoint it to a different location. Make sure that wherever it points, the
share is setup as "wwwroot$" and that your Windows logon ID has rights to the
share. Also, since it is a workstation, make sure your server service is
running in order to be able to connect to the share.

Hope this helps
-Mike
"DougW2004" wrote:
We have two (2) workstations and one (1) server.
All are running Windows 2000 Professional (not "Server").
Have NOT loaded Visual SourceSafe Server yet, but intend to.
Loaded VS.NET and IIS on the server.

(Note: I realize that I didn't have to install VS.NET *on* the server, but I
wanted the ability to test stuff directly there)

Loaded VS.NET on a workstation, but did NOT install IIS.

(Note: The installation procedure led me to believe that I did not need IIS
on the workstation, as long as it was installed on the server.)

I mapped a drive letter from the server to my workstation.

I can open up a project/solution just fine on the server directly.

But when I try to open it up from the workstation, I get the error:

"Visual Studio .NET cannot create or open the application because no Web
server was detected at this URL: 'http://localhost/WebApplication1'. Make
sure the Web server is installed and running."
<ok> <help>

Clicking "help" instructs me to install IIS on the workstation.

I would like to avoid this if at all possible due to very stringent security
rules at my workplace. Please advise. Thank you.

(P.S. If having IIS on the workstation is not "necessary", but *is* "highly
desirable" from a functionality point-of-view, then I will have to request an
extra computer.)

Jul 22 '05 #2
Thanks, Mike.

Two questions:

1) Do I *need* IIS installed on the Dev PC or is it just really nice to have?
2) I did the "wwwroot$" share thing, and still no luck. I have rights to
the share 'cause my login has admin rights. I can browse to a simple HTML
file from the Dev PC, but I can't create a new project or open the existing
one.

Any ideas on what else to try to troubleshoot?
Jul 22 '05 #3
No, you don't need IIS installed on the dev machine at all. The problem now
is probably the url you are using to open the project.

When you browse to the server location of the .sln or .proj file and double
click on it, the box pops up with the error. In the textbox where it says
"http://localhost/WebApplication1", change "localhost" to whatever your
server name is. Keep in mind that the actual WebApplication1 project files
need to reside in a root level folder of wherever wwwroot$ is on your server.

"DougW2004" wrote:
Thanks, Mike.

Two questions:

1) Do I *need* IIS installed on the Dev PC or is it just really nice to have?
2) I did the "wwwroot$" share thing, and still no luck. I have rights to
the share 'cause my login has admin rights. I can browse to a simple HTML
file from the Dev PC, but I can't create a new project or open the existing
one.

Any ideas on what else to try to troubleshoot?

Jul 22 '05 #4

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

Similar topics

1
by: David Lee | last post by:
Need some help bad here. Am using VB.Net Standard 2003 supplied for a class and I need to install Msde and the sample databases to work on homework. Following the documentation I can download...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
6
by: David Waz... | last post by:
Moved an app from W/2000 Asp V1.0 to W/2003, VS/2003, ASPV 1.1 Page runs a long job, uploading 2 large fixed length files (300,000 rows) into SQL database. A process is run against the data,...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable 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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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.