i am using visual studio 2013. when i am try to select combobox values i am this error (Accessviolationexception was unhandled:
(Attempted to read or write protected memory. This is often an indication that other memory is corrupt.)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Data.SqlServerCe;
using System.Threading;
namespace Rpos
{
static class Program
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new LoginPage()); // i am getting exception in this place (AccessViolationException was unhandled )
}
}
}
pls help me anyone as soon as possible..........thanks in advance
SatPosted Dec 22, 2014, 2:26 AM
Joginder BangerPosted Dec 22, 2014, 2:25 AM
The project bus built on 32 bit operating system and i was trying to run on 64 bit operating system.
Goto configuration manager platform select the appropriate platform.
or try this link
http://bytes.com/topic/c-sharp/answers/947976-i-get-system-accessviolationexception-unhandled
Ashraf AnsariPosted Dec 22, 2014, 2:01 AM
Please increase the virtual memory for VS studio and close some unwanted applications.
SatPosted Dec 22, 2014, 12:09 AM
SatPosted Dec 21, 2014, 11:51 PM
SatPosted Dec 21, 2014, 11:19 PM
as soon as possible.....
Vinodh NarayananPosted Dec 20, 2014, 11:59 AM
http://bytes.com/topic/c-sharp/answers/947976-i-get-system-accessviolationexception-unhandled
hope it will works.... buddy
Abhay ShankerPosted Dec 20, 2014, 9:15 AM
http://stackoverflow.com/questions/12509252/unhandled-exception-system-accessviolationexception-attempted-to-read-or-write