all groups > dotnet web services > april 2006 >
You're in the

dotnet web services

group:

help with service on win 2003 server x64


help with service on win 2003 server x64 Sedgehog
4/25/2006 3:39:01 AM
dotnet web services:
hi

I am having a problem getting my web service to run on server 2003 x64. The
web service uses some dlls and these are 32-bit dlls. When running the web
method which uses these dlls, I get the follwing error

An attempt was made to load a program with an incorrect format.

Does anyone have any ideas as to the solution of this. I have tried making
the assembly 32bit using corflags, but then the web service doesnt
initialise.

I have spent a lot of time on this to no avail, please help

Martin

RE: help with service on win 2003 server x64 D.J. Heap
4/25/2006 7:45:02 AM
Here's a link on how to do it (watch for url wrapping):

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

DJ


[quoted text, click to view]
RE: help with service on win 2003 server x64 Sedgehog
4/27/2006 1:59:01 AM
Thanks for the reply DJ Heap. Although this information was useful, I have
already configured my system this way. When I switch to 32bitapponwin64 the
service will not run. It says "Service Unavailable".

I have found a work around in that I no longer use the dlls. I have
integrated what I need to do from the dlls into the web service directly and
what I cant do, I will do manually.

AddThis Social Bookmark Button