Display: Cloud | List
Most Popular Tags
Results (78 total) All > exception (x)
The GridView fired event RowDeleting which wasn't handled (Modifying Data in a GridView Web Server Control)
Remember to handle the RowDeleting event when using the delete command functionality or an exception will be thrown. Leaving the event handler empty also prevents the exception. Refer to http://forums.asp.net/p/984999/1268481.aspx
Last modified by no149 on 4/13/2012 8:40:55 PM
DirectoryNotFoundException (FileUpload.SaveAs Method (System.Web.UI.WebControls))
The SaveFile method throws a System.IO.DirectoryNotFoundException if the path contains a directory that does not exist.
Last modified by aptitude on 6/15/2011 10:59:29 AM
Tags:  exception
Cannot find IALoader.dll anywhere! (Handwriting Recognition)
I've installed the Tablet SDK v1.7 on a Windows Xp machine.I'm running a Windows Forms app in Vs 2008 in .Net 3.5.Side note, although this project is not using it, I do have VS 2010 and .Net 4.0 installed as well.My problem is simply yet extremely frustrating.When doing an InkAnalyzer.Analyze() I get the dreaded cannot find IALoader.dll blah blah blah exception.I know everyone says it's either inC
Last modified by Prime12 on 5/5/2011 2:01:05 PM
The last sentence here "If you allow any exceptions to escape the Finalize method, the system assumes that the method returned, and continues calling the Finalize methods of other objects." is incorrect. This behavior was only true for .NET 1.0 and 1.1.As of .NET 2.0, any unhandled exceptions occurring in a Finalizer, tear down the entire .NET process as documented on Chris Brumme's and Joe Duffy
Last modified by Dave Black on 4/11/2011 3:46:32 PM
Problems with mode "AutoSize" (DataGridView.VirtualMode Property (System.Windows.Forms))
If the "AutoSize"-property is set to "true" and the user manually scrolls to the end of the grid, an "ArgumentOutOfRange"-Exception will be thrown. I tested this with the given example code from this article.
Last modified by Timo Theo Paschke on 2/18/2011 10:43:15 AM
Backslashes are not allowed in names for named mutexes (Mutex Constructor (Boolean, String, Boolean) (System.Threading))
Besides special cases of "Global\" and "Local\", backslash character '\' is not allowed in mutex names. If backslash exists in name, exception similar to following will be thrown:new Mutex(true, @"\MyName"); System.IO.DirectoryNotFoundException: Could not find a part of the path '\MyName'.
Last modified by soyuz on 1/7/2011 9:46:44 PM
Tags:  backslash  exception  mutex  name
Exception thrown for -Variables (Using the Invoke-Sqlcmd cmdlet)
Example3 fails unless the spaces are removed in the variable array. This is due to a bug in SQL Server : More details here:https://connect.microsoft.com/sqlserver/feedback/details/358291/invoke-sqlcmd-powershell-cmdlet-fails-when-array-passed-via-variable andhttp://social.technet.microsoft.com/Forums/en-us/sqltools/thread/0af5b947-2852-41bc-b95d-b19abde18ef7
Last modified by Thomas Lee on 1/31/2011 7:47:53 PM
Executing outside of Console app (Console.WindowWidth Property (System))
If Console.WindowWidth is called not in application labeled as "Console", for example in WPF or WinForms app, it will throw IOException. Specifically: System.IO.IOException: The handle is invalid. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded) at System.Console.get_WindowWidth()
Last modified by soyuz on 12/1/2010 12:15:44 AM
Non-64 bit COM Servers (Troubleshooting Exceptions: System.Runtime.InteropServices.COMException)
The specific COM exception that arises from HRESULT 0x80040154 (Class not registered) can occur when a .NET application running on a 64-bit platform attempts to create an instance of a COM coclass that is not 64-bits. Here is an example in C# : Object newObj = Activator.CreateInstance(Type.GetTypeFromProgID("MyCOMServer.MyCOMClass")); If the COM server (that houses the COM coclass with
Last modified by Tailor on 1/19/2012 6:04:02 AM
Dealing with Exception Errors During Form Load (Form.Load Event (System.Windows.Forms))
The VB.NET event firing sequence, when a form is loading, has a different order than VB6. It was ILRAP (Initialize, Reload, Resize, Activate, Paint), but is now TRLAP (TextChanged, Resized, Load, Activate, Paint). TextChanged and Resized events fire first because in the InitializeComponents method, the invocation of PerformLayout will force the TextChanged and Resized events to fire, if they a
Last modified by DavidRossG on 7/22/2010 8:34:10 PM
Tags:  exception  form  load
Page view tracker