Solved

Setting up Server 2003 to run my web applications

Posted on 2010-11-11
9
353 Views
Last Modified: 2012-06-27
I've been hired to install an ASP.NET application onto a client’s web server. Usually when I am asked to install my web app onto a client’s web server, the server has been running successfully for a while; serving up pages and doing all of the web server activities it should. In other words the server has been "burned in" a little bit.

Well, in this particular situation, the company has hired "some tech" from "some company" to setup the Server 2003 box that will be running my app and the database that my app uses.  IIS and ASP.NET are installed so that is good but I need some help. I find it strange that the 'inetpub' folder isn't created while all of this other setup has been done.

I am not a Server 2003 expert by any means, I know a little but just enough to mess things up.

=================================
Information about my web application
=================================
Written for using ASP.NET 3.5
Uses MSSQL for database (database seems to be working without problems)
This application will be running in an intranet environment

=================================
Questions about server setup
=================================
- What should I check on to make sure that this server is ready to run my web app?
          Web Service Extension
          Services
          Applications
          Whatever, etc...

- Why doesn't the c:\inetpub folder exist?

- What is the best way to install my web app onto this server?
          I have added sites manually but that usually ends up with me tinkering around
          for a couple of days with settings trying to get my app to run.

- Is there an effective way for me to utilize the web app install wizard?

- Are there other questions that I should be asking?

Thanks for your help.
0
Comment
Question by:tatton777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 34114689
I can tell one thing tatton777.

If you don't see Inetpub, there is a pretty good chance that iis is either not instaled or not installed completely.

In this, stick the server cd into your drive letter, go to Add/Remove Programs, click on add/remove components to left of the Add/Remove screen.

Then check IIS and install it.

Then once installation is complete, check web services extensions to ensure asp.net is enabled and that the correct version, 2.0 or 3.5. I think 4.xx is out; I am not using it yet.

When all this is done, you will be able to see inetpub/wwrooot, etc.

If you are using .net, and it is not express version, then you can build your app to .dll or .exe, your choice and then load it.

If it is .dll, then load it into your wwwroot directory or any drive letter and map it via iis as a virtual directory.

If it is an exe file, then you install it.

Once you have done this, I am sure some additional questions, if any, will arise and you can ask those.

Hope this helps.
0
 
LVL 1

Author Comment

by:tatton777
ID: 34115054
Below is a text version of the installed items. Would it be more helpful if I were to upload images or does this work?

-------------------------------------------
Here are the items that are installed
-------------------------------------------
+ means installed
- means not installed
? Where is it

Internet Information Services (IIS)
     - BITS
     + Common Files
     - FTP
     + Internet Information Services    
     - Internet Printing
     - NNTP Service
     - SMTP Service
     + World Wide Web Services
          - Active Server Pages
          - Internet Data Collector
          - Remote Desktop Web Collection
          - Server Side Includes
          - WebDAV Publishing
          + World Wide Web Service
     ? FrontPage 2002 Extensions (I thought they were installed from here)
         

0
 
LVL 1

Author Comment

by:tatton777
ID: 34115137
OK. The Inetpub folder is there.

Do you see any other items that should be installed from the listing of installed components above?
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 29

Expert Comment

by:sammySeltzer
ID: 34115164
>>? FrontPage 2002 Extensions (I thought they were installed from here)

usually not installed by default.

If you really, really have to have front page extensions, then you would follow the instructions I enumerated above to install it - via add/remove programs.

Otherwise, you are good to go.

And if IIS is installed, then Active Server Pages should be installed as well.

All you would need to do is enable it (allow)

same goes for all the items under iis.
0
 
LVL 1

Author Comment

by:tatton777
ID: 34115215
i've got the website all wrapped up in a folder ready to go. How do I go about using the "New Website Tools" that appear when you right click the "Websites" folder in IIS? Should this be a different thread? Regardless, I will be awarding you the 500 for helping with the questions so far. Just let me know how I should handle the "New Website" thing.

Thanks!
0
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 34115298
Just navigate to wwwroot folder and put your folder that contains all your files.

Now, when you go to iis, expand default websites folder, your folder will appear there.

Right-click it, go to properties, and on Application Name, click on Create to right.

On Execute Permissions, select Scripts only from the dropdown and you are good to go.

Of course this assumes that your folder containing your files are in inetpub/wwwroot folder.

If you put the folder in some other drive letter like C:\  or D:\ then you will need to create a virtual directory for it by right-cliking on the folder name from IIS, select New, Virtual directory and follow on screen instructions to handle the rest.

This means that to serve up your page to the browser, you will go:

http://servername/virtualDirectoryName/

0
 
LVL 1

Author Comment

by:tatton777
ID: 34115334
So, will this work for multiple websites? The next time I need to add a website I just plunk the folder into the wwwroot folder and use the same technique?
0
 
LVL 1

Author Comment

by:tatton777
ID: 34116075
Hello,

I'm getting a "The website decline to show this webpage" error. HTTP 403.

I feel like I just need to reward you your points for answering the question so well. If I get stuck and can't get this taken care of then I will post another thread. You can look for me in a couple of hours if you wish by searching for tatton777.

Thanks for all of your help.

0
 
LVL 29

Accepted Solution

by:
sammySeltzer earned 500 total points
ID: 34116529
>>So, will this work for multiple websites? The next time I need to add a website I just plunk the folder into the wwwroot folder and use the same technique?

Yes, that's correct

>>I feel like I just need to reward you your points for answering the question so well

Not a problem at all. It isn't all about points.

>>
I'm getting a "The website decline to show this webpage" error. HTTP 403

I bet you don't have a page named any of the following:

default,
index
home

do you?

If no, then name one of your pages default. aspx or index.aspx or home.aspx if you are running asp.net

You might be trying to load your app with something like:

http://yourservername/foldername/

So for it to load, you need to either do this:

http://yourservername/foldername/somefile.aspx

or you name of your files as indicated and then this:

http://yourservername/foldername/

will work
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS URL Rewrite/Redirect Rule Help 4 41
IIS on Server 2012 R2 Datacenter 5 119
IIS 8.0 and Kemp Load Master 1 34
debug scriptblock parameters in powershell script 2 48
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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