Discuss , our SFTP/FTP/FTPS/SCP server for Windows. Secure, fast and customizable!
no avatar
User

Bob Mc

Posts

7

Joined

Wed Sep 19, 2012 12:38 am

Authentication Exception BadImageFormat

by Bob Mc » Wed Nov 14, 2012 5:02 am

We're having an intermittent problem with CompleteFTP Server with a user authentication extension that we've written. For the most part it works fine, but on an intermittent basis the invocation of the extension fails with the following log entry:

2012-11-13 09:39:00,914 ERROR COR.UserManager [556] Plugin OurPlugin failed - trying next plugin
System.BadImageFormatException: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x8013101B)
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at UwOJjvO6etrllJ5HTQM.uwpQQlO1a2shd4goMYe.wqZ8Y1F2x5(String , Boolean )
at UwOJjvO6etrllJ5HTQM.uwpQQlO1a2shd4goMYe.p158XimHPr(IObjectProvider , Guid , String , Boolean )
at awoYse0QjhVhv5yptv8.kQrlTJ0M1cyt1oPiKeR.RyWFDAgtf5(Site , oPdgSp0m6XG0d33virN , String )

We took out the supported runtime reference for .Net 2 from the config file and left the .Net 4 reference. Our extension is also using the .Net 4 libraries. So I don't think that's the issue. We've also rebuilt the extension assembly several times to no avail.

Can someone indicate what are likely candidates for this error? Where should we begin our search?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Authentication Exception BadImageFormat

by support2 » Wed Nov 14, 2012 7:06 am

Hi, please take a look at the following FAQ:

http://www.enterprisedt.com/forums/viewtopic.php?t=4133

Who is online

Users browsing this forum: No registered users and 25 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron