Home » Microsoft Technologies

crash: clr20r3 system.invalidoperationexception


I've got some trouble running my application on other computers. On my own it works fine (no errors while Debug or Build/Publish) but if I install it on other computers (with .NET Framework 2.0 installed on them, but no Visual Studio) it crashes after the splash screen and gives the following error:

EventType : clr20r3     P1 : winlab.exe     P2 :     P3 : 44ce7687    
P4 : winlab     P5 :     P6 : 44ce7687     P7 : d     P8 : c6    
P9 : system.invalidoperationexception

My application uses a 3rd party user control (I dont't have the source code), I think it might cause the crash, but I'm not quite sure.

Can anyone help me with this? Thanks!


7 Answers Found


Answer 1

Is it possible to create a simple windows application - create a deployment package and try this to determine if its any .NET 2.0 application that wont work, or just this one....

Then simply add the suspect 3rd party control into this project and try again and see if this works.


Answer 2

So here it is - i've been using a "scientific method" :-) to exclude all the other possibilities: I have

1) created a simple application using just one form with a TextBox, a Label and a Button -
It worked fine on another computer

2) created a simple application wich includes the UserControl in question -
worked fine on mine, but it crahed on another computer

3) created a simple application using a simple User Control (I've got the source - it does't do anything complicated) -
worked fine on mine, and on the other computer.

Now we can say that the User Control in question is responsible for my hedache. But what could explain, that it works flawless on my computer but not on another?

Is there a way I can bypass this error?


Answer 3

is it an ActiveX control (COM)? If so, it may not be registered. I guess you may need to go to the supplier of the control with a big stick.

Answer 4

Yeah, it is an AciveX control allright... Guess I'll have to try to reproduce its functions with a replacement code of my own... That's going to take some time... but... such is life.

But if anyone knows any better and be so kind to share...


Answer 5

Not necssarily (but it probably would be a good idea ). It is likely that the control is not registered on the target system  (use Regsvr32 to register it).

OneClick distribution doesn't give you the option of registering additional controls this way. But you first need to prove the concept - i.e. that your program will work by manually copying/registering eveything. Then, if you still want to use the control, either use a third party installer or upgrae to Visual Studio and use the Setup projects (I don't really have a lot of experience with those - personally I use a no-cost installer).


Answer 6

I have exactly the same error message.  Could you explain me what do you mean by "User Control" and how to use regsvr32 to register it ?  I've tried to register DLL in the project with regsvr32 and it didn't work.  Any help would be appreciated.

Error Signature:

EventType : clr20r3     P1 : prog.exe     P2 :     P3 : 4ae9f2c9  
P4 : prog     P5 :     P6 : 4ae9f2c9    P7 : d     P8 : c6    
P9 : system.invalidoperationexception

Thank you.

Answer 7

Hate to see posts without a possible solution.

In my case it was all related to Crystal Reports (shitty SAP support)...

I've had this (clr20r3) system.invalidoperationexception error twice on my deployment pc's, first time the solution was to include the:
C:\Program Files\Common Files\Merge Modules\CrystalReports11_5_NET_2005.msm (:\Program Files\Common Files\Crystal Decisions\2.5\bin was missing on the deploy pc).

The second time I had upgraded my project to VS2010, project included references to the 11.5.37 dll's:

Once upgraded VS changed those references to 14.0.2000.0

The apps all immediately crashed on startup with invalidoperationexception!

G'luck all!




Hello everyone,

When I try to preview a report in Visual Studio 2008 BIDS R2, right before the report displays, VS crashes with this error:

Fault bucket 693428785, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 9.0.30729.1
P3: 488f2b50
P4: System.Drawing
P6: 4a275e83
P7: 246
P8: c9
P9: System.ComponentModel.Win32

Has anyone else run into this error before and is there a resolution out there? If I load the report to the report server, the report will render correctly. This only happens when trying to preview in VS 2008

Any help is appreciated.

- Art



I'm struggling with a problem at remot installations. I released my Beta software which was always running fine on a lot of systems Win XP , Win2003, Win 7.

Now I have a strange problem at some remote installation. After starting the program it will crash right away, not even geting throug the new or load Events.

All my integrated debugging is useless. I don't know how I should debug such a problem.

I guess there are some files missing at the remote systems. I have no idea which files. It could also be because of some third party components. I only have an event (see below) which is not of much help (to me).

I found some other threads about the same  CLR20r3 event but it was not very usefull. I need to get this application up and running. What steps should I take. I have some very good Beta testers.

Any help appreciated




