PDA

View Full Version : Server Error in '/' Application.


suhailkaleem
09-20-03, 03:15 PM
hi !
no matter wat i do i get this error the .net scripts run fine on my local server but on remote server they give this error



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>





i have created web.config file but the server dont seem to detect it , can any one tell me how will i know server is detecting the web.config file ???

Thanks
Suhail kaleem

Shane
09-20-03, 09:51 PM
hi !
no matter wat i do i get this error the .net scripts run fine on my local server but on remote server they give this error



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>





i have created web.config file but the server dont seem to detect it , can any one tell me how will i know server is detecting the web.config file ???

Thanks
Suhail kaleem

Make sure your directory is setup as an IIS application. In addition, make sure the ASP.NET worker process has been given the appropriate permissions.

suhailkaleem
09-20-03, 10:10 PM
Hi !
Thanks problem is sloved now

Suhail kaleem

neetw
10-24-03, 08:42 PM
Hi,
I have been getting the same server error and i havent been able to figure out how to solve the problem. Since you managed to solve it, would you be able to help me out regarding the same?

Thankyou,
Neet

hi !
no matter wat i do i get this error the .net scripts run fine on my local server but on remote server they give this error



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>





i have created web.config file but the server dont seem to detect it , can any one tell me how will i know server is detecting the web.config file ???

Thanks
Suhail kaleem

suhailkaleem
10-25-03, 02:47 AM
Hi,
I have been getting the same server error and i havent been able to figure out how to solve the problem. Since you managed to solve it, would you be able to help me out regarding the same?

Thankyou,
Neet

Hi !

Email your host and ask them to set the application directory for asp.net and also give full control to asp.net account on your domian folder


Thanks
Suhail kaleem
mailyoulike.com

dzornow
12-18-03, 05:54 PM
I just discovered another problem -- which might affect older boxes.

asp.net requires mdac 2.6 or higher. If you don't have this it will generate an error. YOu can upgrade your server with microsoft data access components at microsoft.com/data.




hi !
no matter wat i do i get this error the .net scripts run fine on my local server but on remote server they give this error



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>





i have created web.config file but the server dont seem to detect it , can any one tell me how will i know server is detecting the web.config file ???

Thanks
Suhail kaleem

MikeSchinkel
01-03-04, 06:11 PM
>> In addition, make sure the ASP.NET worker process has been given the appropriate permissions

How does one do this? TIA.

-Mike Schinkel

Damith
08-12-04, 05:27 AM
Tell me the Directory Structure of you Application. Your bin Folder should be under / folder..for example.. if your have a folder under / and if you just copied all the contents of your web application to that folder you wont get your web pages display.Insted you get this kinda error..

Damith

aish
03-30-05, 01:39 AM
Hi !

I have been getting the same problem.if you managed to solve it, would you be able to help me?



Thanks
Aish.

Isz
03-07-06, 11:22 AM
I'm having the same error and don't know what to do. it was running fine in my local computer but not at the remote site. could some one help me please?
thanks
Isz

digioz
03-10-06, 10:45 AM
What our friend above was trying to tell you is this:

http://www.digioz.com/other_sites/programmingtalk_com/IIS_Manager_Folder_Permission.gif

1- Open Internet Information Services (IIS) Manager.
2- Right-Click on the folder that contains your script.
3- Choose Properties from the menu that shows up.
4- On the Directories Tab, click on the drop-down in front of Execute Permissions.
5- Select Scripts and Executables and hit OK.
6- Restart IIS for the changes to take effect.

shibu
07-21-06, 03:24 AM
I have contacted hosting provider and asked to set the application directory for asp.net and also give full control to asp.net account on domian folder.

They replied me to specify the application directory.

I have uploaded all the files to the root folder(Domain folder) then which one could be application directory..

Thanking you in advance
Shibu Joseph

digioz
07-22-06, 03:14 AM
I'm having the same error and don't know what to do. it was running fine in my local computer but not at the remote site. could some one help me please?
thanks
Isz

This usually happens when the folder that you are trying to run your ASP.NET application from is not set to Execute Application (no permission). You have to change the folder on your remote server to be set as an application folder (with execute permission).

Rosie
08-21-07, 10:16 PM
I am having the same problem on my MAC what do I do??

PEBBLESS
08-22-07, 01:46 PM
I'm Having Trouble To Fix This Runtime Error... I Have A Mac. Laptop And I Can Find The Same Step To Get Everything Done The Same Way You Tell Us To Do...
Is There Another Type Of Step From A Mac. Laptop To Fix This Runtime Error??

UnrealEd
08-22-07, 02:16 PM
This topic is more than a year old. Please open a new topic if you still have the same problem

</closing thread>