You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

You may receive the following error message while browsing an asp.net application


"Server Error in '/application name' 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". "



This error might occur due to two scenarios.

1. There is an error in the application's logic with the inputformat, Type etc., and you have set the Custom Error Mode in the web.config to "On" and not specified a default redirect error page.

2. The web.config file is not well formed or having invalid characters and the application is not able to pick up the settings from the same.

Solution

1. Set the custom error mode to "Off" to view the error. After rectifying it and before deployment, change it to "On" and specify a default error page, as follows:-

<customErrors defaultRedirect="ErrorPage.aspx" mode="On">

</customErrors>

such that your users will not be able to see the actual error and get your friendly error page where you can politely say "An error has occured! Sorry for the inconvenience ..." .

2. If the above solution is not working (i.e. even after setting the custom error mode to On, the same "Server Error" occurs, then the likely chance is that your web.config file is not well formed and has invalid characters etc.,

To resolve, it copy paste the contents of the file to a notepad, save it as an xml file and try to browse the xml file in the browser. If the xml file is unable to be rendered by the browser and throws error, then you can find the place where the tags are not well formed or invalid character(s) exist and rectify them.

Things worth noting is Web.config is case sensitive and even trailing / leading spaces can cause the above error.

This article applies to .NET - ASP.NET 1.0, 1.1 Versions.

Print | posted on Monday, April 25, 2005 7:51 AM

Comments on this post

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I have made the changes given above but still the problem precedes.

Is any changes of security to be made.because i am use to asp but first time trying aspx pages on site.
Left by Rupali Asodekar on Sep 24, 2005 8:13 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
this is not helpful
Left by safertr on Nov 28, 2005 11:08 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
copy/pasting into a .xml file worked. thanks for the tip
Left by tim on Nov 30, 2005 11:16 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
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".

Left by Ravi on Jan 02, 2006 1:57 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
What helped me was to copy the web.config file and then rename it as web.xml.
I had been earlier setting the mode attribute to off but this was not working, but as soon as I loaded this web.xml file in my browser, I saw that the default as created by VS 2005 was to comment this out. I had been looking at the line where the mode attribute was and not at the lines below. Loading web.config as an XML file immediately showed the commenting.
Left by ASP Newbie on Feb 08, 2006 3:29 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I see, but it doesn't helpfull.
Left by Yashar on Feb 10, 2006 7:38 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
<div style="visibility:hidden">
<h1>hi</h1></div>
really nice website
Left by jim on Feb 27, 2006 1:04 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I got the same error, and I emailed and asked my host to set the application directory for asp.net and also give full control to asp.net account on my domian folder.. and it worked...

there was nothing wrong in the web.config file and was running perfect locally.
Left by Jibran on Mar 30, 2006 3:41 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Ok it is working (reirect to cutom error page) for me.How can i solve the actual pbm.
Left by Raja on Apr 01, 2006 4:47 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i had the same problem too. but after installed .net framework 2.0, everything starts to work.
Left by timothy t nguyen on Aug 04, 2006 2:41 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Friends at last i ve found out the solution for this error.

This is nothing but u have to Check the enable debugging option in ur Web site's control panel.
Sathya
Left by Sathya Narayanan on Aug 20, 2006 4:43 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Friends at last i ve found out the solution for this error.

This is nothing but u have to Check the enable debugging option in ur Web site's control panel's asp.net option.
Sathya
Left by Sathya Narayanan on Aug 20, 2006 4:46 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
not working 4 m3
Left by Rathi on Aug 29, 2006 8:29 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i set the mode opton in customerror tag to false after i got the following error

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.GlobalAdminApplication'.

Source Error:


Line 1: <%@ Application Language="C#" Inherits="Microsoft.SharePoint.ApplicationPages.GlobalAdminApplication" %>



Source File: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\admin\1033\global.asax Line: 1
can anyone please help??
Left by rasmita on Sep 06, 2006 4:23 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
even i copied the file content and saved it as web.xml file and browsed it.. but stitl the error persists..
Left by rasmita on Sep 06, 2006 4:37 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Left by francesco on Jan 03, 2007 10:37 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I solved this problem. My host had my server switched to .NET 1.1 and had 2.0 and 1.1 Apps in the same APPLICATION POOL
Left by Rhys on Jun 18, 2007 2:22 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
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".


Left by srinivasan on Aug 14, 2007 10:07 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I got the same error(Server Error in '/' Application.). I have chekched out through turning off the mode( <customErrors defaultRedirect="ErrorPage.aspx" mode="Off">). and it shows some errors in the code but the same code is running on the LOCALHOST successfully but NOT ON THE WEB SERVER. Can you please reply me? I will be really appreciate for the same. Is there any server setting for the same?
Left by Dinesh Patankar on Jan 03, 2008 2:49 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Hey i found out the solution. this happens only because if we do not CREATE application in IIS.
Left by Nilesh on Jan 07, 2008 6:46 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I am getting the same error even after making above all changes...
PS:Im wrkng in Remote server.
Left by Praveen on Jan 15, 2008 12:23 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Description: An unhandled exception occured during the execution of current web request.
Exception details : System.invalid operation exception
Left by rohini on Jan 24, 2008 4:15 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
This is usually caused by the fact that either your web site hasnt been set as an IIs application in the IIs properties box, or a subfolder that must be an application, hasnt been designated as such. The other is the basic read permissions for the ASP.NET or Worker process account hasnt been set on the phyiscal folders in your site, starting at your web root folder on the server. Remember, in ASP.NET, your root of your web site must have basic read access for the ASP user identity, and be and set as application in IIs. This can sometimes get screwed up and chnages are made to various folders in your site.

Lastly you may be trying to run ASP.NET 2.0 code on a server setup for 1.0. Thats also common. These are all IIs issues your host must fix, if you are paying for third party hosting and cannot access IIs to change it.

Try removing then adding back your web site application on the web root, and that should fix most issues.
Left by ImageIsland on Jan 28, 2008 7:09 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I keep getting this error whenever I try to login to a customer account on an internet website. The website owner has not had anyone else complain of this problem and I had a friend try accessing their site to see what happens with their browser.

The occurance only happens when I'm trying to use their login or checkout (of merchandise). Once I hit this page, I can use my back button and return to the page I was last viewing, but if I try to navigate to any other page in the website, I will then only get the same error message for each page I try to view.

If I clear my history, cookies, temp internet pages on my computer, I can then view any of the pages, until once again, I try to login to my customer account or try to check out with an item I've placed in the shopping card.

What is causing this to occur and is it something I can change in settings on my computer, or is it something the website owner needs to change in their website configuration?

Thanks for any help you can offer.
Left by Pat Craig on Jan 31, 2008 10:04 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I got the same error(Server Error in '/' Application.). I have chekched out through turning off the mode( <customErrors defaultRedirect="ErrorPage.aspx" mode="Off">). and it shows some errors in the code but the same code is running on the LOCALHOST successfully but NOT ON THE WEB SERVER. Can you please reply me? I will be really appreciate for the same. Please any one help me to rectify this error soon
Left by devi on Jan 31, 2008 7:54 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I also got this error and checked all the things above, but no answere could fix my problem. Only localhost everything worked perfectly but on remote server this error is shown all the time. Can please anybody help me finding a solution for my problem? I really don't know what I could do afterall.
Left by noname on Feb 25, 2008 3:49 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i deleted my web.config file - that worked lol
Left by natty on Mar 01, 2008 6:17 AM

# Trying to upload .aspx webpages on FTP site getting server error in '/' How to install .net framework on Website's Ftp server

Requesting Gravatar...
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>


Left by Pooja on Apr 11, 2008 11:10 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
plz help me
Left by sandeep on May 05, 2008 8:54 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I have same error on remote server and not able to solved it pls help me on this topic
Urgent
Left by sanjay kumar on May 07, 2008 6:05 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
For me the problem was i had ASP.NET version 1.1 instead of 2.0.
In ISS - Website Properties - ASP.NET tab... select version
Left by Sal on May 10, 2008 4:45 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I have the same error, it is possible that there is something wrong with the settings on the host machine, if that is the problem there is nothing you can do unless your host machine is at your place. A solution then is to send a mail to your provider with the comment that something is wrong on the host
Left by Els on May 15, 2008 10:21 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Server Error in '/' Application.

Hi,

I am getting this error when I am trying to access by web site on server but if I use the same code on local host everthing works fine. It is only on web server taht I get error. I think it is due to IIS configuration, but exactly what I am not getting it. Pls help I am new to it.

Thanks in advance
Left by Rashida on Jul 23, 2008 8:36 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
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>

Left by Ashwini on Aug 03, 2008 11:53 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
alrite this error message is really getting on my nerves and everybody that comments to the problem is probably giving good advise with the host or the settings or whatever, but im not very good with computer lingo so if any body could point out very specific step by step directions to rectify this message would be haild as king of comp. in my books

-peace and thanks-
Left by ty on Oct 06, 2008 6:51 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Hi,
i am getting this error when I am trying to access by web site on server but if I use the same code on local host everthing works fine. Please help in solving this problem. thanks in advance
Left by Amrit Kaur on Oct 15, 2008 6:50 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
message is really getting on my nerves and everybody that comments to the problem is probably giving good advise with the host or the settings or whatever, but im not very good with computer lingo so if any body c
Left by mehter on Dec 03, 2008 1:47 AM

# Failed to load the .Net Framework

Requesting Gravatar...
hi ,
i came accross this problem when i was running the application.
wat shud i do?
Left by Jitendra on Dec 18, 2008 4:51 PM

# Failed to load the .Net Framework

Requesting Gravatar...
hi ,
i came accross this problem when i was running the application.
wat shud i do?
VGIPL
Left by Jitendra on Dec 18, 2008 4:51 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I have got same error on remote server and not able to solved it pls help me on this topic
Urgent
Left by Tarun on Jan 19, 2009 4:34 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Hi I have got this error on remote server and not able to solved it pls help me on this topic
Urgent
Left by Tarun on Jan 19, 2009 4:35 PM

# Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i'mnot able to remove this error even by using above sugessions?
kindly guide me........
WHAT MORE CHAGES SHOUD B MADE IN web.config
Left by shweta on Mar 24, 2009 4:34 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I was bitten by this error.
Solution: Make sure you have Machine key tag in your Web.config file in<System.Web> section. This is the cause of the error from my knowledge.

Happy Programming...
Left by sravan on Apr 10, 2009 3:57 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
jaaaa , Cuando consulto una Acción "en la aplicacion' con Filtro Avanzado e intento pasar a otras de las opciones el sistema me envía Server Error in '/ISO9001? Application' y se van congelando la aplicaciones
Left by elba on Apr 16, 2009 8:28 PM

# You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I AM FACING THE SAME PROBLEM.Can somebody help, as I have already tried the changes that had been given in the above posts, but still I am getting the same error.
Left by Khushboo on Apr 23, 2009 2:26 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i m getting this when asscesing two new pages added on the my current website. when i click the link to that pages i mgetting this error only yhse two pages r ginvfing error . other r working fine.

can any body help me.
Left by vyom on Apr 30, 2009 11:49 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Thank you to Rhys and his post on 6/18/2007:
"I solved this problem. My host had my server switched to .NET 1.1 and had 2.0 and 1.1 Apps in the same APPLICATION POOL "

This solved it. For everyone else, you need to have admin access to IIS to solve this one. If you don't, ask your host to fix it.

What you/they need to do is in IIS, create separate 'Application Pools' for each version of .Net. So, one for 1.1, another for 2.0 and another for 3.0 etc.

Then, you/they need to go into the properties in IIS for each website, click the 'ASP.Net' tab and make sure that each site that is in the same Application Pool is set to use the same version of .Net.

That's it.

Left by CJ on May 03, 2009 1:45 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
right click the your web on the IIS.. then go to properties... and on the applicationpool -- select the mssharePointapppool.. and the asp.net version is 2... it really works on me.. thanks... hope yours will run also....
Left by JOey Orating on May 16, 2009 1:32 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Nothing worked for me. Still trying to solve this issue. When i run the application for the first time it worked fine. But after some, when i again try to run the same application, it is giving server error. Can anyone suggest me a solution?
Left by bhagya on Jul 07, 2009 3:09 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
It works when I get rid of the followinf line

<authentication mode="Windows"/>
Left by Ros on Jul 23, 2009 9:38 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
1) Ensure logged in User (Windows ID) are members of mentioned groups - VSDevelopers,DB2ADMNS(If required ),DB2USERS(If required ) ,Debugger Users,VS Developers and Service Account (If required )
2) Grant ASPNET user and Service Account local group ( if required) “full control” permission on registry key using regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog. Note: Ensure EventLog\Security has the settings as specified above.
Left by Prabu Ramalingam on Jul 24, 2009 3:12 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
hi ! Thank you very beatifull answer admin.
Left by muhabbet on Jul 24, 2009 10:08 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
hi friend, this is the 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>


