Register   Login
     
  Latest Posts  
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
Has pay-per-ad. been added yet?
by wpmilk on 1/08/2009 7:13 PM
RE: Zoom for map
by richardcook on 1/08/2009 6:39 PM
RE: Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 5:47 PM
Simple Lightbox
by eureka on 1/08/2009 5:39 PM
RE: Does anyone have XHTML Compliant PA Template
by netmds on 1/08/2009 5:21 PM
User Profile Integration
by blob150 on 1/08/2009 5:07 PM
RE: RSS and Calendar Icons not showing in new template
by lolorn on 1/08/2009 4:38 PM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 3:38 PM
Use Lists in host menu in custom field
by Codepoint on 1/08/2009 3:32 PM
  Forums  
Subject: upgrading my site (made in DNN 3.2 ) to DNN 4.5
Prev Next
You are not authorized to post a reply.

Author Messages
frz1User is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

5/07/2007 9:09 PM  

I am telling u what steps i followed

  1. Downloaded the source version of DNN4.5
  2. Made a website in IIS
  3. Unzipped the downloaded zip file in a folder
  4. Pointed the new site to this folder  ( i.e www folder ) and configured it to run in 2.0
  5. Renamed released.config  to web. config
  6. Create a new database in SQL SERVER 2005 Express and changed web.config connection string to point this
  7. Open my site in MICROSOFT VISUAL STUDIO 2005 , and run this by pressing F5
  8. Installation process starts and new blank site is created
  9. Now i installed my modules made in DNN3.2 in this newly created site
  10. Now taken backup of database of my site made in DNN 3.2
  11. Created new database  ( called DNNbeta4 ) in SQL SERVER 2005 Express and restore the backup of database of my site
  12. Changed the web config of this site ( which installed now ) to point  newly created database ( i.e  DNNbeta4 )
  13. 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 &quot;Debug=true&quot; directive at the  top of the file that generated the error. Example:<br />
            <br />
            &nbsp;&nbsp;<%@ Page  Language=&quot;C#&quot; Debug=&quot;true&quot; %><br />
            <br />
            or:<br />
            <br />
            2) Add the following section  to the configuration file of your  application:<br />
            <br />
            <configuration><br />
            &nbsp;&nbsp;&nbsp;<system.web><br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<compilation  debug=&amp;quot;true&amp;quot;/><br />
            &nbsp;&nbsp;&nbsp;</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
Antonios ValamontesUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:40


5/08/2007 4:17 AM  
can you give a copy of your existing con string? it sounds that you are not making the right connection to the database and last, which SQL are you using? SQL 2005 or SQL 2005 Express?

Adonis Valamontes
GreekeMedia.com
GreekBusinessUSA.com
Greek Radio Toolbar
Antonios ValamontesUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:40


5/08/2007 12:41 PM  
Make sure you have the right permissions set on your dir and IIS for your DotNetNuke Default Site. Does your Default Webite Work OK? and if so, try creating a portal to see if the permissions are set correctly!

Adonis Valamontes
GreekeMedia.com
GreekBusinessUSA.com
Greek Radio Toolbar
You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > upgrading my site (made in DNN 3.2 ) to DNN 4.5



ActiveForums 3.7