473,473 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1639
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.