Welcome to Webhost4life Forum Sign in | Join | Faq

Dotnetnuke

Started by WIssam at 08-01-2007 3:05 AM. Topic has 1 replies.

Print Search
Sort Posts:    
   08-01-2007, 3:05 AM
WIssam is not online. Last active: 8/1/2007 6:03:57 PM WIssam

Not Ranked
Joined on 08-01-2007
Posts 1
Help! Problems Installing DNN 4.5.5
Reply Quote

Hello,

I am installing (not upgrading) DotNetNuke version 4.5.5 on my computer

I followed everything stated in this article http://www.mitchelsellers.com/Blogs/tabid/54/articleType/ArticleView/articleId/119/Installing-DotNetNuke-455-Locally.aspx

But now I have an error that I don't know how to handle, and it's kinda annoying me so I need a little help here.

What should I do to manage it?

Note that I followed every single step in the article, and my connection string is the following "server=localhost\\SQLEXPRESS;Trusted_connection=true;database=*****;"

 

Server Error in '/DotNetNuke455' Application.

Instance 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 80: 
Line 81: 'Determine the Upgrade status and redirect to Install.aspx
Line 82: Select Case GetUpgradeStatus()
Line 83: Case Globals.UpgradeStatus.Install
Line 84: If AutoUpgrade Then

Source File: c:\inetpub\wwwroot\DotNetNuke455\App_Code\Global.asax.vb    Line: 82

Stack Trace:

[InvalidOperationException: Instance failure.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) +69
DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) +780
DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script) +6
DotNetNuke.Data.SqlDataProvider.GetProviderPath() +191
DotNetNuke.Common.Globals.GetUpgradeStatus() +78
DotNetNuke.Common.Global.CheckVersion() in c:\inetpub\wwwroot\DotNetNuke455\App_Code\Global.asax.vb:82
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in c:\inetpub\wwwroot\DotNetNuke455\App_Code\Global.asax.vb:313


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


   Report 
   08-06-2008, 5:21 AM
SturdyErde is not online. Last active: 9/21/2008 1:44:00 AM SturdyErde

Top 10 Posts
Joined on 04-09-2008
Maine
Posts 127
Re: Help! Problems Installing DNN 4.5.5
Reply Quote
It's unfortunate to see no answers to these questions, so for future reference, I will give it a shot:

It looks like an issue with the connection string, which can always be hard to figure out when you're getting started.  (It seems like there are so many to change/fix/or remove!)
I can't tell if you copied the connection string from Mitch Sellers' blog as is, or if the asterisks indicate that you redacted your own database name.

If you copied the string and LEFT the asterisks in, then that is your problem.  Even when using SQL Server Express, you still need to specify the name of the database instance that you are using.

It looks like the code above errored out when the installation routine tried to query the database to find out if it was an upgrade or a new install - and could not because that information would have been stored (or not) in a predefined SQL database.

Hope that helps any new installers!

Sam

   Report 
Webhost4life Fo... » Auto Plug-ins » Dotnetnuke » Help! Problems Installing DNN 4.5.5

Powered by Community Server, by Telligent Systems