Solved

MS Visual Studio .NET and mapped webserver root directory

Posted on 2004-09-28
4
348 Views
Last Modified: 2013-12-24
Dear all,

I intend to use MS Visual Studio .NET to implement an ASP.NET Web Application. I have created an ASP.NET Web Application project in my local web server’s directory without problems. I can also open a simple ASP.NET file using:

http://localhost/geoconda/WebForm1.aspx

I have tried to copy everything that I develop locally to the web server. (I have just copied the project-folder into the root directory of the webserver. Unfortunately, when I try something like:

www.whereever.com/project-folder/WebForm1.aspx

it doesn’t work.

What might be the error? I guess I cannot just copy the project’s folder like this?

BTW, is it possible to develop an ASP.NET Web Application directly in the web server’s root directory, even though this root directory is only mapped into the (local) file system (I am using WebDrive)?  

Any pointers would be very much appreciated. Many thanks in advance.

Best wishes,

Christian
0
Comment
Question by:csetzkorn
4 Comments
 
LVL 7

Accepted Solution

by:
smolam earned 63 total points
ID: 12201228
Once you have copied the the project to your server, I am assuming you have full control of this server, you will need to open up the Internet Services Manager and then look at the properties for the project-folder that you copied across, then under the Directory tag you just need to click Create, this will give this directory its own application space, the project should then work properly.

If you wanted to work under the root that is also fine.

Another note is that when you copy your project to the testing server you don't need to copy all the files, you only need the aspx files and the bin directory, once you have built of course.  All you're code behind (.vb) files get compiled into a dll which the aspx files refer to!

HTH
0
 
LVL 5

Assisted Solution

by:LlamaJoe
LlamaJoe earned 62 total points
ID: 12283306
like smolam said, make an "application" in IIS on the server for the root directory of your project (where the global.asax and web.config file are).

Also ensure that the .net Framework is installed on the server and that .aspx pages are associated with the aspnet worker process. (run regiis.exe if needed on the server)  and if it is a 2003 server, then you have to allow .net programs to even run (by default Server 2003 only allows html files)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now