Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Test Bench error!
Message
De
04/12/2008 11:23:39
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
 
 
À
04/12/2008 11:11:31
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01364912
Message ID:
01365493
Vues:
13
Although the object instantiated it produces an method invoke failed with the following error:

Design time expression evaluation for class libraries requires the Visual Studio hosting process which is unavailable in this debugging configuration. vs2008.

I then rebuild my project and went back into the Tools/Options/Projects and Solutions and check the item again. This time it did instantiate, but I received the following error:

Method Invoke Failed

Details;
An unhandled exception of type 'System.NullReferenceException' occurred in OakLeaf.MM2008.Framework.dll

Additional information: Object reference not set to an instance of an object.

Turns out that I forgot to instantiate the AppTest class first. Once I did that, I was able to instantiate my objects and run a method fine.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform