Jump to content


Photo

Attempted to read or write protected memory


  • Please log in to reply
1 reply to this topic

#1 Brian Stark

Brian Stark
  • Members
  • 1 posts

Posted 07 November 2007 - 07:51 PM

I am getting the following exception while running an application:

<Exception>
<Data />
<Message>Attempted to read or write protected memory. This is often an indication that other memory is corrupt.</Message>
<Source>Interop.sfFTPLib</Source>
<StackTrace>
at sfFTPLib.FTPConnectionSTAClass.get_LastReply()
at Dub.DeleteClip() in Dub.cs:line 600
at Dub.Run(Object o) in Dub.cs:line 322
</StackTrace>
<TargetSite>System.String get_LastReply()</TargetSite>
</Exception>

The application runs perfectly on my machine, which is where I wrote it, but not on any other machine. I always get that error.

Thanks.

#2 mb

mb

    Developer

  • Administrators
  • 11528 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 07 November 2007 - 08:06 PM

Hello ..

1. Install/use the latest version of the FTP Library
2. When using C# you can use the FTPConnectionMTA class instead of the FTPConnectionSTA class.

We can only debug such problems if you can provide a demo application which reproduces the crash.

Regards,
Mat
SmartFTP




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users