Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 14th, 2007, 5:03 AM   #1
Lesliect6
Programmer
 
Join Date: Aug 2005
Posts: 68
Rep Power: 4 Lesliect6 is on a distinguished road
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 is offline   Reply With Quote
Old Mar 18th, 2007, 4:35 PM   #2
Lesliect6
Programmer
 
Join Date: Aug 2005
Posts: 68
Rep Power: 4 Lesliect6 is on a distinguished road
please, help!
Lesliect6 is offline   Reply With Quote
Old Mar 18th, 2007, 5:50 PM   #3
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 2 physicist is on a distinguished road
try installing SP1 and 2
physicist is offline   Reply With Quote
Old Mar 18th, 2007, 7:11 PM   #4
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
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.
PhilBon is offline   Reply With Quote
Old Mar 19th, 2007, 9:26 AM   #5
pegasus001
Hobbyist Programmer
 
pegasus001's Avatar
 
Join Date: Nov 2006
Location: 163H
Posts: 213
Rep Power: 2 pegasus001 is on a distinguished road
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.
pegasus001 is offline   Reply With Quote
Old Mar 21st, 2007, 8:08 AM   #6
Lesliect6
Programmer
 
Join Date: Aug 2005
Posts: 68
Rep Power: 4 Lesliect6 is on a distinguished road
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
Lesliect6 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:07 AM.

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