I am telling u what steps i followed
- Downloaded the source version of DNN4.5
- Made a website in IIS
- Unzipped the downloaded zip file in a folder
- Pointed the new site to this folder ( i.e www folder ) and configured it to run in 2.0
- Renamed released.config to web. config
- Create a new database in SQL SERVER 2005 Express and changed web.config connection string to point this
- Open my site in MICROSOFT VISUAL STUDIO 2005 , and run this by pressing F5
- Installation process starts and new blank site is created
- Now i installed my modules made in DNN3.2 in this newly created site
- Now taken backup of database of my site made in DNN 3.2
- Created new database ( called DNNbeta4 ) in SQL SERVER 2005 Express and restore the backup of database of my site
- Changed the web config of this site ( which installed now ) to point newly created database ( i.e DNNbeta4 )
- Now browse my site installation process starts but shows errors on some steps and finally shows this error page
Server Error in '/test_shark' 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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:<br />
<br />
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:<br />
<br />
<%@ Page Language="C#" Debug="true" %><br />
<br />
or:<br />
<br />
2) Add the following section to the configuration file of your application:<br />
<br />
<configuration><br />
<system.web><br />
<compilation debug=&quot;true&quot;/><br />
</system.web><br />
</configuration><br />
<br />
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.<br />
<br />
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +47 DotNetNuke.Common.Utilities.Config.GetConnectionString() +38 DotNetNuke.Data.SqlDataProvider..ctor() +83
[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 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582 DotNetNuke.Data.DataProvider.CreateProvider() +39 DotNetNuke.Data.DataProvider..cctor() +13
[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.] DotNetNuke.Common.Globals.GetUpgradeStatus() +67 DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) +248 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210