Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Programming Languages (http://www.programmingforums.org/forum38.html)
-   -   Yet another .NET issue (http://www.programmingforums.org/showthread.php?t=12794)

Lesliect6 Mar 14th, 2007 6:03 AM

Yet another .NET issue
 
Hello,

The reason I am posting this is because I just can't figure out the problem of my .NET app. The situation is the following:
I have a program which works fine on my computer. It works also on my other one, both have the .NET framework. A few days ago I added a function which handles printing to my app. It works fine on the first, but does not on the second. I get the standard .NET error message : "Error executing program", which means either .NET is not installed, or one or more dlls are missing. Now, I really don't know why I am receiving this error message, because the two computers are IDENTICAL, same version of .NET, same dlls, same OS, same everything, EXCEPT the second does not have any service packs installed. The program works fine without the printing functions, but does not without. This is kind of confusing. I don't know if it may help, but the printing functions are in the System.Drawing.Printing namespace, which had to be imported to the project. This is the only difference between the two versions of the program.
I'd also like to mention that I explicitly copied the dll associated with this namespace to the other computer as well.

I'd really like this to work, please help,

Leslie

Lesliect6 Mar 18th, 2007 5:35 PM

please, help!

physicist Mar 18th, 2007 6:50 PM

try installing SP1 and 2

PhilBon Mar 18th, 2007 8:11 PM

I'm guessing that when you install the SP that the SP changes something in the Registry. Because just coping the files doesn't do anything in win XP cause of the registry. So Installing the SPs should fix the problem.

pegasus001 Mar 19th, 2007 10:26 AM

Is it sure that is the same version of the .NET framework(.NET 2.0 or 1.1 etc). Because there are some components that only run in one. I had a program written in .NET 1.1 and in my machine i had installed .NET 2.0 and it could`t be instaled until i installed .NET 1.1.

Lesliect6 Mar 21st, 2007 9:08 AM

Thank you, now I understand! It must be the registry then. I will install SP then, it should work. Thanks!

By the way, both of the .NET versions are the same.

Leslie


All times are GMT -5. The time now is 2:13 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC