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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Server does not exist or access deniedSQL Server does not exist or access denied
Previous
 
Next
New Post
6/1/2006 2:25 AM
 

I have a DNN 3.2.2 application working well. (developed in VS 2003, SQL Server 2005)

When I transferred this application to another computer, I got this error.

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

ERROR: Could not connect to database.

SQL Server does not exist or access denied.

or I will get the other VS screen which say 'SQL Server does not exist or access denied.'

I have set almost all settings as per the previous computer, but I don't know what has gone wrong. I have gone through the forums threads, similar to my problem, but I couldn't sort out the error.

This is the web.config string that I have used in both the computers...since Server=local, I think it would be enough & there is no need to change it......

<add key="SiteSqlServer" value="Server=(local);Database=CMSDemo;uid=sa;pwd=password;" />

Please do suggest something that I can try out.....any suggestions will be greatly appreciated ....

Thanking you in advance..

Praveen

 
New Post
6/1/2006 8:59 AM
 

Praveen

Where is your SQL server?  The connection string you are using is looking for the SQL database on the same machine as the DNN install.

With the error you are getting I think you will find that the database is still on the original machine.

HTH

Antony

 
New Post
6/2/2006 3:42 AM
 

Thanks for the reply....

The server was still there in the local machine. When I gave the computer name in the connection string, the application worked.

But I would like to know what difference is there between the two computers....? (One I gave (local), it worked.....but the other did not....) any particular reason ?

thanks again

 
New Post
6/2/2006 9:09 AM
 
Well 'local' tells DNN to look for the database on the same machine as the DNN install i.e local to the install.
On the second machine you have to tell DNN to go and look for the DB on another machine as its not 'local'
HTH
Antony
 
New Post
6/4/2006 8:23 AM
 

Many Thanks for the reply...

I am new into programming, so it takes a little time to figure out the basic concepts. Kindly abide with me if I am asking stupid questions....

The database is there in the second machine also....so isn;t that local???

regards

Praveen

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...SQL Server does not exist or access deniedSQL Server does not exist or access denied


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