Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN supposedly installs successfully, then default page errors (object reference)DNN supposedly installs successfully, then default page errors (object reference)
Previous
 
Next
New Post
7/18/2008 9:15 PM
 

Hi,

I am hoping some of you can help me. I have attempted to install this so many times, i'm ready to give up.  (Each time i start with a fresh unzip of DNN as well as a fresh DB)

Anyway, Here's my process. Maybe someone can catch what i'm doing wrong.  This is on a shared hosting server with Verio

-First, I create the application root on the server.  This creates the folder. 
-I then unzip the DNN package to this directory.
-I then correct the web.config file (<customErrors mode="Off" />)
-I then begin the wizard. 
   - Set up for SQL Server, on a remote server.  Connection test succeeds, file permission test succeeds
   - All installation scripts run, return a success message.

-Then I click to finish and load the default page, and get the following error:

 

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +378
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1180
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

Any ideas?  Everything appears to be successul, the tables are all created, but I get the object reference/null error.

Thanks

Kevin

 
New Post
7/19/2008 1:21 AM
 

Something I should add:

 

I was browsing for possible solutions and found this: http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/35/tpage/1/view/Topic/postid/23821/Default.aspx

While looking it over, I noticed i don't have a "DotNetNuke.HttpModules.UrlRewrite.dll" in my BIN directory.  The closest thing i have is "DotNetNuke.HttpModules.dll"

I'm not sure if the web.config is referencing it, but this could be it.  Does anyone else have or not have this DLL in their bin dir?  I have DNN this version: "DotNetNuke_04.08.04_Install.zip"

 
New Post
7/19/2008 9:07 AM
 

I don't have a solution for you, but it might help to know which version of DotNetNuke you are trying to install, and which package you are using.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
7/19/2008 9:23 AM
 

Sorry, I thought I posted the version: "DotNetNuke_04.08.04_Install.zip"


If not, please let me know how to find the version i'm using.

Thanks

Kevi

 
New Post
7/19/2008 10:24 AM
 

Hi Kevin,

At some point in the past, the DNN httpModules were merged into one assembly DotNetNuke.HttpModules.dll.  Since you have this assembly in your application bin directory, everything is okay there (you'd get a different error if ASP.NET couldn't find the class or assembly anyway).

My recommendation would be to download the DNN source, open up the Library/HttpModules/DotNetNuke.HttpModules.sln solution file, and compile it with debugging symbols.  I've tried suggesting to the DNN team that they provide assemblies with debug symbols, but at this point you'll have to perform this step yourself.

Once you have the debug-enabled assembly in place, deploy it to your DNN bin directory and recreate the error.  You should now get line numbers in addition to the call stack.  Paste this additional information here, and I should be able to target your exact error.

Let me know if you have trouble compiling the httpModule project; I'll be happy to do it for you (I plan on providing them on my blog, but was waiting on 4.8.5 to be released before I did the work).

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN supposedly installs successfully, then default page errors (object reference)DNN supposedly installs successfully, then default page errors (object reference)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out