Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Server Error in '/' Application.

Server Error in '/' Application.

Closed Thread
  #1 (permalink)  
Old
Newbie Coder
 
Join Date: Sep 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Question Server Error in '/' Application.

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

Featured Marketplace Scripts (view more)

  #2 (permalink)  
Old
Coding Addict
 
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by suhailkaleem
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.
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
  #3 (permalink)  
Old
Newbie Coder
 
Join Date: Sep 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Hi !
Thanks problem is sloved now

Suhail kaleem
  #4 (permalink)  
Old
New Member
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Regarding the Server Error in '/' Application.

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

Quote:
Originally Posted by suhailkaleem
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
  #5 (permalink)  
Old
Newbie Coder
 
Join Date: Sep 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by neetw
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
  #6 (permalink)  
Old
New Member
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Requires MDAC 2.6 or higher

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.




Quote:
Originally Posted by suhailkaleem
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
  #7 (permalink)  
Old
New Member
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
In addition, make sure the ASP.NET worker process has been given the appropriate perm

>> In addition, make sure the ASP.NET worker process has been given the appropriate permissions

How does one do this? TIA.

-Mike Schinkel
  #8 (permalink)  
Old
New Member
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Hello

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
  #9 (permalink)  
Old
aish's Avatar
Newbie Coder
 
Join Date: Mar 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Server Error in '/' Application.

Hi !

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



Thanks
Aish.
  #10 (permalink)  
Old
New Member
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download files from another server using script! benweston Script Requests 5 01-17-06 09:29 AM
Urgent : CLIENT/SERVER application micromedia Everything Java 2 09-09-03 10:55 AM
subdomain to another server. forcer The Lounge 3 07-30-03 01:45 PM
Web Interface for SQL Server 2000 Greg Database 2 06-16-03 09:00 AM
Offical IRC server? amailer Hot Scripts Forum Questions, Suggestions and Feedback 1 06-12-03 07:22 PM


All times are GMT -5. The time now is 12:10 AM.
vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.