Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 26th, 2006, 01:14 AM
Authorized User
 
Join Date: Mar 2006
Location: pune, Maharashtra, India.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server Error in '/schedule' Application. Urgent!!!

hi all,

I have developed an asp.net application which is installed on win 2003 server. On every client machine and even on server the application is running fine. But one of client in uk is getting an following error for only one page after clicking update button

Server Error in '/schedule' 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".




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




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

------------------------------------------------------------------
I have tried all the option changing the setting for customerrors mode. Any machine in india office is not getting error for that form. only the client from uk is facing the abouve error. how should i trace the error and solve the problem.

Please help its urgent!!!

 
Old May 26th, 2006, 04:00 AM
Friend of Wrox
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2004
Location: New Delhi, India.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anubhav.kumar
Default

hi,

I have got a similar problem where our demo server was running fine but the same application was giving errors on client server. What a coinsidence, my client is also in UK. The difference may lie in the regional settings especially date formats. pls check. Ous problem get solved by this way when we used proper date formats and regional settings




Anubhav Kumar
 
Old May 26th, 2006, 04:49 AM
Authorized User
 
Join Date: May 2006
Location: New Delhi, Delhi, India.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well If both of your clients are running the application
 and not the exe's then problem is in Web.Config.
Actually wen you copy the folder then the settings of web.config
doesn't get transfer. So put the folder in exactly same path
where u had developed the folder.
It may work.But when i faced the problem then my application worked correctly when I followed the above steps

rajkumar sharma
 
Old May 26th, 2006, 06:47 AM
Authorized User
 
Join Date: Mar 2006
Location: pune, Maharashtra, India.
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi Anubhav,

thanks for solution but I am already using UK date formats and culture = "en-GB" in web.config file. and the form giving this error does not contain any date input. all ohter forms which contains date input are working fine. this form has got only 4 text fields to update. Even database user i have created using British setting. Still it is not working.

what should I do else?

 
Old May 29th, 2006, 12:07 AM
Friend of Wrox
Points: 410, Level: 7
Points: 410, Level: 7 Points: 410, Level: 7 Points: 410, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2004
Location: New Delhi, India.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anubhav.kumar
Default

hi,

i sugeest to enable detailed errorrs on remote clients via web.config and get the actual error [Just for time being] . Only then, you will get the right direction to work upon. the posibilities are many and even the error which is coming may require the simplest tweak. So, the only way is to get the detailed error from the system. If you can't do it, then handle the application on error event to genrate a mail to you or your technical team which gathers detailed error info. In this way you will get info you require without compromising the security of application

Anubhav Kumar




Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 schedule Jobs Jane SQL Server 2000 1 November 6th, 2006 09:19 PM
Creating a League Schedule Application JavaWalk Java Basics 0 April 1st, 2006 03:34 PM
Server Application Error subrata_boss BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 August 12th, 2004 04:21 AM
schedule vb.net application ak VB.NET 2002/2003 Basics 4 March 17th, 2004 11:00 AM
Create a Console application which can be schedule jayabhatia General .NET 1 March 10th, 2004 05:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.