This is making me go nuts! I worked for a long long time on this project, but on computer with .NET 2.0 it refuses to run, and now it doesn't even run if 2.0 is uninstalled and 1.1 is installed.
The only computer I can get it to work on is my old computer that it was developed on!
On other computer it has the following error Class not registered!, Object reference not set to an instance of an object!
The person I am developing the project for could run it until he uninstalled his .NET runtime and installed the new one! After that it refuses to run!
This really pisses me off as I heard .NET was backwards compatible, I guess not. If someone could help me I'd be more than happy! It's close to a crisis here :(
Thank You,
Jonatan
Problem running .NET application
8 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 393.4K pointsPosted Aug 20, 2006, 5:59 PM EDT
Jonatan9 pointsPosted Aug 21, 2006, 1:28 AM EDT
Could it be some of the components I am using causes this problems?
Jonatan
Mahesh ChandRank #1 · 393.4K pointsPosted Aug 21, 2006, 3:18 AM EDT
Jonatan9 pointsPosted Aug 21, 2006, 6:24 AM EDT
Yes, as far as I know I have set it up propely, the problem it works perfectly fine on my development machine with no exceptions or warning what so ever. Is there a program such as dependency walker for C++ for fidning what causes an error while trying to run a C# program?
Mahesh ChandRank #1 · 393.4K pointsPosted Aug 21, 2006, 6:36 AM EDT
Did your application ever work on any non-DEV machine? If not, it's possible you are missing one of the components. I think better would be to get a fresh machine and install all the components you need one by one.
Jonatan9 pointsPosted Aug 22, 2006, 6:54 AM EDT
After this the program stopped working, there was no other files deleted or changed!!!
This is why I can only think of incompability between .NET version.
Mahesh ChandRank #1 · 393.4K pointsPosted Aug 22, 2006, 6:23 PM EDT
If I was you, I will try to remove all versions of .NET and application from production machine and then install .NET 1.1 and then install the application to see if it works.
Jonatan9 pointsPosted Aug 28, 2006, 5:57 AM EDT
Yes, I also found it unacceptable this is why I am upset. I did exactly as suggested and uninstalled all .NET versions and a re-install. The application doesn't work.
The only thing I can imagine being wrong is incompability between .NET version. I am about to give up :( I don't think I'll write a .NET application again.