i have changed
<customErrors defaultRedirect="~/EmployeeLogin.aspx" mode="RemoteOnly"/>
Left by thara on Aug 29, 2009 3:41 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
hi friend, this is the 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>


i have changed in the server machine as:
<customErrors defaultRedirect="~/EmployeeLogin.aspx" mode="RemoteOnly"/>
Left by Thara on Aug 29, 2009 4:03 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I saw that the default as created by VS 2005 was to comment this out. I had been looking at the line where the mode attribute was and not at the lines below.
Left by mario oyunları on Sep 21, 2009 10:42 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
The hosting company says that they have moved teh amiling server to a secure server with authenication hence the mail from the website feedback form is not working. If they move the files to old unauthenticated server, they error goes off & mails can be set from online feedback form. KIndly help???
Left by vivo on Sep 25, 2009 5:13 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I am getting this error when I try to access the site from outside the local network. the same site is accessible from within the network and gives this error if tried to access from internet i.e outside the network.
Please help
Left by Developer on Oct 11, 2009 6:15 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
the fix that worked - set the User Instance=false - that is in webconfig script bellow


<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|AmDB.MDF;User Instance=false" providerName="System.Data.SqlClient"/>
<add name="classifiedsConnection" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|ProductsDB.MDF;Integrated Security=True;User Instance=false" providerName="System.Data.SqlClient"/>
</connectionStrings>
Left by james on Nov 12, 2009 3:31 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
what does this mean?... plz plz plz help
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.

