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 ...Error when trying to v=connect from pc ...Error when trying to v=connect from pc ...
Previous
 
Next
New Post
2/1/2007 9:43 AM
 

I have installed DNN 4.4.1 today using the starterkit.vsi method.

It went ok, I logged on as admin on the server and changed a few pages around and got a feel for things in general.

I tried to connect to the remote server from my pc and I got an error message which is included below in full ...

  ------------------------------------------------------------------------------------------------------------------

DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

Unable to open the physical file "E:\intranet_nuke01\App_Data\Database.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)". An attempt to attach an auto-named database for file E:\intranet_nuke01\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

-------------------------------------------------------------------------------------------------------------------

I am not sure why it thinks there is an 'upgrade' error as it was a fresh install on a server that was built from scratch today, there are no previous copies of DNN installed and no other apps running than those that need to be.

I am stumped?

I also noticed that I can only select a skin with a horizontal menu? vertical selection caused things to error?

 

Hope someone can help, be careful with me I am new to this ... ;O)

 

Phil

 
New Post
2/1/2007 11:13 AM
 

Ok ... I reinstalled it all ... i get the same error?!

I noticed something differnet this time... when I first tried to connect to htt://servername/dotnetnuke_2 I got the error message >

ERROR: Could not connect to database specified in connectionString for SqlDataProvider.

However unlike the manual which shows a screen grab with current settings information, my page had no details at all?

I then changed the url to http://servername/dotnetnuke_2/default.aspx and then I got the error message I posted in my first post above ...

I thought the extra details might help someone to suggest a solution?

Hope you can help

Phil

 
New Post
2/17/2007 2:24 PM
 

Hi,

I've installed  4.4.1 to. Without any problems. But when I added the feedback component or the SuperSKA picturgallery module I got a simular error :

Error: SuperSKa Picturegallery is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: An attempt to attach an auto-named database for file D:\wwwroot\DotNetNuke\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. ---> System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file D:\wwwroot\DotNetNuke\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at SuperSKa.DNN.Modules.PictureGallery.Data.SqlDataProvider.GetGalleryPictures(Int32 ModuleID) at SuperSKa.DNN.Modules.PictureGallery.Business.PictureController.GetGalleryPictures(Int32 ModuleID) at SuperSKa.DNN.Modules.PictureGallery.PictureGallery.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
2/17/2007 7:53 PM
 
please make sure, both connection strings in your web.config are identical.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/18/2007 2:17 AM
 

Thx. In an order forum I found the same answer and already tried it out. Unortunaltly I seems not to work out. I gave the user under wicht the asp.net2 process runs the same rights as the DB-user I greated for the DNN DB, and it worked. I was not happy with this solution an re-tried several lay-outs of the 'value' parameter. The thing that made it work is to leave out the provider in the second (for backword compatibility) DB setting.

The web.config settings look like :

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Database=DotNetNuke;User ID=***;Password=***;Connection Timeout=5" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Database=DotnetNuke;User ID=***; Password=***; Connection Timeout=5" />

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error when trying to v=connect from pc ...Error when trying to v=connect from pc ...


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