Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Install Version 4.0.2
Previous Previous
 
Next Next
New Post 3/26/2006 11:24 AM
User is offline Michael Walk
28 posts
10th Ranked


Install Version 4.0.2 

I downloaded Version 4.0.2 unzipped the files and placed them in a folder DotNetNuke which I placed in C:\Websites\DotNetNuke.

I then opened VWD and created a new database called Database.mdf in SQL Server 2005 Express.

Next I renamed release.config and edit web.config as below

<connectionStrings>

<!-- Connection String for SQL Server 2005 Express -->

<add name="DotNetNuke" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient"/>

<!-- Connection String for SQL Server 2000/2005

<add

name="SiteSqlServer"

connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"

providerName="System.Data.SqlClient" />

-->

</connectionStrings>

<appSettings>

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

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

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules

<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>

-->

<add key="InstallTemplate" value="DotNetNuke.install.config"/>

<!-- Alternative Install Templates (included in package)

<add key="InstallTemplate" value="Club.install.config" />

<add key="InstallTemplate" value="Personal.install.config" />

<add key="InstallTemplate" value="SmallBusiness.install.config" />

-->

<add key="AutoUpgrade" value="true"/>

<add key="InstallMemberRole" value="true"/>

<add key="ShowMissingKeys" value="false"/>

<add key="EnableWebFarmSupport" value="false"/>

<add key="EnableCachePersistence" value="false"/>

</appSettings>

 

I get the following error when I hit control F5.

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:

Line 84: 
Line 85:             'Determine the Upgrade status and redirect to Install.aspx
Line 86:             Select Case GetUpgradeStatus()
Line 87:                 Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 88:                     If AutoUpgrade Then

Source File: C:\Websites\DotNetNuke\App_Code\Global.asax.vb    Line: 86

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +80
   DotNetNuke.Data.SqlDataProvider..ctor() +209

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   System.Activator.CreateInstance(Type type) +6
   DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +221
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +801
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, Boolean UseCache) +56
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType) +36
   DotNetNuke.Data.DataProvider.CreateProvider() +41
   DotNetNuke.Data.DataProvider..cctor() +27

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Data.DataProvider.Instance() +0
   DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +26
   DotNetNuke.Common.Globals.GetUpgradeStatus() +450
   DotNetNuke.Common.Global.CheckVersion() in C:\Websites\DotNetNuke\App_Code\Global.asax.vb:86
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Websites\DotNetNuke\App_Code\Global.asax.vb:263

 

 

any installation help or advice would be welcome.

thanks.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Install Version 4.0.2
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP