473,386 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Server Application Error - I have searched a zillion posts...

I am trying to create my first Web application in VS2005 and am pulling
my hair out!!!!

I cannot seem to get aspx pages to work from a locally installed copy
of IIS.

I am getting a ServerApplication Error and after reading a zillion
posts, I have tried the following:

I am running Win XP Pro SP2 with all current patches installed.
I turned off "friendly messages".
I uninstalled / reinstalled IIS
I deleted the ASPNET account "net user ASPNET /delete"
I re-registered asp.net "aspnet_regiis /i"
I open a browser and enter "http://localhost/iishelp"
The browser changes the address bar to:
"http://localhost/iishelp/iis/misc/default.asp"
so it appears that IIS is getting invoked.

I still get the message....

I have tried the same thing with 127.0.0.1 instead of localhost with
the same results.
I tried turning off my firewall, same result.

When I look in the system log I see no specific messages

The specific text from the error page is:
Server Application Error
The server has encountered an error while loading an application during
the processing of your request.
Please refer to the event log for more detail information. Please
contact the server administrator for
assistance.

I tried creating a WebPage using VS2005 that simply has a single label
"Hello World", and when I run it
from within VS or enter the url "http://localhost/WebSite/default.aspx"
directly into a browser, I get the
same message.

I created a simple html page and displayed it with
"http://localhost/WebSite/htmlpage.htm" and it works
fine.

Any ideas?

Jan 9 '07 #1
2 2174
Well it does say "Please refer to the event log for more detail information.
Please
contact the server administrator for
assistance."

did you do that? did you look into NT event log. What does it say?

George.
"TimR" <ti**********@zmaxsolutions.comwrote in message
news:11**********************@77g2000hsv.googlegro ups.com...
>I am trying to create my first Web application in VS2005 and am pulling
my hair out!!!!

I cannot seem to get aspx pages to work from a locally installed copy
of IIS.

I am getting a ServerApplication Error and after reading a zillion
posts, I have tried the following:

I am running Win XP Pro SP2 with all current patches installed.
I turned off "friendly messages".
I uninstalled / reinstalled IIS
I deleted the ASPNET account "net user ASPNET /delete"
I re-registered asp.net "aspnet_regiis /i"
I open a browser and enter "http://localhost/iishelp"
The browser changes the address bar to:
"http://localhost/iishelp/iis/misc/default.asp"
so it appears that IIS is getting invoked.

I still get the message....

I have tried the same thing with 127.0.0.1 instead of localhost with
the same results.
I tried turning off my firewall, same result.

When I look in the system log I see no specific messages

The specific text from the error page is:
Server Application Error
The server has encountered an error while loading an application during
the processing of your request.
Please refer to the event log for more detail information. Please
contact the server administrator for
assistance.

I tried creating a WebPage using VS2005 that simply has a single label
"Hello World", and when I run it
from within VS or enter the url "http://localhost/WebSite/default.aspx"
directly into a browser, I get the
same message.

I created a simple html page and displayed it with
"http://localhost/WebSite/htmlpage.htm" and it works
fine.

Any ideas?

Jan 9 '07 #2
vs2005 doesnt use IIS by default, it uses its own development server
BTW, not sure if this has anything to do with your problem, but try
running the web app from VS in debug mode (F5).

if you actually need to use iis:
do you know much about IIS?
if you dont, my guess is that you havent set permissions on the folder
that contains the web site.

create a simple html page, put it in a folder, turn that folder into a
virtual directory using iis. right click the folder, click security,
and make sure that IUSR_[computername] IWAM_[computername] and aspnet
user accounts have at least read access for the folder.
then try and access your simple html page. if it runs then its not IIS,
its your setup. try checking the permissions on your web apps folder

TimR wrote:
I am trying to create my first Web application in VS2005 and am pulling
my hair out!!!!

I cannot seem to get aspx pages to work from a locally installed copy
of IIS.

I am getting a ServerApplication Error and after reading a zillion
posts, I have tried the following:

I am running Win XP Pro SP2 with all current patches installed.
I turned off "friendly messages".
I uninstalled / reinstalled IIS
I deleted the ASPNET account "net user ASPNET /delete"
I re-registered asp.net "aspnet_regiis /i"
I open a browser and enter "http://localhost/iishelp"
The browser changes the address bar to:
"http://localhost/iishelp/iis/misc/default.asp"
so it appears that IIS is getting invoked.

I still get the message....

I have tried the same thing with 127.0.0.1 instead of localhost with
the same results.
I tried turning off my firewall, same result.

When I look in the system log I see no specific messages

The specific text from the error page is:
Server Application Error
The server has encountered an error while loading an application during
the processing of your request.
Please refer to the event log for more detail information. Please
contact the server administrator for
assistance.

I tried creating a WebPage using VS2005 that simply has a single label
"Hello World", and when I run it
from within VS or enter the url "http://localhost/WebSite/default.aspx"
directly into a browser, I get the
same message.

I created a simple html page and displayed it with
"http://localhost/WebSite/htmlpage.htm" and it works
fine.

Any ideas?
Jan 10 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Srini | last post by:
I am implementing Front Controller in ASP.net as outlined in Microsoft documentation titled "Implementing Front Controller in ASP.NET Using HTTPHandler"...
5
by: VinnieT | last post by:
I have a load balanced system that consists of 3 production servers. There are about 20 different applications that are used on these boxes. One of my applications in particular is used more than...
0
by: Marcus | last post by:
Hello All, I am trying to create a private MSMQ message queue on a remote application server from an asp.net application using the following code: Dim queue As MessageQueue queue =...
9
by: Andy Sutorius | last post by:
Hi, Do you always have to make a folder an application if you have a web.config in that folder? Thanks, Andy
4
by: ruben | last post by:
Hi: I'm getting this error when accessing a table with certain WHERE condition: "server closed the connection unexpectedly This probably means the server terminated abnormally before or while...
10
by: deathtospam | last post by:
My employer is starting to take the first steps towards migrating its Classic ASP codebase to ASP.NET v2.0. We have a copy of our existing website on the new Windows Server 2003 R2 test server,...
1
by: mfreeman | last post by:
I have a VB.NET 2005 Windows application that worked fine when I ran it a month ago, and now it is throwing an exception ("The remote server returned an error: (500) Internal Server Error.") and I...
1
by: vijay.db | last post by:
Hi Team, Very serious problem with my DB2 V8.1 Fixpack 6 running in AIX 5.1 machine. Every one hour my DB2 instance processes are killed and it's going down. Several trap files are generated in...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.