473,785 Members | 3,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ServerApplicati on 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_reg iis /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 2192
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**********@z maxsolutions.co mwrote in message
news:11******** **************@ 77g2000hsv.goog legroups.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 ServerApplicati on 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_reg iis /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 ServerApplicati on 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_reg iis /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
2074
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" (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp Everything works well except for context.server.transfer(string url) method (refer to RedirectingCommand.cs class in the above documentation) Here are the error details Server...
5
4662
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 the others. Since updating 2 applications, I have had problems on the event log of the servers, following stopping of the aspnet_ws.exe process. Something is causing the following error in the windows application event log: The description for...
0
2134
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 = MessageQueue.Create("FormatName:DIRECT=OS:AppServer\private$\" & Me.TextBox1.Text)
9
1319
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
1733
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 processing the request. The connection to the server was lost. Attempting reset: Failed." I've read through the posts but found no answer to the problem.
10
2164
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, and everything is running fine. However, when I create a simple "HelloWorld.aspx" file, then browse to the page from VS.NET 2005 on the same machine, I get the following error message: ================================================ Server...
1
4718
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 don't know why. The application screen scrapes a web page. If I paste the URL in my browser's address bar and the expected page comes up just fine. When I went through the hassle of getting the real response from within the exception object,...
1
6490
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 the db2 diag log directory. Following the detailed entry in the db2diag.log: 2007-02-28-05.00.10.650672 Instance:****** Node:000 PID:2109578(db2agent (dbname) 0) TID:1 Appid:GA6DA619.C438.002D98045717
2
8108
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: http://kbalertz.com/954822/install-configure-Indexing-Service-Windows-Server-computer.aspx http://kbalertz.com/820105/Application-Query-Indexing-Service-Catalog-Using-Visual-Basic.aspx I can search some files .xls .doc and others but It will not find anything in .pdf
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10148
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3646
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.