![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Posts: 68
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Aug 2005
Posts: 68
Rep Power: 4
![]() |
please, help!
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Oct 2006
Posts: 146
Rep Power: 2
![]() |
try installing SP1 and 2
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
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.
|
|
|
|
|
|
#5 |
|
Hobbyist Programmer
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2
![]() |
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.
__________________
You never test the depth of a river with both feet. The believer is happy. The doubter is wise. Free speech carries with it some freedom to listen. The next generation will always surpass the previous one. It`s one of the never ending cycles of life. |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Aug 2005
Posts: 68
Rep Power: 4
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VB O5 Program Running Problem..Think its .net framework | Silent | Visual Basic .NET | 3 | Dec 15th, 2005 4:43 AM |
| .NET Timer Form closing issue | MBirchmeier | C# | 4 | Nov 21st, 2005 10:00 AM |
| Goal of .Net Framework or Mono | pr0gm3r | Other Programming Languages | 5 | Sep 9th, 2005 3:28 PM |
| DirectX with C# and .NET 1.0 | Mad_guy | C# | 8 | Jun 12th, 2005 3:34 AM |