Click here to Skip to main content
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 535
1 OriginalGriff 275
2 BillWoodruff 260
3 Shweta N Mishra 244
4 Deepu S Nair 230
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,818
2 DamithSL 4,958
3 Manas Bhardwaj 4,539
4 Maciej Los 3,755


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 19 May 2012
Copyright © CodeProject, 1999-2014
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