Click here to Skip to main content
11,478,896 members (59,271 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Hello guys,

I have a database application built on .NET 4.0 Client Profile. It works fine on my own machine but when I try to run it on our client's server, it starts but doesn't display any data. The framework versions installed are:

Local Machine:
MS .NET Framework 4 Client Profile - version 4.0.30319
MS .NET Framework 4 Extended - version 4.0.30319
MS .NET Framework 4 Multi Targeting Pack - version 4.0.30319

Target Machine
MS .NET Framework 4 Client Profile - version 4.0.30319
MS .NET Framework 4 Extended - version 4.0.30319

I'd appreciate if anyone could come up with a solution. Suggestions are welcome Smile | :)

Thanx,
Umer Aziz Malik
Posted 18-May-12 5:49am
Comments
Zoltán Zörgő at 18-May-12 14:03pm
   
Don't you get eny error message, exception? Have you looked in system and application log? Are you shipping every assambly you use?
Try http://www.netomatix.com/development/DependsNet.aspx or http://www.ndepend.com/ to find a missing assambly. And read this one too: http://msdn.microsoft.com/en-us/library/8kche8ah(v=vs.71).aspx
Umer Aziz Malik at 19-May-12 11:30am
   
Thanx for the suggestion :)

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I added logging to the application. And found out that MySql.Data was missing, so the application threw an exception which was handled so nothing happened and the application dint crash. So i re-built the application t=at the target machine and it started to work Smile | :)
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 200
1 F-ES Sitecore 195
2 Frankie-C 120
3 OriginalGriff 105
4 DamithSL 95
0 Sergey Alexandrovich Kryukov 7,880
1 OriginalGriff 7,341
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 19 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100