64bit .Net MVC application problem

win32api

New Member
Good day!
I uploaded my MVC application with x64 configuration to the server and got an error
System.BadImageFormatException: Could not load file or assembly

For testing i ran the Visual Studio and created standart initial MVC application with x64 configuration. I uploaded it to the server and got same error. You can see it now on the page - http://pornstarbyface.com/ (the site will not contain adult content).
Application with x86 (32bit) configuration works well, but the 64-bit application does not work.
I think the problem in the Application Pool on IIS. The problem described here:
http://stackoverflow.com/questions/...oad-file-or-assembly-when-publich-x64-applica
It looks like my site in a Application Pool with Enable 32-bit Applications property. Can you switch me to the x64 pool? is there a possibility to change Application Pool ?
 

Quags

Administrator
Staff member
Are you on Windows shared hosting or ASP.net shared hosting?

This sounds like it may be possible on Plesk 12.5 or Oynx (asp.net hosting)

Older/legacy windows shared (ppa 11.5) could not.

We can migrate you off to plesk 12.5
 

win32api

New Member
Are you on Windows shared hosting or ASP.net shared hosting?

This sounds like it may be possible on Plesk 12.5 or Oynx (asp.net hosting)

Older/legacy windows shared (ppa 11.5) could not.

We can migrate you off to plesk 12.5

Thanks for your reply.
I use your standard hosting - https://www.interserver.net/webhosting/windows-hosting-details.html
You do not need to migrate my application. I decided to cancel shared hosting and buy your VPS.
Can I set up a VPS server for 64-bit applications? Can I configure the IIS as i want on VPS?
 

Quags

Administrator
Staff member
A windows vps has full Administrator access. Only 64 bit os's for windows are available.

On KVM - windows2008 or 2012 are available
on HyperV windows2012 or 2016 are available.

You can configure IIS as needed.
 
Top