473,847 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sys.WebForms.Pa geRequestManage rServerErrorExc eptio n: An unknown error occurred while

3 New Member
Hi ,
i have created one AJAX enable sites ASP.NET for my client.
it is working fine on my local machine .
basically , i have got three servers ( DEV,TST,PRD)
i have copied all the source code to the DEV and TST .
Now most wonder thing happening is

i have got one form which i enter the data into the dataGrid and i click on the "Apply" button to updated those enterd data into the databasse .

Above functionality is working fine on the TST .
but in the DEV same form is giving the error

Sys.WebForms.Pa geRequestManage rServerErrorExc eption: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

in both the server CODE is same but in one server i amgetting the error where as in other i am not getting the error for same web form.

Please help me on this .. i am a bit trouble.

i am attaching the code

Apply Button Code is as Folows

Expand|Select|Wrap|Line Numbers
  1. protected void SAC_ApplyClick(object sender, EventArgs e)
  2.     {
  3.         if (IsValid)
  4.         {
  5.            if (SaveHeader())
  6.             {
  7.                 SessionHandler.ClearFromSession("FooterID");
  8.                 SessionHandler.ClearFromSession("HeaderID");
  9.                 SessionHandler.Write("HeaderID", m_headerID.ToString());
  10.                 SessionHandler.Write("HeaderAmount", txtInvoiceAmount.Text);
  12.                 if (!m_editingRecord)
  13.                 {
  14.                     Response.Redirect("FooterAddEdit.aspx", false);
  15.                 }
  16.                 else
  17.                 {
  18.                     Response.Redirect("~/Footer.aspx", false);
  19.                 }
  20.             } 
  22.         }
  24.     }

Inside Apply button it is calling another method.

Expand|Select|Wrap|Line Numbers
  1. private bool SaveHeader()
  2.     {
  3.         if (!string.IsNullOrEmpty(Request["ddlSiteCode"])) //required field
  4.         {
  5.             FillHeaderObj();
  6.             HeaderBLL bll = new HeaderBLL(LoggedOnUser.ID);
  7.             if (m_headerID != 0)
  8.             {
  9.                 bll.UpdateHeader(m_header);
  10.             }
  11.             else
  12.             {
  13.                 m_headerID = bll.SaveNewHeader(m_header);
  14.             }
  16.             string oldApprover = SessionHandler.Read("OldApprover");
  17.             if (oldApprover != m_header.Approver)
  18.             {
  19.                 bll.Header = m_header;
  20.                 bll.CheckAndSendEmailToApprover();
  21.             }
  22.             SessionHandler.Write("HeaderID", m_headerID.ToString());
  23.             SessionHandler.Write("HeaderAmount", m_header.Amount.ToString());
  24.             return true;
  25.         }
  26.         else
  27.         {
  28.             lblSiteCodeReq.Visible = true;
  29.             return false;
  30.         }
  31.     }
Dec 22 '07 #1
5 2847
4,871 Recognized Expert Specialist
Welcome to TSDN. Great to hear that you are using DEV,TST & PRD. Are their platforms the same? How did you get to test when dev has an error? This is a generic error, so we will need more info. Thanks.
Dec 23 '07 #2
3 New Member
Welcome to TSDN. Great to hear that you are using DEV,TST & PRD. Are their platforms the same? How did you get to test when dev has an error? This is a generic error, so we will need more info. Thanks.
Hi ,

Thanks for your reply.
BY mistake my client has put the bulid in the test and Dev . and they had assume that it should work on the DEV.
As far as environment are concerned both the environment have got IIS 6.0
please let me know what other thing i need to check.
Dec 24 '07 #3
4,871 Recognized Expert Specialist
We need to know everything about your environment, not just IIS, OS, framework etc.
Dec 25 '07 #4
3 New Member
We need to know everything about your environment, not just IIS, OS, framework etc.

My server environemt is as follows :
1.Microsoft .net framework2 .0
2.Microsoft .net framework3 .0
3.IIS version 6.0
4.OS Windows server 2003 service pack 1
5 Microsoft ASP.net 2.0 ajax extension1.0
6.MDAC 2.8

please suggest me what should i do to solve this problem as soon as possible
my client is sitting on my head .
Dec 25 '07 #5
4,871 Recognized Expert Specialist
Just to confirm that this is the same for all three...
Jan 3 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

by: David Moore | last post by:
Hello I posted a thread about this a while back, but I can't actually find it again so I can reply to it with the solution I found, so I'm making a new thread and hoping it goes to the top of the Google search results for the error like the previous thread. This is actually a solution to a problem, not a call for help, so you can stop reading now unless you're actually interested in the solution :)
by: Do | last post by:
Hi, I simply try to add new default webforms to my project and none of them can load. Has anybody received an error like this? Thanks, Do Parser Error
by: A P | last post by:
Hi! I'm using ASP.Net Web Matrix on my PC and wanting to publish the files to our server. I try to copy (thru explorer) the files but it didn't work! I receive Runtime Error: Server Error in '/' Application. ---------------------------------------------------------------------------- ----
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied to the test server it won't work at all. Looks like aspnet_wp is trying to compile it for five seconds, then it stops working what so ever. The system event log gets the following entry: Application popup: aspnet_wp.exe - Application Error : The...
by: m_evergreen | last post by:
Errors: An unhandled exception of type 'System.Web.HttpException' occurred in system.web.dll Additional information: Could not access 'CDO.Message' object. innerexception is "Exception has been thrown by the target of an invocation." innerexception.innerexception is "The specified protocol is unknown."
by: =?Utf-8?B?SnVhbiBNYXJjaWFs?= | last post by:
I try to put on production an application asp.net 2.0, across IIS 6.0. This app has a process that read any binary file. This file is in external directory (same disk) of asp.net app. This file is update from an external ftp process. - Over local host works fine. - Over Internet I have this error in clients: --------------------------- Windows Internet Explorer
by: kannabiran | last post by:
Hi Every One.. Im using Master Page in my project in my child page im using update panel while hitting the server button im getting this following error and I also added ValidateRequest="false" , EnableEventValidation="false" in webconfig Pages Tag but im still getting the following error. Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code...
by: Saša Bistrović | last post by:
Saša Bistrović Antuna Mihanvića 13 40000 Čakovec Croatia sasa.bistrovic@ck.t-com.hr FPC: Exception : Unknown Run-Time error : 210 Hi, I'm Saša from Croatia.
by: Sidhartha | last post by:
Hi, I am facing a problem while parsing local language characters using sax parser. We use DOM to parse and SAX to read the source. But when our application parses strings with local language especially czech,polish,turkish in place of local language character some other word is comming. Eg: Input string :ahoj, jak se mᚠOutput string :ahoj, jak se máš
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.