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 ...Problems upgrading from SQL Server 2000 to SQL Server 2005Problems upgrading from SQL Server 2000 to SQL Server 2005
Previous
 
Next
New Post
9/29/2008 1:46 AM
 

I've run into a major problem upgrading my DotNetNuke 4.9 site from SQL Server 2000 to SQL Server 2005. My hosting provider required me to backup the SQL Server 2000 database then delete it so they could create a SQL Server 2005 database for me. I did that, then restored the backup to the SQL Server 2005 database. So far, so good. I can see all the tables, etc. in SQL Server 2005.

The problem is that now I think I have an orphaned database username. In the SQL Server 2000 database, I believe my login matched the database username. The database was named "MyDatabase", and the login for SQL Server and the username for "MyDatabase" were both "MyDatabaseAdmin01". I used "MyDatabaseAdmin01" as the uid in my web.config connection string.

When they setup my SQL Server 2005 database, they set the SQL Server login to "MyDatabase", matching the name of the database. However, I think all the permissions/schemas etc. are controlled by the username ""MyDatabaseAdmin01".

Does this make sense, and does anyone know how to fix it?

 

 


Chris
 
New Post
9/29/2008 4:44 AM
 

I' suggest to ask your hosting provider to fix the permissions for you. Besides, be aware the difference between database owner (who's name is used to prefix all objects and shall never be changed) and accessing SQL Server user, who needs full permission for the database (eventually using a different database username).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/29/2008 11:39 AM
 

Sebastian Leupold wrote

I' suggest to ask your hosting provider to fix the permissions for you. Besides, be aware the difference between database owner (who's name is used to prefix all objects and shall never be changed) and accessing SQL Server user, who needs full permission for the database (eventually using a different database username).

Unfortunately, this is the part I'm not clear on, and I'm having trouble explaining it to the tech support people. I am unclear as to under SQL Server 2000, what it means to be a dbo, and in SQL Server 2005, they're use of schemas. Basically, I want the exact same setup, (login, username, ownership) in SQL Server 2005 as I had in SQL Server 2000. Communicating that with them would have been comedic, if it hadn't been so late at night and my site was down the entire time.

 


Chris
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problems upgrading from SQL Server 2000 to SQL Server 2005Problems upgrading from SQL Server 2000 to SQL Server 2005


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