Developer forum

Forum » Development » 64-bit Windows Server

64-bit Windows Server


Reply

Hi,

 

Is Dynamicweb supported on Windows Server 64-bit?

 

Are there any known issues or problems?

 

Kind Regards,
Emil

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Emil

 

All the new webservers hosting Dynamicweb here is X64 bit Windows - so it works - and it works great.

 

Dynamicweb is not compiled to 64 bit though - because we depend on a lot of 3rd party assemblies which is not 64 bit compatible.

 

Simply runn IIS in 32 bit mode:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true

 

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/55cd5e11-49a9-4158-8b1f-7f2aa4ad2f07.mspx?mfr=true

 

 
Reply

Alright! Thanks for the info.

 
Peter Gustafsson
Reply
Hi,
We have problems with all image related functions on our new windows server. Its 64-bit.
DW version is 19.2.5.2 - wich according to http://developer.dynamicweb-cms.com/downloads/all-releases.aspx is also known as 7.2?

As written in this post it should work on 64-bit with that version as we understand it?
http://developer.dynamicweb-cms.com/forum.aspx?PID=48&ThreadID=23685

For example there are no thumbs showing under Files in DW.
When rightclicking and image and choosing Edit the error message below gets thrown.
Also the getimage.aspx in frontend is not working.

What might be the problem and how can it be fixed?

Sincerely
/Peter

URL: /Admin/Filemanager/ImageEditor/Edit.aspx?File=/Files%2FBilleder/Chrysanthemum.jpg
Error:

Server Error in '/' Application.

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

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.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
   WebSupergoo.ABCpdf7.Internal.NSettings._get_Version() +0
   WebSupergoo.ABCpdf7.Internal.NSettings.get_Version() +38
   WebSupergoo.ABCpdf7.XSettings.get_Version() +26
   WebSupergoo.ABCpdf7.Internal.ManagedInvoke..ctor() +284
   WebSupergoo.ABCpdf7.Internal.ManagedInvoke..cctor() +31

[TypeInitializationException: The type initializer for 'WebSupergoo.ABCpdf7.Internal.ManagedInvoke' threw an exception.]
   WebSupergoo.ABCpdf7.Internal.ManagedInvoke.get_Data() +0
   WebSupergoo.ABCpdf7.Internal.NDoc.New() +38
   WebSupergoo.ABCpdf7.Doc..ctor() +13
   WebSupergoo.ImageGlue6.Canvas..ctor() +43
   Dynamicweb.Admin.Edit1.CopySrcFile(String file, String tmpFile) +102
   Dynamicweb.Admin.Edit1.CreateTemporaryCopy(String file) +399
   Dynamicweb.Admin.Edit1.Page_Load(Object sender, EventArgs e) +184
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420


 
Peter Gustafsson
Reply
Hi again,
We solved this by setting 32-bit mode on the app pool process for the web application.
/Peter

 

You must be logged in to post in the forum