Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Test Bench error!
Message
From
04/12/2008 11:23:39
Tegron Tegron
Platinum Technologies
Ohio, United States
 
 
To
04/12/2008 11:11:31
Tegron Tegron
Platinum Technologies
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01364912
Message ID:
01365493
Views:
11
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform