Fix ChilkatDotNet2
Last Post 02/27/2014 11:30 AM by Darnell. 7 Replies.
Author Messages
Darnell
Nuke Active Member
Nuke Active Member
Posts:35


--
02/26/2014 3:40 PM  
I am moving a site from shared to a dedicated server. In the process of testing the site, I get the error:
Could not load file or assembly 'ChilkatDotNet2' or one of its dependencies. An attempt was made to load a program with an incorrect format.

The app pool has 32 bit enabled. But the error persists. Can anyone offer guidance?
Joseph Craig
DNN MVP
Posts:11667


--
02/26/2014 6:51 PM  
Did you move from a 32-bit server to a 64-bit server?

Thanks to a blog entry at http://www.alexjamesbrown.com/, it appears that the dll mentioned is a 32-bit version.

To fix this, "Open up IIS Manager, right click on the app pool, and select Advanced Settings. Select IIS AppPool Advanced Settings. Then set “Enable 32-bit Applications” to True."

Joe Craig, Patapsco Research Group
Complete DNN Support
Darnell
Nuke Active Member
Nuke Active Member
Posts:35


--
02/26/2014 8:22 PM  
I read the same advice and the “Enable 32-bit Applications” to True." settings have been done. The error still persists.
Darnell
Nuke Active Member
Nuke Active Member
Posts:35


--
02/26/2014 8:50 PM  
On the server I am moving FROM I see that the 32 bit enabled is set to 'False', so I set it to 'False' on the destination server. I now get a 500 Internal server error. The site still works on the old server.
Joseph Craig
DNN MVP
Posts:11667


--
02/27/2014 7:06 AM  
Is the FROM server a 32 or 64-bit OS?

Joe Craig, Patapsco Research Group
Complete DNN Support
Darnell
Nuke Active Member
Nuke Active Member
Posts:35


--
02/27/2014 7:24 AM  
It is a 64 bit. I copied the settings from the FROM server (which I should have done in the first place), then I fixed the 500 error. During the transfer I didn't get a completed _default folder transferred. The skin folder and possibly some other files were missing. I was able to find that out by looking at the database tables under portals/_default/logs. I replaced the entire folder.

On a separate issue, a different site won't login. I will make a new thread for that.

Thanks for your time Joseph.
Joseph Craig
DNN MVP
Posts:11667


--
02/27/2014 8:17 AM  
So this is solved now?

Joe Craig, Patapsco Research Group
Complete DNN Support
Darnell
Nuke Active Member
Nuke Active Member
Posts:35


--
02/27/2014 11:30 AM  
Yes, this is solved.


---