473,503 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help with service on win 2003 server x64

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
Apr 25 '06 #1
2 1275
Here's a link on how to do it (watch for url wrapping):

http://www.microsoft.com/technet/pro....mspx?mfr=true

DJ
"Sedgehog" wrote:
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

Apr 25 '06 #2
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.

Thanks.
Apr 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4173
by: Marty McDonald | last post by:
If I invoke a web service, and it throws an exception, I can see the exception if the client app is a .Net app. However, if the client app is not a .Net app, I only receive the HTTP 500 error. I...
2
2556
by: cd | last post by:
Is there a specific process or permissions that must be granted to get a .NET (framework 1.4) Window Service to run properly on a Windows 2003 Server? I built a Windows Service to start two local...
5
2673
by: pberna | last post by:
Dear all, I built a Web Form application to start and stop a Windows Service remotely. I successful tested the application on Windows 2000 server + IIS. I must include the ASPNET user to the...
4
2899
by: Bruce | last post by:
I am developing an ASP.NET web service application. It works fine on my WinXP Prof development machine. But when I send it to a Windows Server 2003 system I get the following error (attached...
2
1431
by: Joey | last post by:
I am currently developing a C# asp.net application where users are required to register. The application then generates a simple, plain text email and sends it to the new user. I have been...
13
3597
by: Siegfried Heintze | last post by:
I refered the engineer at my hosting service to http://support.microsoft.com/default.aspx?scid=kb;en-us;825738 where he tried to follow the directions there. He said there was no such file:...
6
4959
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
2
2014
by: Jeffrey Tate via DotNetMonster.com | last post by:
The error is: The proxy settings on this computer are not configured correctly for Web discovery. MSDN states that this is caused by: This error appears in the Add Web Reference dialog box if...
0
928
by: batista | last post by:
Hello, I have a web service that i created in IIS 5.1,on windows xp. it has a method "stopservice" in which im stopping the aspnet_wp.exe,to clean all resources.And im using a boolean set to...
0
3154
by: SOI_0152 | last post by:
Hi all! Happy New Year 2008. Il hope it will bring you love and happyness I'm new on this forum. I wrote a stored procedure on mainframe using DB2 7.1.1 and IBM language c. Everything works...
0
7201
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7083
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7456
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.