Fehlerbucket , Typ 0

Ereignisname: CLR20r3

Antwort: Not available

CAB-Datei-ID: 0


P1: vmvisiontest6.exe


P3: 4c625900

P4: Microsoft.VisualBasic


P6: 4a277ad7

P7: 6e

P8: e

P9: System.IO.FileNotFoundException


Angefügte Dateien:




Diese Dateien befinden sich möglicherweise hier:



Es wird erneut nach einer Lösung gesucht: 0

Berichts-ID: ddcbeaae-a543-11df-b039-00226b0159c8

Berichtstatus: 4


Hi everyone,

In the automation program in Visual Basic 2008, below, I aim to fill a list box with the names of the workbooks that are currently open in Excel 2003.

The program Form1 has two controls Button1 and ListBox1, and handles the Excel event Application.NewWorkbook. It was project referenced to use COM's Microsoft Excel 2003.

Opening Excel 2003, running this program, and then pressing Button1 causes a workbook to be added to Excel. The Excel event NewWorkbook is raised and triggers the event handler at the bottom of the program xlApp_NewWorkbook.

This event handler calls PopulateList() to fill the list box. This is where the problem occurs.

As soon as the list box is cleared, the message "A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll" is issued and the list is not updated.

Here's the program:

Imports Microsoft.Office.Core
Imports Excel = Microsoft.Office.Interop.Excel

Public Class Form1

    WithEvents xlApp As Excel.Application

    Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        xlApp = GetObject(, "Excel.Application")
    End Sub

    Private Sub Form1_Closed(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Closed
        xlApp = Nothing
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim xlBook As Excel.Workbook

        xlBook = xlApp.Workbooks.Add()
    End Sub

    Private Sub PopulateList()
        Dim xlBook As Excel.Workbook

        For Each xlBook In xlApp.Workbooks
    End Sub

    Private Sub xlapp_NewWorkbook(ByVal w As Excel.Workbook) Handles xlApp.NewWorkbook
        Call PopulateList()
    End Sub

End Class

Debugging the program, the debugger craps itself out (loses control of the debug session) on line


and does not even return from this line. Control goes straight back to the application and the list box is not updated.

I have been investigating the cause of this and it seems that xlApp_NewWorkbook is run in a worker thread. Because of this, ListBox1, in the main thread, can be read but cannot be updated from the worker thread.

I've found several supposed solutions. Apparently, one needs to invoke a delegate that is run in the main thread. And this is where I need your help. I cannot find a simple and clear description using Visual Basic to invoke PopulateList in the main thread using a delegate. I cannot understand the help, in what regards delegates. And cannot get my mind around the whole delegate and invoke thing, at least enough to adapt the examples provided (I believe some I found are not even possible nowadays).

Could someone please help me, demonstrating how to declare and invoke the delegate in the above program, so that the list box is populated with the names of the existing workbooks in Excel?

Many thanks in advance, if you have a go at it.

Context: Microsoft Visual Studio 2005 Version 8.0.50727.42  Microsoft .NET Framework Version 2.0.50727 Word 2003 Interop Problem: I am trying to recreate the "AmbiguousMember" example from p. 31 of Whitechapel's "MS .NET Development for MS Office" using VB instead of VC#. This involves implementing an event handler for the Word Quit event. In the event handler, I need to toggle the Enabled state of two buttons. This causes the following error: A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll The code behind the Form1 form is shown below. Form1 has two buttons: Button1 "Run Word"; Button2 "Quit Word". The event handler is intended to clean up if the user quits the Word application, and reset the buttons. A net search indicates a known source of this error involves use of "MTA" apartment threading model instead of "STA". I can't figure out how the threading model is set in my VB project. I dunno why this post is doublespaced. Imports Word = Microsoft.Office.Interop.Word Public Class Form1 Private wd As Word.Application Public wdEvents4 As Word.ApplicationEvents4_Event Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click wd = New Word.Application wd.Visible = True wdEvents4 = CType(wd, Word.ApplicationEvents4_Event) AddHandler wdEvents4.Quit, AddressOf Me.quitHandler Button2.Enabled = True Button1.Enabled = False End Sub Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click RemoveHandler wdEvents4.Quit, AddressOf Me.quitHandler wd.Quit() wd = Nothing Button1.Enabled = True Button2.Enabled = False GC.Collect() GC.WaitForPendingFinalizers() GC.Collect() GC.WaitForPendingFinalizers() End Sub Private Sub quitHandler() Debug.Print("In wdEvents4_Quit") wd = Nothing Button1.Enabled = True Button2.Enabled = False End Sub End Class      



I have written a C# application.


I install it while in the Admin account. It works fine. Now I change my account to some other user. Non-Admin. It throws an error; System.security,security with error type CLR20r3, then the application closes.


I also tried to Run as Administrator, but same issue!

The application is .NET v2.0 

Please help.


The following pice of code runs fine on my development machine (win7, 32bit) but ends with Exception on the server (Win2008R2, 64bit).


        static void Main(string[] args)


            Image image = Image.FromFile(args[0]);





The exception will be thrown for TIFF files (from other sources) but ie not for PNG files.

I was wondering why the test program above works fine on my Win 32bit machine with .NET 4 but not on my 64bit machine with .NET 4.

Any help appreciated.




Hi folks,

Just had a long afternoon debugging a potential bug in WPF (.NET 3.5 SP1 rev. 3.5.30729.4926).

It seems System.Windows.Media.FontFamily.get_FirstFontFamily() doesn't like so much when fonts are missing on your device. Our device is a Windows Embedded Standard 7 with only the Western Fonts package. When I copied all the fonts we have to Windows 7 Ultimate into the device's Fonts directory, the issue was solved. 

It started with a System.Windows.UIElement.Measure() call which crashed into a System.ExecutionEngineException. 

After some debugging (call stack is below), I realized System.Windows.Media.FontFamily.get_FirstFontFamily crashed the whole CLR because in my opinion it was not finding any of the fallback fonts (Truetype ?).

I guess this would require a fix sometime :-).