plz plz help thanks
Left by christina on Dec 05, 2009 11:08 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Annoyingly, if you happen to type: <customErrors mode="OFF" > it fails to recognise "OFF" as a valid selection. "Off" is, of course, fine! This is true for .net 2 but may have been fixed in later versions.
Left by DaveB on Dec 23, 2009 12:04 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Hey need not to worry...this problem is not a such a big deal just follow the points below:-
1) <customErrors mode="OFF" >

and the next thing to do is

to give access to the web directory..
the steps to giving accesss is
Right click on the directory of your published code
and there in access permissions have to give for that system user(server) ...
simple and run the application it will work surely
Left by Kapil VaichalKar on Dec 30, 2009 7:11 PM

# Great info!

Requesting Gravatar...
Thanks! the xml tip worked great, accidentally had my customError tag in a comment tag and didnt realize it til i saw the color coding from the browser. Thanks again.
Left by tgil on Jan 13, 2010 8:20 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Server Error in '/CTRAC' 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>

were do i start? need help! how can i fix this problem, can someone help step by step

thanks
Left by STEPHANIE on Jan 22, 2010 5:28 AM

# chat

Requesting Gravatar...
You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application
Left by muhabbetim on Feb 13, 2010 1:08 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i did iisreset and it worked
Left by vani on Mar 16, 2010 5:51 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
<authentication mode="windows">

