My computer environment: Windows XP (SP2) + VS2005
I install DNN 4.0.2 in the following steps:
1. Download and Install DotNetNuke_4.0.2_StarterKit.vsi
2.Run VS 2005,Creat a new web site (File System) named SH
3.Add a SQL Server item(use the default name Database.mdf) in App_Data directory;
4.Rename the release.config to web.config
5.Press Ctrl+F5......Installation OK!
But,when i click the"Press here to access your portal",I always get the following error,How can i do?
Thank you Very Much!
Server Error in '/SH' 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:
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) +3837
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +138
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42