Click here to Skip to main content
15,921,169 members
Home / Discussions / C#
   

C#

 
GeneralRe: Xml Serialization with C# Pin
J4amieC2-Apr-08 1:08
J4amieC2-Apr-08 1:08 
QuestionHow do I Clear the contents of my Datagridview Pin
Quinton2-Apr-08 0:25
Quinton2-Apr-08 0:25 
AnswerRe: How do I Clear the contents of my Datagridview Pin
Luc Pattyn2-Apr-08 0:49
sitebuilderLuc Pattyn2-Apr-08 0:49 
GeneralRe: How do I Clear the contents of my Datagridview Pin
Quinton2-Apr-08 2:15
Quinton2-Apr-08 2:15 
QuestionMath Equations Pin
nike_arh1-Apr-08 23:56
nike_arh1-Apr-08 23:56 
GeneralRe: Math Equations Pin
Luc Pattyn2-Apr-08 0:07
sitebuilderLuc Pattyn2-Apr-08 0:07 
GeneralRe: Math Equations Pin
Russell Jones2-Apr-08 0:39
Russell Jones2-Apr-08 0:39 
Questionwindows application code(exporting datatable to .csv format) Pin
sharanabasava1-Apr-08 23:46
sharanabasava1-Apr-08 23:46 
GeneralRe: windows application code(exporting datatable to .csv format) Pin
Giorgi Dalakishvili1-Apr-08 23:53
mentorGiorgi Dalakishvili1-Apr-08 23:53 
QuestionHow to change animation in waitcursor in compact framework? Pin
scoroop1-Apr-08 23:26
scoroop1-Apr-08 23:26 
QuestionHow can i add tab bar using VS 2008 in WPF Application? Pin
bankey10101-Apr-08 23:17
bankey10101-Apr-08 23:17 
AnswerRe: How can i add tab bar using VS 2008 in WPF Application? Pin
Simon P Stevens2-Apr-08 1:53
Simon P Stevens2-Apr-08 1:53 
QuestionHow to call a c++ function from c# program Pin
sree1-Apr-08 23:14
sree1-Apr-08 23:14 
AnswerRe: How to call a c++ function from c# program Pin
N a v a n e e t h1-Apr-08 23:19
N a v a n e e t h1-Apr-08 23:19 
GeneralRe: How to call a c++ function from c# program Pin
sree1-Apr-08 23:33
sree1-Apr-08 23:33 
GeneralRe: How to call a c++ function from c# program Pin
Jonathan [Darka]2-Apr-08 0:19
professionalJonathan [Darka]2-Apr-08 0:19 
GeneralWTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:12
Harvey Saayman1-Apr-08 22:12 
Hey Guys,

I just got the scariest Exception I've ever seen!

It reads... AccessViolationException Was Unhanded, Attempted To Read Or Write Protected Memory. This is often an indication that other memory is corrupt.

In Visual Studio It points out Application.Run(new frmMain()); As the culprit

I have no idea why this happens, it seems random because i call only one method and it works most of the time. Even when i do get the Exception the program got around to logging data in my database (thhis is the 2nd last step of the process I'm coding) So im thinking it might be where i call These methods...

cmd.Dispose(); //sql command
newSqlConn.Close(); //sql connection
newSqlConn.Dispose();


But i might be wrong, i still need a way to replicate the damn error so that i can step though the code and see exactly where it breaks.

So my question is this, have any of you ever come across this error? Why does it happen and where do u think i should start looking to fix it?

thanx

Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)

GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:24
professionalphannon861-Apr-08 22:24 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:29
Harvey Saayman1-Apr-08 22:29 
GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:38
professionalphannon861-Apr-08 22:38 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:47
Harvey Saayman1-Apr-08 22:47 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 22:39
Rob Philpott1-Apr-08 22:39 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:45
Harvey Saayman1-Apr-08 22:45 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 22:46
Rob Philpott1-Apr-08 22:46 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:57
Harvey Saayman1-Apr-08 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.