•   Mountain View 1600, CA 94043
  •   +1 650-253-0000
  •   name@example.com
     Search
 
  • Register
 
Login
InteractiveWebs
  • InteractiveWebs Home
  • Services
    • -DotNetNuke Support
    • -CRM Systems
    • -Domain Names
  • DotNetNuke Modules
    • -DotNetNuke Modules
    • -Module Downloads
    • -Module Upgrade Policy
  • Support
    • -Module Update News
    • -Knowledge Base
    • -License Management
    • -Invoice History
  • Blog
  • Contact Us
    • -About Us
  • Store
SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeSupportSupportBulk EmailerBulk EmailerModule Fails With Chilkat x32 and x64 VersionModule Fails With Chilkat x32 and x64 Version
Previous
 
Next
New Post
6/25/2013 1:12 PM
 
User is offline Phillip Coyle
No Ranking


Joined: 6/24/2013
Posts: 3
Module Fails With Chilkat x32 and x64 Version  (United States) Modified By Phillip Coyle  on 6/25/2013 2:10:25 PM
Hello,

I installed the x32 bit trial version of the Bulk HTML module yesterday and received a BadImageFormat error on my website due to the ChilKatDotNet2.dll file. I read through the module manual and saw on page 14 that if I receive this error, I should uninstall the module and try the x64 bit version, which I did. However, even after installing the x64 bit version, I still receive a BadImageFormat error.

Today, I checked with my ISP and verified that I should in fact be using the x64 bit version. Also, because my website is hosted on a shared server, my ISP is only able to grant medium trust to the module rather than full trust. Could this be the problem? If so, is there a workaround for websites on shared servers?

What recommendations do you have seeing that neither the x32 nor the x64 bit version of the ChilKat module is working?

Thanks,
Phil
 
New Post
6/26/2013 1:47 AM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Re: Module Fails With Chilkat x32 and x64 Version  (Australia)
Almost can't be the case unless we have packaged the incorrect dll with a release.

the only file to be concerned about is the one in the /bin directory called: ChilKatDotNet2.dll 

Install one version, if it dies. Delete that file, then manually extract the dll from our package and place it in the /bin.  Check that it is not the same file size. The 32 and 64 bit versions of that file are significantly different in size.

Incidentally. A lot of host think that because they run 64 bit OS that the site is 64 bit. By default IIS runs in 32 bit mode. To change to 64 bit mode is easy, but a lot of host are too stupid to do that.
 
New Post
6/26/2013 4:19 AM
 
User is offline Phillip Coyle
No Ranking


Joined: 6/24/2013
Posts: 3
Re: Module Fails With Chilkat x32 and x64 Version  (United States) Modified By Phillip Coyle  on 6/26/2013 4:20:07 AM
I verified I was uploading the correct version of the .dll by checking the file size as you suggested. Neither version works.

However, when I uploaded the x32 bit version of the .dll today, I received the following error rather than the BadImageFormat error:

Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)
 
New Post
6/26/2013 12:07 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Re: Module Fails With Chilkat x32 and x64 Version  (Australia)
This is indicating that your host has setup your DotNetNuke site to run under Medium Trust. 

Due to the fact that the Chilkat.dll that we use for many things in the module is written in C++, it will require FULL TRUST when used on a DotNetNuke site.

The forum post on their website is saying this (in a very techie unfriendly way).
http://www.chilkatforum.com/questions...

You will need to get your host to change this trust level in IIS. After this you will find that the 32 bit version will work fine. As suspected, you appear to be dealing with a host that does not understand the difference between 32 and 64 bit setup on IIS. It is common for hosts who don't really understand things to want to "be more secure" with Medium Trust, where many DNN modules will require Full Trust. As is the case with this one. If they give you grief, then change hosts. Most of the big DNN hosts all run in Full Trust as they should. 

We also provide DotNetNuke hosting and have all our sites running in 64 bit mode and Full Trust.


 
New Post
7/3/2013 4:30 PM
 
User is offline Phillip Coyle
No Ranking


Joined: 6/24/2013
Posts: 3
Re: Module Fails With Chilkat x32 and x64 Version  (United States)
Hmmm, alright.

I submitted a support ticket with my host and have re-confirmed with them that granting full trust to a module is not an available option since I am on a shared server. I also just finished moving to this host last week, so I'm not about to pick up and move yet again just to get this module working.

So there is no way to get this module to work unless ChilKatDotNet2.dll has full trust?
 
New Post
7/3/2013 9:31 PM
 
User is offline DNN Module Support
1st Level Poster

Joined: 8/28/2006
Posts: 2056
Re: Module Fails With Chilkat x32 and x64 Version  (Australia)
No, because the chilKatDotNet2.dll is written (not buy us) in C++ it will require Full Trust, and that is required for our module to work.

Shame about the host saying that. It is actually an easy process, even on a shred environment to give all sites running DotNetNuke full trust. This is going to cause you similar problems with many of the more advanced modules.

I would hassle them again, as full trust does not give you some sort of server wide hacking access as perhaps they think.
 
 Page 1 of 1
Previous
 
Next
HomeHomeSupportSupportBulk EmailerBulk EmailerModule Fails With Chilkat x32 and x64 VersionModule Fails With Chilkat x32 and x64 Version


Connect to us

Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement
Login Register

Need to Register? Forgot password?

Just want to login?
Copyright (c) 2018 InteractiveWebs : Terms Of Use : Privacy Statement