Click here to Skip to main content
11,636,985 members (72,684 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 4: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 stibee 313
1 jyo.net 295
2 OriginalGriff 263
3 Sergey Alexandrovich Kryukov 240
4 Suvendu Shekhar Giri 225
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web01 | 2.8.150728.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