Solved

Setting up Server 2003 to run my web applications

Posted on 2010-11-11
9
352 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
  • 5
  • 4
9 Comments
 
LVL 28

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 28

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 28

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 28

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 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