.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

event id 1309, An unhandled exception has occured

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :ASP.Net

one of the sites hosted on our server is giving this error in event viewer

Event Type:      Warning
Event Source:      ASP.NET 2.0.50727.0
Event Category:      Web Event 
Event ID:      1309
Date:            24/06/2008
Time:            17:28:40
User:            N/A
Event code: 3005 
Event message: An unhandled exception has occurred. 

Event time: 24/06/2008 17:28:40 

Event time (UTC): 24/06/2008 16:28:40 
Event ID: 7addcd74d55746d3b73bf9905eb3edeb 

Event sequence: 17 

Event occurrence: 6 

Event detail code: 0 

Application information: 
Application domain: /LM/W3SVC/586182382/Root-1-128587971859459234 
Trust level: Full 
Application Virtual Path: / 
Application Path: C:\Inetpub\convex_crm\ 

View Complete Post

More Related Resource Links

Design time, unhandled exception occured, request is not available in the context


i am using a user control that has the html code with head tag is set to runat server. when i drop this control in main page, i am getting an error in the design time, Error rendering control, unhandled exception occured, request is not available in this context, but at runtime, everything is working fine. i can fix this by removing the ID and runat=server in the head tag, but how to make this to work without removing the runat server for head tag ?.. which request it means that is not available.

i am very new to C#, i hope what i am asking makesence, apologize if i am not clear, i highly appreciate any explanation ! thankyou !...

here is the code present in the user control...

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="header.ascx.cs" Inherits="user_controls_header" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">

CLR Profiler is not working.Unhandled exception has occured in your application.


For me CLR Profiler is not working.

When i choose profile application and browser to the executable file.It show's up an message box

"waiting for application to start Common language runtime" .

the message box stays for long time and when i click on "Show Heap now" button even as above message box is displayed i get the following error

Unhandled exception has occured in your application. If you click Continue,the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Object reference not set to an instance of an object.

An unhandled win32 exception occured in .vshost.exe while running processCategory.GetI

namespace PerformanceCounterCategory
    class Program

        static void Main(string[] args)

            while (true)

        public static void DoStuff()
            System.Diagnostics.PerformanceCounterCategory processCategory = new           System.Diagnostics.PerformanceCounterCategory("Process");

CLR Inside Out: Unhandled Exception Processing In The CLR


In this installment of CLR Inside Out Gaurav Khanna explains everything you need to know about unhandled exception processing in the .NET Framework.

Gaurav Khanna

MSDN Magazine September 2008

Knowing the event occured in user control in current page




      My web application has user control which uses third party controls called Devexpress controls. The user control is a menu  and is part of the Master page. It is placed there because this needs to be available in all the pages. My user controls raises a even on item clicked. Now, My question is that Is there any way to know that the event has occurred in page_load of the current page in which I am in?

An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll

Additional information: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respondThis error occurs when i was executing a vc++.net program implementing ICMP....Error occurs when executing this statement... iRet=st->ReceiveFrom(RecvByte,RecvByte->Length,SocketFlags::None,&senderRemote);How to solve this problem????

"Format exception was unhandled by user" error. . .please help. . urgent!

Hi to all developers. I'm developing a survey site and i got this error 'Format exception was unhandled by user'. .  please help me deal with this. . any help is much appreciated. .here is where the error occured(2nd line):If Not Request.QueryString("DeptCode") Is Nothing Then            Dim DeptCode As Double = Double.Parse(Request.QueryString("DeptCode"))            Session.Add("DeptCode", DeptCode)        Else            Response.Redirect("default.aspx")        End Ifthanks in advanced. .

WCF Service stops after throwing a unhandled exception :no user is logged on.

Hi All,       I have written a WCF service which is hosted as a Managed windows service. I consume this service in a web application. The service is built using a httpBasicBinding and security Mode ="none". I'm now getting the following exception, after which the service stops  "An unhandled exception ('System.ComponentModel.Win32Exception') occurred in CMMonitorService.exe [1812]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on." I had tried changing the security mode to Transport/Message. with windows credential then I get a access to the path denied error. Can anyone provide hint on what am I missing and what would be the appropriate security mode and client credential to use along with basichttpBinding?

"An exception occured while committing IIS configuration changes: Keyset does not exist" with SP2010

