Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NullReferenceException when creating DataSet
Message
 
À
27/05/2003 01:26:23
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00792723
Message ID:
00793177
Vues:
38
Mark,

Does your second Web application have the following code in its Global.asax.cs file?
protected void Application_Start(Object sender, EventArgs e)
{
	App = new WebApp();
}
This code is automatically placed in Global.asax.cs by the MM .NET project creation wizard. Unless this code executes, the factory does not get instantiated.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform