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 Installation ErrorsDNN Installation Errors
Previous
 
Next
New Post
2/21/2007 3:49 PM
 

For several days I have attempted to install the install version of DNN 4.4.  I end up with the same error message each time.  See error message at the end of page.  I followed both the PDF instructions and the related threads in the Install It! forum.  That include the following key tasks:

1- Adding the ASPNET user to the source folder.

2 - Rename release.config to web.config

3 - Edit the web.config file to point to updated SQL Server 2000 connection string in both appSettings and connectionStrings sections.

4 - Create virtual directory with correct ASP.NET framework selected - 2.0.50727

I'm at a lost as to what to do next.  Help.

  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.]
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name) +1132
   System.Web.Hosting.ISAPIWorkerRequest.GetServerName() +15
   System.Web.HttpRequest.get_Url() +282
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +144
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Server Error in '/IT' Application.

Object reference not set to an instance of an object.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

 

 
New Post
2/21/2007 6:39 PM
 
Don't know if this helps you but I just ran into the same problem (i.e. same error) when I forget to remove the comment tags around the SQLServer keys in web.config.
 
New Post
2/21/2007 7:21 PM
 

Additional info for my problem.  Sometimes after closing the browser and attempting to install app again, I get the following.  Hopes this identifies the issue with installation.

 

  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:

Line 76:                 Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77:                     If AutoUpgrade Then
Line 78:                         Response.Redirect("~/Install/Install.aspx?mode=Install")
Line 79:                     Else
Line 80:                         CreateUnderConstructionPage()

Source File: C:\IT\App_Code\Global.asax.vb    Line: 78

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name) +1841
   System.Web.Hosting.ISAPIWorkerRequest.ReadRequestHeaders() +121
   System.Web.Hosting.ISAPIWorkerRequest.GetKnownRequestHeader(Int32 index) +126
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetKnownRequestHeader(Int32 index) +104
   System.Web.HttpRequest.FillInHeadersCollection() +30
   System.Web.HttpRequest.get_Headers() +70
   System.Web.Configuration.BrowserCapabilitiesFactoryBase.GetHttpBrowserCapabilities(HttpRequest request) +28
   System.Web.Configuration.HttpCapabilitiesEvaluator.EvaluateFinal(HttpRequest request, Boolean onlyEvaluateUserAgent) +23
   System.Web.Configuration.HttpCapabilitiesEvaluator.Evaluate(HttpRequest request) +182
   System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) +162
   System.Web.HttpRequest.get_Browser() +134
   System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url) +51
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +93
   System.Web.HttpResponse.Redirect(String url) +6
   DotNetNuke.Common.Global.CheckVersion() in C:\IT\App_Code\Global.asax.vb:78
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\IT\App_Code\Global.asax.vb:252

Server Error in '/IT' Application.

Object reference not set to an instance of an object.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 
New Post
2/22/2007 8:46 AM
 

Thanks hc1994 for your response.  I believe I correctly remove the extra comment tags.  Here is my web.config.:

<!--

<

 

<!--

<add

name="SiteSqlServer"

connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"

providerName="System.Data.SqlClient" />

 

</

<

<!--

<

<!--

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>

 

Anywhere else I can look?

LenMack

Connection String for SQL Server 2000 -->add name="SiteSqlServer" connectionString="Server=(local);Database=ITDB;uid=mit_user;pwd=maricom;" providerName="System.Data.SqlClient" /> Connection String for SQL Server 2005 Express-->connectionStrings>appSettings> Connection String for SQL Server 2000 - kept for backwards compatability - legacy modules -->add key="SiteSqlServer" value="Server=(local);Database=ITDB;uid=mit_user;pwd=maricom;" /> Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules-->
 
New Post
2/22/2007 10:35 AM
 

Hi LenMack - looks like there still might be a problem.  Anything between <!-- and --> will be commented out.  It looks like you have some starting comment tags before your sitesqlserver key but I don't see ending ones.  Any chance you could post your whole web.config, being sure to hide any username/password info?  I think that's the problem in your instance.

Thanks,

Erik

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN Installation ErrorsDNN Installation Errors


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