Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Instance FailureInstance Failure
Previous
 
Next
New Post
8/29/2006 5:23 PM
 
I have installed DotNetNuke and am using SQL Server 2005 Standard. When I run DotNetNuke, I get the following failure:

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.InvalidOperationException: Instance failure.

Source Error:

Line 73:
Line 74: 'Determine the Upgrade status and redirect to Install.aspx
Line 75: Select Case GetUpgradeStatus()
Line 76: Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
Line 77: If AutoUpgrade Then


Source File: C:\Documents and Settings\Stuart Gygi\My Documents\Visual Studio 2005\WebSites\DotNetNuke Test1\App_Code\Global.asax.vb Line: 75

Stack Trace:

[InvalidOperationException: Instance failure.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +575
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +160
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +122
System.Data.SqlClient.SqlConnection.Open() +229
DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) +113
DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) +995
DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script) +37
DotNetNuke.Data.SqlDataProvider.GetProviderPath() +279
DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +35
DotNetNuke.Common.Globals.GetUpgradeStatus() +132
DotNetNuke.Common.Global.CheckVersion() in C:\Documents and Settings\Stuart Gygi\My Documents\Visual Studio 2005\WebSites\DotNetNuke Test1\App_Code\Global.asax.vb:75
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Documents and Settings\Stuart Gygi\My Documents\Visual Studio 2005\WebSites\DotNetNuke Test1\App_Code\Global.asax.vb:252


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Prior to this, I was unable to connect to the database, but found a connection string that passed that error and brought me to this failure.

Can anyone help me.

Stuart Gygi
 
New Post
8/29/2006 6:55 PM
 

Are you using DNN Version 4.3.4?  Is your "DotnetNuke Test1" folder setup as a Virtual Directory?  

Global.asax.vb file:

'Determine the Upgrade status and redirect to Install.aspx
            Select Case GetUpgradeStatus()
                Case Globals.UpgradeStatus.Install, Globals.UpgradeStatus.Upgrade
                    If AutoUpgrade Then
                        Response.Redirect("~/Install/Install.aspx?mode=Install")
                    Else
                        CreateUnderConstructionPage()
                        Response.Redirect("~/Install/UnderConstruction.htm")
                    End If
                Case Globals.UpgradeStatus.Error
                    If AutoUpgrade Then
                        Response.Redirect("~/Install/Install.aspx?mode=none")
                    Else
                        CreateUnderConstructionPage()
                        Response.Redirect("~/Install/UnderConstruction.htm")
                    End If
            End Select 

 

Can you display some info within your web.config file please?  Make sure you are using the correct connection string for your db (there are 4 of them in ver. 4.3.4) and see what your <add key="AutoUpgrade" value="?" /> is set to either "true or false"?

Then type the following in the browser:

URL: http://www.Your-Domain-Name.com/install/install.aspx?mode=upgrade

 
New Post
9/5/2006 10:57 PM
 
I was using version 4.3.2. I deleted it and installed version 4.3.4.
I have defined a virtual directory for the DotNetNuke Test folder.

The error message changed to the following:
Format of the initialization string does not conform to specification starting at index 104.

The error occurs at the same line in global.asax.vb.

Here is my connection string:


Here iare the app settings:
















I am not running in a domain setting.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Instance FailureInstance Failure


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out