I would like to start to develop under DNN. I just downloaded
Source Code Package »
Contains everything including full application source code.
but I have 2 problems:
1) When I configure IIS site pointed to /DotNetNuke_Community/ web site, I get this error, even with configure connectionString
Server Error in '/' Application.
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 561: //first call GetProviderPath - this insures that the Database is Initialised correctly Line 562: //and also generates the appropriate error message if it cannot be initialised correctly Line 563: string strMessage = DataProvider.Instance().GetProviderPath(); Line 564: //get current database version from DB Line 565: if (!strMessage.StartsWith("ERROR:"))
|
Source File: c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\Library\Common\Globals.cs Line: 563
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Globals.get_Status() in c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\Library\Common\Globals.cs:563 DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) in c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\Library\Common\Initialize.cs:116 DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) in c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\Library\Common\Initialize.cs:181 DotNetNuke.Common.Initialize.Init(HttpApplication app) in c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\Library\Common\Initialize.cs:275 DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_BeginRequest(Object sender, EventArgs e) in c:\ttt\!!!!!!!\NewDNN\DotNetNuke_Community_06.02.03_Source\Community\DotNetNuke.Web\Common\DotNetNukeHttpApplication.cs:161 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
2) I can't publish web site, error:
Error 108 The type or namespace name 'DDRMenu' does not exist in the namespace 'DotNetNuke.Web' (are you missing an assembly reference?) C:\DotNetNuke_Community_06.02.04_Source\website\admin\ControlPanel\RibbonBar.ascx.cs 149
Error 109 The name 'adminMenus' does not exist in the current context C:\DotNetNuke_Community_06.02.04_Source\website\admin\ControlPanel\RibbonBar.ascx.cs 302