Solved

Setting up Server 2003 to run my web applications

Posted on 2010-11-11
9
350 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
Comment Utility
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
Comment Utility
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
Comment Utility
OK. The Inetpub folder is there.

Do you see any other items that should be installed from the listing of installed components above?
0
 
LVL 28

Expert Comment

by:sammySeltzer
Comment Utility
>>? 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:tatton777
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
>>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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

18 Experts available now in Live!

Get 1:1 Help Now