Call Stack

0:011> !CLRStack

OS Thread Id: 0x5d4 (11)

ESP       EIP     

0705cf9c 75db194b [HelperMethodFrame_1OBJ: 0705cf9c] System.Environment.FailFast(System.String)

0705cff8 6c2b68b9 MS.Internal.Invariant.FailFast(System.String, System.String)

0705d000 6c37e751 MS.Internal.Invariant.Assert(Boolean)

0705d008 6bf17f9a System.Windows.Media.FontFamily.get_FirstFontFamily()

0705d030 6b739118 System.Windows.Media.FontFamily.get_LineSpacing()

0705d038 6689f3be MS.Internal.Text.DynamicPropertyReader.GetLineHeightValue(System.Windows.DependencyObject)

0705d060 6689f248 MS.Internal.Documents.FlowDocumentFormatter.ComputePageMargin()

0705d09c 6689f057 MS.Internal.Documents.FlowDocumentFormatter.Format(System.Windows.Size)

0705d120 6689eef5 MS.Internal.Documents.FlowDocumentView.MeasureOverride(System.Windows.Size)

0705d180 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705d37c 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705d41c 66851e6d MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)

0705d440 6687018f System.Windows.Controls.ScrollContentPresenter.MeasureOverride(System.Windows.Size)

0705d4b0 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705d6a8 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705d748 6684bba6 System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)

0705d784 6684b629 System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean)

0705d820 6684a8df System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)

0705d8d8 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705dad4 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705db74 6686fa48 System.Windows.Controls.ScrollViewer.MeasureOverride(System.Windows.Size)

0705dc28 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705de20 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705dec0 66812531 System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)

0705df88 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705e180 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705e220 6684bba6 System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)

0705e25c 6684b629 System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean)

0705e2f8 6684a8df System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)

0705e3b0 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705e5a8 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705e648 6682704b System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)

0705e680 66817b90 System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)

0705e878 6b6eeec6 System.Windows.UIElement.Measure(System.Windows.Size)

0705e918 04a43bb5 Aimago.EmbeddedLDI.TechnicalServices.SnapshotFileConverter.Convert(System.DateTime, System.String, System.Windows.Documents.FlowDocument)

