Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys,

Just a quick question -

I have a Windows Form (C#) with a WCF reference built on VS 2008, Windows 7.
Everything works ok. The form connects to the service, gets the data I need, and outputs it to the form.

Once I deploy/move the application to a Windows XP Pro machine - nothing works!

I have 3.5, 3.0 and 2.0 frameworks installed with all the updates.

Has anyone had a similar issue before? Or knows what could be going wrong? Perhaps I need to release the app with all references inbuilt?

Thanks for your help!

Xav.
Posted

I ran into this and it was a third party DLL that was the problem (I think in that case it was the .Net MySQL library).

But, yes, if you've got all the frameworks in and patched, you're likely looking for a reference. Check the error you're getting/logging and if it's an assembly problem you should be able to spot it very quickly. You can either bake it in or just copy the DLL to the target machine to make it tick.

Cheers.
 
Share this answer
 
Comments
Nish Nishant 17-Jul-10 7:47am    
Reason for my vote of 5
Reasonably good reply. 5!
I ran into something similar the other night and it turned out there was an exception being thrown that was just being swallowed rather than crashing the app.

Wrapping all the WCF method calls in try/catch and displaying/logging the exception revealed my particular issue which was then easy to solve. (I should have done this from the beginning of course anyway! :doh: )
 
Share this answer
 
Comments
Nish Nishant 17-Jul-10 7:48am    
Reason for my vote of 5
Good response. Worth 5. I recommend that the OP try this to get closer to the solution.
Are you using WAS hosting? If so i guess it's not supported in XP
 
Share this answer
 
Comments
Nish Nishant 17-Jul-10 7:50am    
Reason for my vote of 5
This is a fairly good suggestion/possible cause too. 5!
ive avoided the missing dll's by using a web reference rather than a web service...

apparently the web reference works with older systems.

The only problem I have now is - it takes sometimes up to 30 sec for the app to launch + run successfully. After the initial run, it only takes a second or so for it to fire!

Very strange : ( ~
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900