Red Gate forums :: View topic - AccessViolationException
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager Previous Versions
SQL Packager Previous Versions forum

AccessViolationException

Search in SQL Packager Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
adrianbanks



Joined: 04 Aug 2005
Posts: 17

PostPosted: Wed May 21, 2008 5:19 pm    Post subject: AccessViolationException Reply with quote

We have packaged a database and are getting an error when the exe is run (near to the end of the unpackage). I'm using Packager 5.3.0.80.

The error is:

"System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted."

Any ideas what could be causing this? I don't currently have access to any more information about the error, but wondered if there were known causes.

Thanks,
Adrian
Back to top
View user's profile Send private message
adrianbanks



Joined: 04 Aug 2005
Posts: 17

PostPosted: Thu May 22, 2008 11:25 am    Post subject: Reply with quote

I've managed to get a stack trace from when the error was thrown:

Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.

Server stack trace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Package.DBInstall.ProgressDialog.Update(Object sender, ProgressStatusEventArgs e)
at Package.DBInstall.PackageExecutor.OnStatus(ProgressStatusEventArgs e)
at Package.DBInstall.PackageExecutor.ExecutePackage()
at Package.DBInstall.PackageExecutor.Execute()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at Package.DBInstall.ProgressDialog.Run(IProgressExecutor executor)
at Package.DBInstall.PackageApplication.ExecutePackageWithUI()


Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group