0705ea88 04a43277 Aimago.EmbeddedLDI.TechnicalServices.FileSystemManager.CopyAllSnapshots(System.Collections.Generic.IEnumerable`1<System.DateTime>, Aimago.EmbeddedLDI.BusinessLogic.INavigator)

0705ec0c 04a42943 Aimago.EmbeddedLDI.BusinessLogic.UserInterfaceNavigatorController+<>c__DisplayClass4.<CopyAllSnapshots>b__0()

0705ec5c 70646df6 System.Threading.ThreadHelper.ThreadStart_Context(System.Object)

0705ec68 70665731 System.Threading.ExecutionContext.runTryCode(System.Object)

0705f098 71881b6c [HelperMethodFrame_PROTECTOBJ: 0705f098] System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)

0705f100 70665627 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

0705f11c 70650255 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

0705f134 70646d74 System.Threading.ThreadHelper.ThreadStart()

0705f35c 71881b6c [GCFrame: 0705f35c] 




Hi guys,

1) I have a workflow library  that has a workflow  composed of code activities within which calls are made to a webservice. (workflow)

2) I have another webservice which  instantiates the workflow described above. (workflowmanager)


Now when i try to run the workflow from the workflowmanager webservice , I get an exception as below



System.InvalidOperationException: Could not find endpoint element with name '***'
 and contract '****'in
 the ServiceModel <br/>
client configuration section. This might be because no configuration file was found for
 your application, or because no <br/>
endpoint element matching this
 name could be found in
 the client element. 


But I have specified the binding and contract in the app.config file of the workflowlibrary.

Also both the above mentioned library and webservice are being used by a WPF application on the front end.

So i need to define the same in the workflowmanager too ??


Some help or guidance from you guys will be appreciated.






I need some serious help.  I use a webserviece in IIS6 to launch a exe file. It's OK in windows xp 32bit.But In Windows xp 64bit or windows 2003 64bit  I am getting the following errors in my event .
Anyone out there who can help me with this?
ALL HELP appriecated.
EventType clr20r3, P1 spaceclaim.exe, P2, P3 4bbab89d, P4 spaceclaim, P5, P6 4bbab89d, P7 191d, P8 14d, P9 system.invalidoperationexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event code: 3001
Event message: The request has been aborted.
Event time: 6/2/2010 10:42:37 AM
Event time (UTC): 6/2/2010 2:42:37 AM
Event ID: 36fe5a75dc1b496d89acd9df5716456f
Event sequence: 7
Event occurrence: 2
Event detail code: 0
Application information:
    Application domain: /LM/W3SVC/1/Root/ET-Service-1-129199199023034515
    Trust level: Full
    Application Virtual Path: /ET-Service
    Application Path: D:\New Folder\SPWEB\
    Machine name: TS-MIKE
Process information:
    Process ID: 3160
    Process name: w3wp.exe
    Account name: NT AUTHORITY\SYSTEM
Exception information:
    Exception type: HttpException
    Exception message: Request timed out.
Request information:
    Request URL:
    Request path: /ET-Service/ET-Service.asmx
    User host address:
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\SYSTEM
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\SYSTEM
    Is impersonating: False
    Stack trace:
Custom event details:

For more information, see Help and Support Center at


Hi. I hope this is the right place for this as I am new to this site and new to VS.net. I was wandering if anyone could tell me what it means when an error says that the program that I built in visual basic has encountered a problem and needs to shutdown. I made a program and in visual basic there are no errors and it builds just fine and runs fine in runtime and it even deploys (builds) just fine. I installed it on the same machine with visual studio and I can open and run the program, and it installs just fine on a machine without visual studio, but when I run the program the error comes up about it haveing encountered a problem and needs to shutdown. When I look at the error, it says EventType : clr20r3     P1 : learningyouralphabet.exe     P2 : 1.0.2241.25293   P3 : 43f939c3     P4 : learningyouralphabet     P5 : 1.0.2241.25293     P6 : 43f939c3     P7 : 1b     P8 : e9     P9 : system.invalidoperationexception

Does anyone know what this is from and how to resolve this issue. I have looked at numerous threads and I can not find an answer.




I am hosting Workflows (dll based) in a web application. I created my own TrackingService and my own TrackingChannel (code below). When starting a workflow, everything works fine, all events are tracked. After re-building my solution, workflows, that were running before, do not track anything anymore (although they continue execution). Info: On every build, the build number of all assemblies is increased by default.

I tried to reload the tracking profiles after loading workflows (using workflow.ReloadTrackingProfiles();), but this leads to the error above. 

What am I doing wrong?




Here is the code for the tracking service:

    public class EnablerWFTracking : TrackingService {


        private TrackingProfile profile;


        #region Constructor

        public EnablerWFTracking()

            : base() {

            profile = this.CreateTrackingProfile();




        #region CreateTrackingProfile

        private TrackingProfile CreateTrackingProfile() {

            // Listen for activity status changes

            ActivityTrackingLocation loc =

              new ActivityTrackingLocation(typeof(Activity));







            loc.MatchDerivedTypes = true;


            ActivityTrackPoint atp = new ActivityTrackPoint();



            // Return tracking profile

            TrackingProfile profile = new TrackingProfile();

            profile.Version = new Version(1, 0, 0, 0);



            return profile;




        #region TryGetProfile

        protected override bool TryGetProfile(Type workflowType, out TrackingProfile profile) {

            profile = this.profile;

            return true;




        #region GetProfile

        protected override TrackingProfile GetProfile(Guid workflowInstanceId) {

            return this.profile;


        protected override TrackingProfile GetProfile(Type workflowType, Version profileVersionId) {

            return this.profile;




        #region GetTrackingChannel

        protected override TrackingChannel GetTrackingChannel(TrackingParameters parameters) {

            return new EnablerTrackingChannel(parameters);




        #region TryReloadProfile

        protected override bool TryReloadProfile(Type workflowType, Guid workflowInstanceId, out TrackingProfile profile) {

            profile = this.profile;

            return true;







And here is the code for the tracking channel:

    public class EnablerTrackingChannel : TrackingChannel {


        private TrackingParameters parameters;


        #region Constructor

        public EnablerTrackingChannel(TrackingParameters parameters)

            : base() {

            this.parameters = parameters;




        #region Send

        protected override void Send(TrackingRecord record) {


            if (record is ActivityTrackingRecord) {

                ActivityTrackingRecord activityRec = (ActivityTrackingRecord)record;

                EnablerLog.Write(activityRec.ContextGuid.ToString() + "; " + activityRec.ParentContextGuid.ToString() + ";" + activityRec.QualifiedName + " (" + activityRec.ActivityType.Name + ") -> " + activityRec.ExecutionStatus);





        #region InstanceCompletedOrTerminated

        protected override void InstanceCompletedOrTerminated() {






<!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} -->



I regulary encounter the exception below. Often in the designer, or intermittantly at runtime on form load or when reseting a chart (i.e. clearing all the series of points).  It appears to be related to Axis Scale Breaks and seems to be a race condition since it comes and goes with minor often unrelated changes (ie. recompiling in Debug rather than Release builds). What I've observed is it's usually caused when series are added to a chart and the Axis scale break is enabled in the form constructor (i.e adding series and setting scale break on in Form_OnLoad() seems to "fix" the exception). Sometimes it's also thrown after I call Clear on all series, hence my suspicion that there's an unhandled edge case when scale break is on and the chart is empty.


Any suggestions on how to avoid as this totally kills my app.




System.InvalidOperationException: Axis object – Auto interval error due to invalid point values or axis minimum/maximum.

   at System.Windows.Forms.DataVisualization.Charting.Axis.CalcInterval(Double diff)

   at System.Windows.Forms.DataVisualization.Charting.Axis.EstimateNumberAxis(Double& minimumValue, Double& maximumValue, Boolean shouldStartFromZero, Int32 preferredNumberOfIntervals, Boolean autoMaximum, Boolean autoMinimum)

   at System.Windows.Forms.DataVisualization.Charting.AxisScaleBreakStyle.FillAxisSegmentCollection(AxisScaleSegmentCollection axisSegments)

   at System.Windows.Forms.DataVisualization.Charting.AxisScaleBreakStyle.GetAxisSegmentForScaleBreaks(AxisScaleSegmentCollection axisSegments)

   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetDefaultAxesValues()

   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetData(Boolean initializeAxes, Boolean checkIndexedAligned)

   at System.Windows.Forms.DataVisualization.Charting.ChartArea.SetData()

   at System.Windows.Forms.DataVisualization.Charting.ChartArea.ReCalcInternal()

   at System.Windows.Forms.DataVisualization.Charting.ChartPicture.Paint(Graphics graph, Boolean paintTopLevelElementOnly)

   at System.Windows.Forms.DataVisualization.Charting.ChartPicture.PaintOffScreen()

   at System.Windows.Forms.DataVisualization.Charting.Selection.HitTest(Int32 x, Int32 y, Boolean ignoreTransparent, ChartElementType[] requestedElementTypes)

   at System.Windows.Forms.DataVisualization.Charting.Selection.HitTest(Int32 x, Int32 y, Boolean ignoreTransparent)

   at System.Windows.Forms.DataVisualization.Charting.Selection.EvaluateToolTip(MouseEventArgs e)

   at System.Windows.Forms.DataVisualization.Charting.Selection.Selection_MouseMove(Object sender, MouseEventArgs e)

   at System.Windows.Forms.DataVisualization.Charting.Chart.OnChartMouseMove(MouseEventArgs e)

   at System.Windows.Forms.DataVisualization.Charting.Chart.OnMouseMove(MouseEventArgs e)

   at System.Windows.Forms.Control.WmMouseMove(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

   at System.Windows.Forms.Application.Run(Form mainForm)

   at Program.Main() in Program.cs:line 23

I am trying to perform a simple bound connection between an Access database and a text box on a form.  This is actually Chapter 18 of the "Microsoft Visual Basic 2008" book.

I get the same error message when trying to create my own project "MY ADO Form" or the "ADO Form" project supplied from the DVD provided with the book.  I am running the 90 Day Trial Version of Visual Studio 2008 with SP1 and Net 3.5 SP1.  My operating system is the 64 bit Version of Vista with all updates.

The error when I try to run the application in the debug mode is:

"A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll"

and as a result no data shows up in the text box from the database and the data selection bar is grayed out in the form.  The underlying database "Students Data Set" appears to be fine as I have seen the correct data for the fields "Instructor" and "PhoneNumber" prior to running the program and when connecting with the database.

Any help would be appreciated.





We're using WPF for offscreen rendering in our commandline application (it's a tool for a larger GUI application sharing the same codebase).

The app gives an System.InvalidOperationException with the message "Handle is not initialized." while exiting. This error occurs only in Release builds. Debug builds work fine.


Full Stacktrace:

   at System.WeakReference.set_Target(Object value)
   at System.Windows.Threading.Dispatcher.FromThread(Thread thread)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.IntDestroyWindow(HandleRef hWnd)
   at MS.Win32.HwndWrapper.DestroyWindow(Object args)
   at MS.Win32.HwndWrapper.Dispose(Boolean disposing, Boolean isHwndBeingDestroyed)
   at MS.Win32.HwndWrapper.Finalize()


To me this looks like an error in HwndWrapper or Dispatcher. As this is during program exit finalization of all remaining objects occurs. The WeakReference in Dispatcher is already finalized when the Dispatcher code is called from the finalizer of HwndWrapper. AFAIK access to finalizable object from the finalizer of another object is not a wise thing to do.

This is a dual core machine with Visual Studio 2008 SP1 and .NET 3.5 SP1.


Does anyone have an idea how I can workaround this issue. Apparently forcing creation of the window handle would probably solve the issue. But I cannot track down who is creating the HwndWrapper instance.





Am getting the exception related in the title of this article when using the StateMachineWorkflowInstance object to arbitarily set state in my workflow code; and am unsure why.  The code follows below:

  500ProtectedOverridesFunction Execute(ByVal executionContext As System.Workflow.ComponentModel.ActivityExecutionContext) As System.Workflow.ComponentModel.ActivityExecutionStatus



  506Dim smwi As StateMachineWorkflowInstance = New StateMachineWorkflowInstance(StaticWFRuntime.LocalRuntime, Me.WorkflowInstanceId)


  512'set workflow-wide database connection string

  513         _connectionString = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString


  519         Utility.LogEnabled()


  521         Utility.FoaeaLogger.WriteEntry("Processing TracingApplication.Execute()....", EventLogEntryType.Information)

  522If StaticWFRuntime.LocalRuntime IsNothingOrElse StaticWFRuntime.LocalRuntime.IsStarted = FalseThen

  523             Utility.FoaeaLogger.WriteEntry("No static RuntimeService object exists!", EventLogEntryType.Warning)






  796PrivateSub gotoState2_ExecuteCode(ByVal sender As System.Object, ByVal e As System.EventArgs)


  798Me._smwiList = New List(Of StateMachineWorkflowInstance)()

  799Me._smwiList.Add(New StateMachineWorkflowInstance(StaticWFRuntime.LocalRuntime, Me.WorkflowInstanceId))




(Encapsulation of the StateMachineWorkflowInstance object in Serializable-decorated class, like the generic List<T>, eliminates the non-serializable/persistence exception that would otherwise arise were the objects left unwrappeed within the code.)

This is the exception stack:

System.Workflow.Runtime Information: 0 : Activity Status Change - Activity: TracingApplication Old:Faulting; New:Closed
System.Workflow.Runtime Critical: 0 : Uncaught exception escaped to the root of the workflow.
    In instance 21eba1bb-d819-4d2c-9f11-65e579f4580f in activity 
Inner exception: System.InvalidOperationException: Instance operation is not valid on workflow runtime thread
   at System.Workflow.Runtime.InstanceLock.InstanceLockGuard.EnforceGuard(InstanceLock theLock)
   at System.Workflow.Runtime.WorkflowExecutor.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)
   at System.Workflow.Runtime.WorkflowInstance.EnqueueItemOnIdle(IComparable queueName, Object item, IPendingWork pendingWork, Object workItem)
   at System.Workflow.Activities.StateMachineWorkflowInstance.SetState(String targetStateName)
   at MidTier.WorkflowServices.TracingApplication.gotoState2_ExecuteCode(Object sender, EventArgs e) in C:\Projects\FOAEAv2.0\MidTier.WorkflowServices\TracingApplication.vb:line 806
   at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
   at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()
System.Workflow.Runtime Information: 0 : Workflow Runtime: WorkflowExecutor: Terminating instance 21eba1bb-d819-4d2c-9f11-65e579f4580f
System.Workflow.Runtime.Hosting Information: 0 : TimerEventSubscriptionQueue: 21eba1bb-d819-4d2c-9f11-65e579f4580f Suspend
System.Workflow.Runtime Information: 0 : Workflow Runtime: WorkflowExecutor: Calling SaveWorkflowInstanceState for instance 21eba1bb-d819-4d2c-9f11-65e579f4580f hc 23327763
System.Workflow.Runtime.Hosting Information: 0 : SqlWorkflowPersistenceService(00000000-0000-0000-0000-000000000000):Committing instance 21eba1bb-d819-4d2c-9f11-65e579f4580f, Blocked=0, Unlocked=True, NextTimer=12/31/9999 18:59:59


 Was formerly of the understanding that workflows executed on a single thread....why would I run a workflow on another thread? I assume the "Instance Operation" referred to in the stack is the state transition logic.  Is this the right approach to use when attempting state transitions the involve the SetState() method? What can I do to fix this error?



Hi I am getting the following error on my page:

System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at _default.commentCount(Int32 ArtID) at ASP.default_aspx.__DataBind__control4(Object sender, EventArgs e)....

I thought I had closed all the connections in my code:

Imports System.Data
Imports System.Data.SQLClient

Partial Class _default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    End Sub

    Sub commentDisplay()
        Dim pageno As Integer = Request.QueryString("page")
        Dim MyConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("nbb").ConnectionString)
        Dim MyDataAdapter As SqlDataAdapter
        MyDataAdapter = New SqlDataAdapter("art_getHomepage", MyConnection)
        MyDataAdapter.SelectCommand.CommandType = CommandType.StoredProcedure
        MyDataAdapter.SelectCommand.CommandTimeout = 120
        MyDataAdapter.SelectCommand.Parameters.Add("@page", SqlDbType.Int).Value = pageno
        'Create and fill a DataSet
        Dim ds As DataSet = New DataSet()
            'Display comments
            'Bind MyRepeater to the  DataSet. MyRepeater is the ID of the
            'Repeater control in the HTML section of the page
            MyRepeater.DataSource = ds
        Catch ex As Exception
            Response.Write("Sorry, there has been a problem please try again later")
        End Try
    End Sub

    Function commentCount(ByVal ArtID As Integer)
        ' Count comments
        Dim objCommand As SqlCommand
        Dim objConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("nbb").ConnectionString)
        objCommand = New SqlCommand("getCommentCount", objConnection)
        objCommand.CommandType = CommandType.StoredProcedure
        objCommand.Parameters.AddWithValue("article_id", ArtID)
        Return objCommand.ExecuteScalar().ToString
    End Function

End Class


Dear all,

I have a piece of code that works well on a standalone SharePoint installation:

publicvoid SetPeoplePickerProperty(string webAppUrl) {

// elevate permissions to allow setting of property.

SPSecurity.RunWithElevatedPrivileges(delegate() {

System.Uri srvrUri = new System.Uri(webAppUrl);

SPWebApplication webApp = SPWebApplication.Lookup(srvrUri);

if (!webApp.PeoplePickerSettings.OnlySearchWithinSiteCollection) {

webApp.PeoplePickerSettings.OnlySearchWithinSiteCollection = true;





When I deploy it to a server farm, I get the following error:

System.InvalidOperationException: This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products and Technologies Configuration Wizard, located on the Start menu in Administrative Tools.
   at Microsoft.SharePoint.Administration.SPWebApplication.Lookup(Uri requestUri)

The user running the query is farm administrator. It has the necessary access to the configuration database. The server running the code is joined to the farm.

Ideas anyone?




I am run the ETL package through the SQL Server Agent, the job fails with the error message

"System.InvalidOperationException: The 'IBMDA400.DataSource.1' provider is not registered on the local machine.".

But when i run trough the UI is runs fine.

I am uisng OLE DB driver to the connect to AS400.

can you please tekk ne where a im going wrong.

The  log file entery is as follows

   OnProgress,DCMS2100,RBGDC01\SMTSQL_service,LMS_ORDER_HEADER REFRESH,{78FE47C8-9539-4A20-8FC7-BC790204C2F0},{AF7E99E5-653C-4BF5-B5A1-B1E7CE2AEE9E},31/07/2006 19:57:30,31/07/2006 19:57:30,0,0x,Validating
OnProgress,DCMS2100,RBGDC01\SMTSQL_service,LMS_ORDER_HEADER REFRESH,{78FE47C8-9539-4A20-8FC7-BC790204C2F0},{AF7E99E5-653C-4BF5-B5A1-B1E7CE2AEE9E},31/07/2006 19:57:30,31/07/2006 19:57:30,50,0x,Validating
OnError,DCMS2100,RBGDC01\SMTSQL_service,LMS_ORDER_HEADER REFRESH,{78FE47C8-9539-4A20-8FC7-BC790204C2F0},{AF7E99E5-653C-4BF5-B5A1-B1E7CE2AEE9E},31/07/2006 19:57:31,31/07/2006 19:57:31,-1073450910,0x,System.InvalidOperationException: The 'IBMDA400.DataSource.1' provider is not registered on the local machine.
   at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
   at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
   at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.OleDb.OleDbConnection.Open()
   at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
   at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager90.AcquireConnection(Object pTransaction)
   at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper90 wrapper, Object transaction)
OnError,DCMS2100,RBGDC01\SMTSQL_service,LMS_ORDER_HEADER REFRESH,{78FE47C8-9539-4A20-8FC7-BC790204C2F0},{AF7E99E5-653C-4BF5-B5A1-B1E7CE2AEE9E},31/07/2006 19:57:31,31/07/2006 19:57:31,-1073450985,0x,component "DataReader Source" (1) failed validation and returned error code 0x80131509.


I've start to use VS2010 and this is my first app.

When i run the application on pc used for develop the application works perfectly, but when i install in another pc with XP or Vista i get always this error when i close most of the form created for the app.

Initially it was necessary to include the Microsoft Visual Basic PowerPacks 10.0 in the setup/prerequisities otherwise the app won't start.

 Someone have any ideas, to solve this problem?

Thank's in advance.



Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.InvalidOperationException: L'insieme è stato modificato. L'operazione di enumerazione potrebbe non essere eseguita.
   in System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   in System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   in System.Collections.Generic.List`1.Enumerator.MoveNext()
   in Microsoft.VisualBasic.PowerPacks.ShapeCollection.Dispose(Boolean disposing)
   in Microsoft.VisualBasic.PowerPacks.ShapeContainer.Dispose(Boolean disposing)
   in System.ComponentModel.Component.Dispose()
   in System.Windows.Forms.Control.Dispose(Boolean disposing)
   in System.ComponentModel.Component.Dispose()
   in System.Windows.Forms.Control.Dispose(Boolean disposing)
   in System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
   in System.ComponentModel.Component.Dispose()
   in System.Windows.Forms.Control.Dispose(Boolean disposing)
   in System.Windows.Forms.Form.Dispose(Boolean disposing)
   in WindowsApplication1.FCli.Dispose(Boolean disposing)
   in System.ComponentModel.Component.Dispose()
   in System.Windows.Forms.Form.WmClose(Message& m)
   in System.Windows.Forms.Form.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assembly caricati **************
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Versione assembly:
    Versione Win32:
    Base di codice: file:///C:/Documents%20and%20Settings/GIUSY/Impostazioni%20locali/Apps/2.0/HERM973N.9RN/ORKQMAE1.JNP/merc..tion_7d292fe31b8b352a_0001.0000_e0cc93b7f70d8942/Mercato.exe
    Versione assembly:
    Versione Win32: 10.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    Versione assembly:
    Versione Win32: 10.0.20911.1
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.PowerPacks.Vs/
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 built by: RTMRel
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Versione assembly:
    Versione Win32: 3.5.8080.0
    Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlServerCe/
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Data.resources.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    Versione assembly:
    Versione Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug

Ad esempio:

    <system.windows.forms jitDebugging="true" />

Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.



I'm using a FloatableWindow derived from a ContentControl that hosts a WebBrowser. When I add two FloatableWindows to a Canvas, each with a WebBrowser Control, and overlap them the following exception is thrown:

ExceptionObject = {System.InvalidOperationException: Content cannot be shown on the top of a WebBrowser.}

Is there any more information on why this is thrown or how to work around it? Can I try and catch this exception and just move on?


<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure