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.