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 ...moving Dotnetnuke from 2003 to 2008 Servermoving Dotnetnuke from 2003 to 2008 Server
Previous
 
Next
New Post
5/17/2010 11:12 AM
 
Here is the error message:

System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'GetDatabaseVersion', database 'bchd', schema 'dbo'. at DotNetNuke.Data.SqlDataProvider.GetVersion() at DotNetNuke.Services.Install.InstallWizard.get_DatabaseVersion() at DotNetNuke.Services.Install.InstallWizard.TestDataBaseInstalled() at DotNetNuke.Services.Install.InstallWizard.Initialise() at DotNetNuke.Services.Install.InstallWizard.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 Return to Site
 
New Post
5/17/2010 12:46 PM
 
John,

The SQL issue is because the login is orphaned. It requires the same SID as the other server to function correctly. Use the script below to fix that issue, replace your values in the <> areas.

USE <YourDBName>;
GO
sp_change_users_login @Action='update_one', @UserNamePattern='<YourLogin>', @LoginName='<YourLogin>';
GO


 
New Post
5/17/2010 1:05 PM
 
John wrote:
I am running 2008 R2. The way I am moving the DB is by "Detach" and "Reattach". The login is coming with the db. I'm using the default app pool.

 John,

What mode is your AppPool running in? I advice against using the default app pool whenever possible. You should create a new AppPool and run it in Integrated mode. I have blogged about this here if your interested.



 
New Post
5/17/2010 1:43 PM
 
I successfully ran the Stored Procedure on my login, but it made no difference. I still get the same error message.
 
New Post
5/17/2010 2:52 PM
 
John, can you verify that the SQL login in question does indeed have dbo rights on that Database. In SQL Studio, right-click the login and select Properties then select User Mappings in the leftpane. Make certain that the Database is selected and that the user has the dbo schema. If not, select db_owner from the bottom pane of roles.


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...moving Dotnetnuke from 2003 to 2008 Servermoving Dotnetnuke from 2003 to 2008 Server


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