Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Wednesday, June 19, 2013

Solve: Unexpected error writing metadata to file 'App.exe' - Not enough storage is available to complete this operation

If you get an error 
"Unexpected error writing metadata to file 'C:\Projects.2012\obj\x86\Debug\QurSaan.exe' -- 'Not enough storage is available to complete this operation."
after build your project under Visual Studio 2010.

Solution:
1. Clean Solution
2. Close Visual Studio 2010.
3. Delete all Files under C:\Projects.2012\obj\x86\Debug\ Directory.
4. Start Visual Studio 2010 and Build Solution.

Thursday, December 27, 2012

Solve: Error while displaying crystal report using visual studio 2010, 2012, 2013

The error message while trying to display crystal report using visual studio 2010
System.IO.FileNotFoundException was unhandled
Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
 Source=mscorlib
 FileName=file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
 FusionLog==== Pre-bind state information ===
 LOG: User = WKST04\GARYB
 LOG: Where-ref bind. Location = C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
 LOG: Appbase = file:///D:/S_and_G/LMS_DotNet/LMS_Solution/LMS/bin/Debug/
 LOG: Initial PrivatePath = NULL
 Calling assembly : (Unknown).

Solution: 

Friday, November 23, 2012

Solve: System.IndexOutOfRangeException on Fire Event DataGridView Rows

Fire any event on DataGridView may appear the following error:

System.IndexOutOfRangeException: Index -1 does not have a value.
    at System.Windows.Forms.CurrencyManager.get_Item(Int32 index)
    at System.Windows.Forms.CurrencyManager.get_Current()
    at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnRowEnter(DataGridViewCellEventArgs e)
    at System.Windows.Forms.DataGridView.OnRowEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, Boolean canCreateNewRow, Boolean validationFailureOccurred)
    at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)
    at System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
    at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
    at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
    at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.DataGridView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Sunday, May 1, 2011

How to: Reset the Visual Studio 2010 Environment Settings

To reset your Visual Studio settings:

1. From the Tools menu, click Import and Export Settings.