Hi All, After further investigation I found in the log file a couple of these entries: "An exception occured while committing IIS configuration changes: Keyset does not exist (Exception from HRESULT: 0x80090016) ca46ad74-a24e-49f8-ab81-6453b387f93b" Standalone vpc, Win2008R2, SQL2008R2 all pre-reqs was installed successfully and SP2010 was installed with no problems. The above error I get on step three of the configuration. Below is more detail on what it tries to do before the message is logged.(this is from the log file *NOTE i took out my domain and username and replaced with [ ]* --------- Adding [Domain\User] to local group IIS_WPG. ca46ad74-a24e-49f8-ab81-6453b387f93b Adding [Domain\User] to local group WSS_WPG. ca46ad74-a24e-49f8-ab81-6453b387f93b Adding [Domain\User] to local group PerformanceMonitorUsers. ca46ad74-a24e-49f8-ab81-6453b387f93b Attempting to give SE_ASSIGNPRIMARYTOKEN_NAME privilege to application pool user [Domain\User] ca46ad74-a24e-49f8-ab81-6453b387f93b Attempting to give SE_INCREASE_QUOTA_NAME privilege to application pool user [Domain\User] ca46ad74-a24e-49f8-ab81-6453b387f93b An exception occured while committing IIS configuration changes: Keyset does not exist (Exception from HRESULT: 0x80090016) ca46ad74-a24e-49f8-ab81-6453b387f93b Creating new application pool 'SecurityTokenServiceApplicationPool'. ca

Exception occured:_layouts/MyAssocForm.aspx does not exist.

HI while attaching workflow to document library, it gave the error message as Exception occured:_layouts/MyAssocForm.aspx does not exist. I check for aspx page in "layouts" location but no file is exist. I created Infopath forms and attached to workflow, Here is my workflow.xml class <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Workflow Name="FormBase" Description="This workflow ..." Id="555F6853-87FE-4668-B7AF-BD5749B1CDCA" CodeBesideClass="Formbase.Workflow1" CodeBesideAssembly="Formbase, Version=, Culture=neutral, PublicKeyToken=9d4763c102f02820" TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160" AssociationUrl="_layouts/MyAssocForm.aspx" InstantiationUrl="_layouts/MyInitForm.aspx" ModificationUrl="_layouts/MyModForm.aspx" > <Categories/> <MetaData> <Modification_GUID_Name>Name of Modification</Modification_GUID_Name> <Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:DemoInitiation:-myXSD-2010-09-06T08-55-14</Instantiation_FormURN> <Association_FormURN>urn:schemas-microsoft-com:office:infopath:DemoInitiation:-myXSD-2010-09-06T08-55-14</Association_FormURN> <Task0_FormURN>urn:schemas-microsoft-com:office:infopath:Editform:-myXSD-2010-09-06T09-16-40&

Blob Cache Event ID 7888 Runtime Exception Thread was being aborted

HI, We have 3WFE and we are getting error Events 788 and 5538 on all three servers at same time. Any thoughts on what is causing this error? Event Type: Error Event Source: Office SharePoint Server Event Category: Office Server General Event ID: 7888 Date:  9/14/2010 Time:  2:31:08 PM User:  N/A Computer: MOSS2007A Description: A runtime exception was detected. Details follow. Message: Thread was being aborted. Techinal Details: System.Threading.ThreadAbortException: Thread was being aborted.    at System.Threading.ReaderWriterLock.AcquireWriterLockInternal(Int32 millisecondsTimeout)    at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass14.<>c__DisplayClass17.<FetchItemFromWss>b__11()    at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.   Event Type: Error Event Source: Office SharePoint Server Event Category: Publishing Cache Event ID: 5538 Date:  9/14/2010 Time:  2:31:08 PM User:  N/A Computer: MOSS2007A Description: An error occured in the blob cache.  The ex

An unhandled exception of type 'System.Net.WebException' occurred in system.dll Additional inform

Hi , I am giving my functioon below. I am getting the error when  executing  "       streamInput = HTTPWebRequest.GetRequestStream                "   error is  An unhandled exception of type 'System.Net.WebException' occurred in system.dll  Additional information: The underlying connection was closed: Could not establish secure channel for SSL/TLS.  Sorry for my bad english  Private Function GetXMLMarkIntnlResponse(ByVal strRequest As String) As String         Dim HTTPWebRequest As HttpWebRequest         Dim HTTPWebResponse As HttpWebResponse         Dim Encoding As System.Text.UTF8Encoding         Dim byte1 As Byte()         Dim streamInput, streamOutPut As Stream         Dim strmReader As StreamReader         Dim strURL As String = "https://beta.triseptapi.com/9.0/vax.asmx"         HTTPWebRequest = CType(WebRequest.Create(strURL), HttpWebRequest)         HTTPWebRequest.Method = "Post"         HTTPWebRequest.ProtocolVersion = HttpVersion.Version11         HTTPWebRequest.C

an unhandled exception occurred in the silverlight application sharepoint 2010

An unhandled exception occurred on the page when Try to create the Announcement List in SP 2010 site which is upgraded from SP 2007,Any body have faced this issue?

An unhandled exception has occurred, NEED HELP

Event code: 3005  Event message: An unhandled exception has occurred.  Event time: 9/18/2010 8:35:46 AM  Event time (UTC): 9/18/2010 1:35:46 PM  Event ID: 480e384289004c2cbdee1d9c2cf7792e  Event sequence: 243392  Event occurrence: 1013  Event detail code: 0    Application information:      Application domain: /LM/W3SVC/9/ROOT-1-129291951636879194      Trust level: Full      Application Virtual Path: /      Application Path: D:\Websites\123Tagged_New\      Machine name: HOST361488    Process information:      Process ID: 6016      Process name: w3wp.exe      Account name: IIS APPPOOL\123tagged    Exception information:      Exception type: ChangeConflictException      Exception message: Row not found or changed.    Request information:      Request URL: http://www.123tagged.com/Comments.aspx?Cat=Good_Morning      Request path: /Comments.aspx      User host address:      User:       Is authenticated: False      Authentication Type:       Thread account name: I

Unhandled exception in XAML editor from control that accesses database. - "System.Data.SqlServerCe.S



Im having a bit of difficulty with some WPF/C#/SQL Server CE code.

I have a WPF User Control with the following line of code in the constructor:

MyDatabase database = new
 MyDatabase("Data Source=|DataDirectory|\\MyDatabase.sdf"

where MyDatabase is a class generated using SQLMetal.exe from MyDatabase.sdf.


When I added this control to other controls, the application runs fine and I'm able to access my database. When I try to edit these parent controls,  the XAML editor throws the following error:


>The database file cannot be found. Check the path to the database. [ Data Source = D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MyDatabase.sdf ]


Why does the XAML editor redirect my DataDirectory to "D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\" and why does the XAML editor execute my database access code?


How can I fix this so I can use this control in a XAML editor?


Greg S.


Exception thrown when handling Window.Loaded event


Why is the exception assistant not "fired" in a debugging session when a Window.Loaded eventhandler calls code which throws an exception ?
        private void Window_Loaded(object sender, RoutedEventArgs e)
            //Application.Current.DispatcherUnhandledException +=
               new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
            int a = 1;
            int b = 0;
            int c = a / b;

        void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)

Removing the comment signs (//) thus presenting an UnhandledException handler devinately makes the assistant "firing".
Is this behaviour by desi

An unhandled exception in w3p during search crawl setup



I'm trying to schedule the full crawl of search.

I'm configuring the crawl and in Central Administration/Search Service Application: Edit Content Source in crawl schedules, I choose create schedule for full crawl. A popup appears , I select 1 AM and when I press OK,a popup appears at the SERVER's window (not the internet explorer) saying: An unhandled exception (system.UnauthorizedAccessException) occurred in w3wp.exe [5112]. The just-in-time debugger....

Doing full crawl works, but i'm trying to do scheduled ....

The message is (VS 2010 Debugger):Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

The stack trace (VS 2010 Debugger) is :

Microsoft.Office.Server.Search.Administration.CTaskScheduler.Microsoft.Office.Server.Search.Administration.ITaskScheduler.NewWorkItem(String TaskName, Guid& rclsid, Guid& riid, Object& obj)

   at Microsoft.Office.Server.Search.Administration.TaskScheduler.GetITask(String fileName)

   at Microsoft.Office.Server.Search.Administration.TaskScheduler.GetTriggerDescription(TaskTrigger taskTriggerArg)

   at Microsoft.Office.Server.Search.Administration.TaskScheduler.<GetTriggerDescriptionInSecurityContext>b__0()

   at Microsoft.Office.Server.Security.SecurityContext.RunAsPr

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend