Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not set to an instance of an object
Message
De
23/09/2008 14:42:07
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
23/09/2008 13:29:26
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01349927
Message ID:
01349979
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform