Welcome Guest Search | Active Topics | Log In | Register

Integration>>Object Reference Not Set To An Instance of an Object Options · View
appliedtechtx
#1 Posted : Tuesday, September 16, 2008 1:27:18 AM

Rank: YAF Forumling


Joined: 9/16/2008
Posts: 8
Setup YAF independently first...works...100%.

Started integrating it with DotNetBlogEngine 1.4.5

and im getting a crazy error...and i can't dissect it in the code somehow...

****figured it out on MY OWN...when im done with the integration of the two...I'll post a build somewhere on blog engine's website...

and just to let everyone know...if you get this error...you probably have to set "enableSessionState" to "true" in web.config****

appliedtechtx
#2 Posted : Tuesday, September 16, 2008 6:03:45 AM

Rank: YAF Forumling


Joined: 9/16/2008
Posts: 8
original post was changed above...
Caffreys
#3 Posted : Monday, September 29, 2008 9:36:03 AM

Rank: YAF Forumling


Joined: 9/17/2008
Posts: 5
Location: Norwich
You are a life saver my friend Smile

Had the same problem - Object reference not set to an instance of an object.

Failing at this line:
Code:
this.Controls.Add( forumControl );


Funnily enough, session state wasn't set to true in my case but this is what I had:

<sessionState mode="Off" cookieless="false" timeout="20">

Anyways - commented it out, and my newly integrated forum is back and working Cheesy Grin Thanks for posting your find anyways mate, saved me a great deal of head scratching!

Tookiewana
#4 Posted : Tuesday, September 30, 2008 7:23:03 PM
Rank: Member




Joined: 4/9/2008
Posts: 10
I am experiencing the same error, but in a different place. 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())
Mek
#5 Posted : Tuesday, September 30, 2008 8:03:38 PM

Rank: YAF Developer



Joined: 7/12/2005
Posts: 1,324
Location: on Dock Street
responded to pm.


"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon Smile )
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.073 seconds.

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