Can't install
Last Post 01 Oct 2009 01:45 PM by Mitchel Sellers. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ColorsFade
New Member
New Member
Posts:2


--
23 Sep 2009 05:27 PM  
I am getting an error when the SQL script tries to run. I am attempting to install on an SQL 2005 DB with a 05.01.02 DNN fresh installation. This is literally the second module I've attempted to install (first was CISS.SideMenu and that one worked). The error I am getting is this:


SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: The SELECT permission was denied on the object 'sysobjects', database 'mssqlsystemresource', schema 'sys'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

I have granted the user View Server State and still this doesn't work. Please help.
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:328


--
23 Sep 2009 05:56 PM  
The issue here is that the database user does not have permissions to determine if the object exists. You need to ensure that you have DBO permissions...
-Mitchel Sellers, Microsoft C# MVP, MCITP
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
ColorsFade
New Member
New Member
Posts:2


--
23 Sep 2009 06:03 PM  

Posted By Mitchel Sellers on 23 Sep 2009 05:56 PM
The issue here is that the database user does not have permissions to determine if the object exists. You need to ensure that you have DBO permissions...


How do I do that on the dbo.sysobjects table though? I mean, I've granted this user everything I can think of.
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:328


--
01 Oct 2009 01:45 PM  
The user should have the dbOwner role on the specific dotnetnuke database and you will be fine.

What version of SQL Server are you using?
-Mitchel Sellers, Microsoft C# MVP, MCITP
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
You are not authorized to post a reply.

Active Forums 4.0
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com

 

Click to verify BBB accreditation and to see a BBB report.

 

Microsoft Certified Partner