Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not set to an instance of an object
Message
From
23/09/2008 13:29:26
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Not set to an instance of an object
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349927
Message ID:
01349927
Views:
51
Hi
I am trying to call my business objects from a vanilla dll. In my tests everything works fine, but when I try calling the function that uses the business objects from VFP I get the error below. I assume I am not pulling in the all the MM classes into the main solution, but I have set references.
Thanks
Stuart
I know this is all a bit vague but it’s the best I can do at the moment
System.NullReferenceException was caught
  Message="Object reference not set to an instance of an object."
  Source="OakLeaf.MM2008.Framework"
  StackTrace:
       at OakLeaf.MM.Main.mmAppBase.get_AppSettingsMgr()
       at nms.apc.business.ABusinessObject`1.get_myColl() in F:\vs2008liveProjects\wsBusiness\ABusinessObject.cs:line 120
  InnerException:
Next
Reply
Map
View

Click here to load this message in the networking platform