Click here to Skip to main content
15,887,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 :)

Thanx,
Umer Aziz Malik
Posted
Comments
Zoltán Zörgő 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 19-May-12 11:30am    
Thanx for the suggestion :)

1 solution

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 :)
 
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