.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

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

Posted By:      Posted Date: October 11, 2010    Points: 0   Category :.NET Framework

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.

View Complete Post

More Related Resource Links

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?

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

event id 1309, An unhandled exception has occured


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\ 

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");

New off line application working with sdf file. Need advice


Hey Folks

I am working on a project currently where I need to get data out of a 3rd party vendor's software that uses a .sdf file I looked this up and its a SQL CE file. I was hoping to just link to with with access but thats apparently not going to happen. I need to link to the database extract data from it to a csv file for later use. I also and most important I need to get the data from it and create a report that can be printed while on a customers site that my or may not have web access so I need for this program to be on and off line. I had my webapplication that I have been working on open and was able to bring up the sdf file under the server exploere however I can't seem to get anything out of it when I try to do grid views or detail views errors out.

Can I use one of Visual Studio projects to create this sort of applicaiton if so what would be the best approach. I would love to get an access odbc driver since office is allready installed on the employee's laptop's



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

Performance: Find Application Bottlenecks with Visual Studio Profiler


We will introduce you to the Visual Studio Profiler by walking through a sample performance investigation, pinpointing code inefficiencies in some sample applications.

Hari Pulapaka and Boris Vidolov

MSDN Magazine March 2008

Enterprise Library: Take Exception To Critical Errors With Custom Application Blocks


Enterprise Library is a collection of application functionality blocks that you can re-use in your application for common functionality you'd otherwise have to write again and again. Here Jay Hilyard explains how to use them.

Jay Hilyard

MSDN Magazine September 2006

Error Handling: Throwing Custom Exception Types from a Managed COM+ Server Application


Exception handling semantics in .NET are based on type, so you can create custom exceptions that have their own properties and methods. In .NET, exceptions are first-class citizens, and since they're the built-in error handling mechanism, all .NET-compliant languages must support exceptions. In addition, COM+ services are available to .NET code as Enterprise Services, so you can leverage exceptions in your Enterprise Services design.In this article the author describes custom exceptions, throwing exceptions across COM interop boundaries, and working with Enterprise Services.

Bob DeRemer

MSDN Magazine March 2004

'System OutOfMemory Exception' while using rdlc in Windows application

hi Everyone , I am Using Reporting Service (.rdlc) in my Windows application , i am getting Error System OutOfMemory Exception Like "an error occured during local report processing An Unexpected error occured in Report Processing Exception of type 'System OutOfMemory Exception'Was Thrown " what to do Please anyone help me ... Advance Thanks Anilmarnal

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

clr assembly in sql server - working directory? and exception question

Hello, I have a small assembly in sql server 2008... it's pretty simple, but in the very rare circumstance that it may throw an exception I am catching it and writting to a log file. something like: using (StreamWriter sr = new StreamWriter(@".\ErrorLog.txt", true)) { sr.WriteLine("{0:G} ===> {1}", DateTime.Now, ex.Message); } I believe that should write the file to the working directory... 1. what would the working directory be for sql server 2008? the binn directory? 2. what would happen if a clr assembly added to sql server throws an exception that is not handled by your clr code?

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

how can we show error in our application when exception occur in webs service

how can we show error in our application when exception occur in webs service

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