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 14:42:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
23/09/2008 13:29:26
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349927
Message ID:
01349979
Views:
19
Hi Stuart,

>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:
>
>
It appears there is more than just a Business Object project involved since there are references to mmAppBase.get_AppSettingsMgr() in the stack. Can you give more details about what you have for an mm project?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform