473,387 Members | 1,512 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,387 software developers and data experts.

Help: Runtime Error - Server Error in '/' Application

Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's server.
The server is a new box running Windows Server 2003 default installation.
I'm the first client to try using ASP.NET on this box and the administrator
of the server has never setup an ASP.NET site before, so most likely the
problem I'm experiencing is server settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is present,
but is having no affect on the error message the server is producing. What
server settings should I suggest the administrator change?

Thanks in advance, Kevin.

Here is the Web.config file:

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Here is the 'test.aspx' page I'm trying to view:

<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
%>
<html>
<head>
<title>Test ASPNET</title>
</head>
<body>
Test ASPNET
</body>
</html>

This is the error I'm getting:

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Nov 18 '05 #1
12 26757
In default Windows 2003 instalation iis is not installed. The administrator must install it and allow to parse *.aspx files. (I have seen a howto somewere in msdn, but i don't remember exactly where. Look for "Internet information services")
Nov 18 '05 #2
I believe that IIS is installed. The server correctly handles .htm, .html,
..asp pages correctly. The above problem is specific to .aspx pages only.

Thanks in advance, Kevin.

"menkaur" <me*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
In default Windows 2003 instalation iis is not installed. The

administrator must install it and allow to parse *.aspx files. (I have seen
a howto somewere in msdn, but i don't remember exactly where. Look for
"Internet information services")
Nov 18 '05 #3
if so, do:
Administrative tools->iis manager->local computer(or this server?)-> ASP.Net: Allow.
If it does not work, allow everithing (but it will damage server sequrity)
Nov 18 '05 #4
I am having the same problem, and cannot figure out what has gone
wrong with my server.

I'm about ready to pull my hair out with this problem! Any help would
be appreciated.

~n

"Kevin Farless" <(blockspam)kf******@texas.net> wrote in message news:<Oe**************@TK2MSFTNGP12.phx.gbl>...
I believe that IIS is installed. The server correctly handles .htm, .html,
.asp pages correctly. The above problem is specific to .aspx pages only.

Thanks in advance, Kevin.

"menkaur" <me*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
In default Windows 2003 instalation iis is not installed. The

administrator must install it and allow to parse *.aspx files. (I have seen
a howto somewere in msdn, but i don't remember exactly where. Look for
"Internet information services")

Nov 18 '05 #5
if the last one did not help, go to
iis Manager->WebSites
Then select directory where your application is in. Rigth click ->Properties ->Directory ->Create (Application). In my case it helped
Nov 18 '05 #6
If you use FTP to upload files, be sure to upload "bin" folder and its
files.

--
Saber S.
http://maghalat.com (Persian)
^^^^^^^^^^^^^^^^^^^^^^^^
"Kevin Farless" <(blockspam)kf******@texas.net> wrote in message
news:eL**************@TK2MSFTNGP09.phx.gbl...
Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's server.
The server is a new box running Windows Server 2003 default installation.
I'm the first client to try using ASP.NET on this box and the
administrator
of the server has never setup an ASP.NET site before, so most likely the
problem I'm experiencing is server settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is
present,
but is having no affect on the error message the server is producing.
What
server settings should I suggest the administrator change?

Thanks in advance, Kevin.

Here is the Web.config file:

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Here is the 'test.aspx' page I'm trying to view:

<%@ Page Language="VB" ContentType="text/html"
ResponseEncoding="iso-8859-1"
%>
<html>
<head>
<title>Test ASPNET</title>
</head>
<body>
Test ASPNET
</body>
</html>

This is the error I'm getting:

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current
custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could,
however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be
viewable
on remote machines, please create a <customErrors> tag within a
"web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the
application's
<customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Nov 18 '05 #7
If you use FTP to upload files, be sure to upload "bin" folder and its
files.

--
Saber S.
http://maghalat.com (Persian)
^^^^^^^^^^^^^^^^^^^^^^^^
"Kevin Farless" <(blockspam)kf******@texas.net> wrote in message
news:eL**************@TK2MSFTNGP09.phx.gbl...
Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's server.
The server is a new box running Windows Server 2003 default installation.
I'm the first client to try using ASP.NET on this box and the
administrator
of the server has never setup an ASP.NET site before, so most likely the
problem I'm experiencing is server settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is
present,
but is having no affect on the error message the server is producing.
What
server settings should I suggest the administrator change?

Thanks in advance, Kevin.

Here is the Web.config file:

...
Nov 18 '05 #8
I was having the same problem, here's how I fixed it.

You need to make sure the virtual directories in iis are created as
Applications. (properties/homepage/create)

If not you'll keep getting that error and the web.config file with the
mode=Off setting won't be read because the applications doesn't exist.

-todd

nb******@yahoo.com (nborders) wrote in message news:<92**************************@posting.google. com>...
I am having the same problem, and cannot figure out what has gone
wrong with my server.

I'm about ready to pull my hair out with this problem! Any help would
be appreciated.

~n

"Kevin Farless" <(blockspam)kf******@texas.net> wrote in message news:<Oe**************@TK2MSFTNGP12.phx.gbl>...
I believe that IIS is installed. The server correctly handles .htm, .html,
.asp pages correctly. The above problem is specific to .aspx pages only.

Thanks in advance, Kevin.

"menkaur" <me*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
In default Windows 2003 instalation iis is not installed. The

administrator must install it and allow to parse *.aspx files. (I have seen
a howto somewere in msdn, but i don't remember exactly where. Look for
"Internet information services")

Nov 18 '05 #9

Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's server.
The server is a new box running Windows Server 2003 default installation.
I'm the first client to try using ASP.NET on this box and the administrator
of the server has never setup an ASP.NET site before, so most likely the
problem I'm experiencing is server settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is present,
but is having no affect on the error message the server is producing. What
server settings should I suggest the administrator change?

Thanks in advance, Kevin.

Here is the Web.config file:

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Here is the 'test.aspx' page I'm trying to view:

<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
%>
<html>
<head>
<title>Test ASPNET</title>
</head>
<body>
Test ASPNET
</body>
</html>

This is the error I'm getting:

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


User submitted from AEWNET (http://www.aewnet.com/)
Nov 19 '05 #10

Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's server.
The server is a new box running Windows Server 2003 default installation.
I'm the first client to try using ASP.NET on this box and the administrator
of the server has never setup an ASP.NET site before, so most likely the
problem I'm experiencing is server settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is present,
but is having no affect on the error message the server is producing. What
server settings should I suggest the administrator change?

Thanks in advance, Kevin.

Here is the Web.config file:

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Here is the 'test.aspx' page I'm trying to view:

<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
%>
<html>
<head>
<title>Test ASPNET</title>
</head>
<body>
Test ASPNET
</body>
</html>

This is the error I'm getting:

Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>


User submitted from AEWNET (http://www.aewnet.com/)
Nov 19 '05 #11
Without more detailed error information, there's not much that we can do
to help. From the little bit you've provided, though, my guess is that you
have a type in your XML file so the application fails to even load. You should
term serv into the server and see the actual error. There might even be an
entry in the event log describing what happened.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Hi all,

I'm having trouble viewing any .aspx pages on my hosting company's
server. The server is a new box running Windows Server 2003 default
installation. I'm the first client to try using ASP.NET on this box
and the administrator of the server has never setup an ASP.NET site
before, so most likely the problem I'm experiencing is server
settings related.

Note in the Web.config below that the <customErrors mode="Off"/> is
present, but is having no affect on the error message the server is
producing. What server settings should I suggest the administrator
change?

Thanks in advance, Kevin.

Here is the Web.config file:

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Here is the 'test.aspx' page I'm trying to view:

<%@ Page Language="VB" ContentType="text/html"
ResponseEncoding="iso-8859-1"
%>
<html>
<head>
<title>Test ASPNET</title>
</head>
<body>
Test ASPNET
</body>
</html>
This is the error I'm getting:

Server Error in '/' Application.
---------------------------------------------------------------------
------- ----

Runtime Error
Description: An application error occurred on the server. The current
custom
error settings for this application prevent the details of the
application
error from being viewed remotely (for security reasons). It could,
however,
be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrors> tag
within a "web.config" configuration file located in the root
directory of the current web application. This <customErrors> tag
should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrors> configuration tag to point to a custom
error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

User submitted from AEWNET (http://www.aewnet.com/)


Nov 19 '05 #12
From the server machine run

http://localhost/YourTestPage.aspx - it will display error in more details

and please post the error messages back in order we can work together.

good lucks,
dinh
"unknown" wrote:

Nov 19 '05 #13

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

Similar topics

1
by: Hemant | last post by:
Why i am getting this error. Server Error in '/' Application Runtime error Please help me out. Thank you
3
by: christianprogrammermilwaukee | last post by:
BASIC Settings PLEASE !! This New Company I'm with Sets their Default WebSite to a local Directory on "D" Yea I've been down the whole route reinstalling XP Pro,,, IIS 5.1 The .NET framework...
4
by: Martin Franklin | last post by:
I am trying to get a total record count on a Acess 97 mdb database. However I get the following error when I try to load the page: Provider error '80040154' Class not registered...
1
by: Ketul Patel | last post by:
can someone please help me understand what might be the possible cause for following error Server Error in '/OnlineServices' Application....
1
by: kristian | last post by:
I'm using the following entry in my web.config: web.config <customErrors mode="On" defaultRedirect="~/CMS/Default.aspx"> <error statusCode="404" redirect="~/CMS/Default.aspx"/> </customErrors> ...
4
by: kaosyeti | last post by:
hey... i know NOTHING about sql server, .net framework or probably anything else on sql monster. i am a novice access user, self-taught for about 9 months now and have only a basic understanding...
0
by: Julia999 | last post by:
I run my web page from .net, is good, in localhost -http://localhost:3457/IFWebSerivce/TestIProvision.aspx but set the virtual dir in IIS and want to run from browser/server, ...
0
by: shinevpaul | last post by:
Hi All, I have completed the ADFS configuration based on Microsoft's ADFS Step-by-Step Guide while calling the website from client one exception is showing. Exception as follows Server Error...
1
by: lily86 | last post by:
I create one aspx page but when i wan run through server it can't run and show the error.... Server Error in '/' Application....
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
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...

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.