error occured in web.config file
how can i solve this problem
Left by ravi on Apr 21, 2010 10:36 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
hi every one.
i'm also getting the runtime error in my web.config file after i host my published webpapages into my webspace. I've used RSS Toolkit in few pages only those pages are showing this runtime error (custom error) as:

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>

Please solve it for me.. thanks in Advance..
Left by sunil on Apr 24, 2010 12:52 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
OK I have users getting this message when trying to upload data to the the server that is running a web based reporting application
user get this error if they try to upload a large file containing data but if the cut that file in half it seems to flow without encountering this error.
this only happens to a few users accessing this server others have no problem uploading large amounts of data
please advise

Thanks
Left by Orion on Jun 04, 2010 2:23 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
i got the solution....
it is very simple...
dont worry now...
i have got this solution by working 4 days continuosly without eating anything...
Left by Cat on Nov 12, 2010 10:29 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Dear Cat,

please send us the solution as soon as possible, as I’m start hating SP2007
Left by Kamal on Nov 23, 2010 10:18 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Hi,

Thanks for sharing.. I also suffered a lot due to this problem..

http://godwinsblog.cdtech.in/2010/12/missed-lot-of-microsoft-events-because.html
Left by jenitta on Dec 11, 2010 11:34 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Dear Cat pls Send me the solution, i was frustrated for past two days
Left by thamil on Dec 20, 2010 4:46 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Dear cat can you send me the solution.. i will be thankful to you, if you can do this.
thanks.
Left by Lucky on Jan 28, 2011 10:13 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
dear cat,

