Welcome Guest Search | Active Topics | Log In | Register

NullReferenceException upgrading an existing database Options · View
Tookiewana
#1 Posted : Tuesday, September 30, 2008 7:24:15 PM
Rank: Member




Joined: 4/9/2008
Posts: 10
I followed the tutorial on integrating YAF 1.9.3 into an existing ASP site with membership/roles/profiles already set up, but I am experiencing a problem with my database. When I upgrade my database, I get a null reference exception on the following lines of install/default.aspx.cs:

private void FixAccess(bool bGrant)
{
using (YAF.Classes.Data.YafDBConnManager connMan = new YafDBConnManager())
test2005
#2 Posted : Tuesday, September 30, 2008 8:43:23 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
Make sure you specify valid connection settings in the membership/roles/profiles providers of the web.config file
.....the man in black fled across the desert..........and the gunslinger followed.....

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.053 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET