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 ...Install Error TroubleshootingInstall Error Troubleshooting
Previous
 
Next
New Post
10/24/2006 3:41 PM
 
Hi,

Fresh install of 4.3.5 with SQL2000 - the portal installs, builds the database, installs the modules then:


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.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +125
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +5768
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


I have seen other posts on webconfig settings but don't think I have a problem here -

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express
    <add
      name="SiteSqlServer"
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\DNN.mdf;"
      providerName="System.Data.SqlClient" />
    <! Connection String for SQL Server 2000/2005 -->
    <add name="SiteSqlServer" connectionString="Server=pcstart;Database=DNN;uid=sa;pwd=oscar99;" providerName="System.Data.SqlClient" />

  </connectionStrings>

  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules  
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\DNN.mdf;"/>
    <! Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
    <add key="SiteSqlServer" value="Server=pcstart;Database=DNN;uid=sa;pwd=oscar99;" />


Can anyone pinpoint what may be wrong here - the SQLExpress connection section is commented out as I just couldn't get it to work with this ....

Patrick

 
New Post
10/27/2006 5:28 AM
 

Hi,

I do have a similar problem while installing DNN 4.3.5 (w/ SQL Server 2000 on WinXP/Pro). I get an error page with some suggestions regarding the setting to access rights and one line of error message:

Object reference not set to an instance of an object.

Connection to database seems to be ok (a single table 'version' is created within, but w/o records). Access rights for users NETWORK SERVICE and ASPNET are set properly. I've tried to re-install DNN, virtual dir and database - w/o success. Also tried to install .NET 2.0 SDK additionally (due to missing adodb.dll with .NET 2.0 runtime installation) - also no effect.

Any hint will be welcome.

Detlev

 
New Post
10/27/2006 2:31 PM
 

Hi,

I now brought it to work:

- take a fresh web.config from distribution
- edit the file with notepad and change sql server connection, save modified file
- restart IIS

done !

Seams, the the ASP.NET configuration editor (within IIS virtual dir properties) will render the file errneously...

Detlev

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install Error TroubleshootingInstall Error Troubleshooting


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