can you pleaae send me the solution? I badly need it.. Thank you very much!
Left by tutut on Feb 09, 2011 8:34 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
A solution for the problem
http://www.fewlines4biju.com/2011/04/application-error-occurred-on-server.html
Left by Bijay on Apr 14, 2011 10:44 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
Definitely, the solution for the problem above,you must check the type of data entered in the textbox´s and type of data that the variables are given as well as the variables defined in the stored procedure in the data base.
Left by venny on May 25, 2011 8:27 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
copy form design and all code in new aspx page and run
you will not get error
pls try
and reply, actually its running or not
Left by Nivrutti on Jun 01, 2011 1:00 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
http://www.onlysharepoint2010.com/2011/06/parser-error-in-sharepoint-2010.html

The above link might be helpful !!!
Left by Bijay Kumar Sahoo on Jun 13, 2011 5:25 PM

# THIS ADVICE STINKS...

Requesting Gravatar...
ALL I HAD TO DO WAS DELETE MY COOKIES IN INTERNET OPTIONS. CORRECTED THE PROBLEM FOR ME.
Left by KDAWG on Jul 04, 2011 11:54 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
any one can pleaae send me the solution? I badly need it.. Thank you very much!
Left by ar on Nov 01, 2011 3:33 PM

# Here is the ultimate solution

Requesting Gravatar...
Just look at your application logs. That clearly tells what is the error.


Event Source: ASP.NET 2.0.50727.0
Left by Dola Chandra Sekhar on Jan 31, 2012 3:25 AM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
wooooooooooooow thanks that worked
Left by ahmad on May 23, 2012 8:42 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
It could, however, be viewed by browsers running on the local server machine.
Left by banka sınavı soruları on Nov 05, 2012 6:12 PM

# re: You may receive the Error Message "Server Error in '/application name' Application" while browsing an asp.net application

Requesting Gravatar...
I am facing this error sometimes but not always, any explation to that?
Left by Mohammad on Apr 01, 2015 6:46 PM

Your comment:

 (will show your gravatar)