question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error Installing 9.9.0

See original GitHub issue

Description of bug

Error at 18% of the installation when I Install in shared hosting. But in local IIS in Windows 10 installation with the same MSQL server 2017 worked without a problem. Is this mean we can’t install DNN in to shared hosting anymore?

Steps to reproduce

Clean installation of DNN 9.9.0

Current behavior

0:49 Minutes | 18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): User does not have permission to perform this action. User does not have permission to perform this action. User does not have permission to perform this action. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDatabaseConnectionProvider.ExecuteNonQuery(String connectionString, CommandType commandType, Int32 commandTimeout, String query) at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script, Int32 timeoutSec) ClientConnectionId:c8466144-2ecd-4474-90c1-d18257039e7c Error Number:15247,State:1,Class:16 /*************************************************************/ /*************************************************************/ -- --Create Membership roles -- IF ( NOT EXISTS ( SELECT name FROM sys.database_principals WHERE [type] = 'R' AND name = N'aspnet_Membership_FullAccess' ) ) CREATE ROLE aspnet_Membership_FullAccess IF ( NOT EXISTS ( SELECT name FROM sys.database_principals WHERE [type] = 'R' AND name = N'aspnet_Membership_BasicAccess' ) ) CREATE ROLE aspnet_Membership_BasicAccess IF ( NOT EXISTS ( SELECT name FROM sys.database_principals WHERE [type] = 'R' AND name = N'aspnet_Membership_ReportingAccess' ) ) CREATE ROLE aspnet_Membership_ReportingAccess System.Data.SqlClient.SqlException (0x80131904): User or role 'aspnet_Membership_FullAccess' does not exist in this database. User or role 'aspnet_Membership_FullAccess' does not exist in this database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDatabaseConnectionProvider.ExecuteNonQuery(String connectionString, CommandType commandType, Int32 commandTimeout, String query) at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script, Int32 timeoutSec) ClientConnectionId:c8466144-2ecd-4474-90c1-d18257039e7c Error Number:15410,State:1,Class:11 EXEC sp_addrolemember N’aspnet_Membership_BasicAccess’, N’aspnet_Membership_FullAccess’ EXEC sp_addrolemember N’aspnet_Membership_ReportingAccess’, N’aspnet_Membership_FullAccess’ System.Data.SqlClient.SqlException (0x80131904): Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_BasicAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_FullAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot find the user ‘aspnet_Membership_ReportingAccess’, because it does not exist or you do not have permission. Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDatabaseConnectionProvider.ExecuteNonQuery(String connectionString, CommandType commandType, Int32 commandTimeout, String query) at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script, Int32 timeoutSec) ClientConnectionId:c8466144-2ecd-4474-90c1-d18257039e7c Error Number:15151,State:1,Class:16 – --Stored Procedure rights for BasicAcess – GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByUserId TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByName TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByEmail TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetPassword TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetPasswordWithFormat TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_UpdateUserInfo TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetNumberOfUsersOnline TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_CheckSchemaVersion TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_RegisterSchemaVersion TO aspnet_Membership_BasicAccess GRANT EXECUTE ON dbo.aspnet_UnRegisterSchemaVersion TO aspnet_Membership_BasicAccess – --Stored Procedure rights for ReportingAccess – GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByUserId TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByName TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetUserByEmail TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetAllUsers TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_GetNumberOfUsersOnline TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_FindUsersByName TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_Membership_FindUsersByEmail TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_CheckSchemaVersion TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_RegisterSchemaVersion TO aspnet_Membership_ReportingAccess GRANT EXECUTE ON dbo.aspnet_UnRegisterSchemaVersion TO aspnet_Membership_ReportingAccess – --Additional stored procedure rights for FullAccess – GRANT EXECUTE ON dbo.aspnet_Users_DeleteUser TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_CreateUser TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_SetPassword TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_ResetPassword TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_UpdateUser TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_ChangePasswordQuestionAndAnswer TO aspnet_Membership_FullAccess GRANT EXECUTE ON dbo.aspnet_Membership_UnlockUser TO aspnet_Membership_FullAccess – --View rights – GRANT SELECT ON dbo.vw_aspnet_Applications TO aspnet_Membership_ReportingAccess GRANT SELECT ON dbo.vw_aspnet_Users TO aspnet_Membership_ReportingAccess GRANT SELECT ON dbo.vw_aspnet_MembershipUsers TO aspnet_Membership_ReportingAccess // // // // DECLARE @command nvarchar(4000) SET @command = 'REVOKE EXECUTE ON [dbo].aspnet_RegisterSchemaVersion FROM ’ + QUOTENAME(user) EXECUTE (@command)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dush-acommented, Mar 6, 2021

Since it is a shared hosting environment, you may have to contact support for this. When Plesk is used for their control panel, the typical default DB user permissions do not have dbowner rights.

@david-poindexter, OK. This might be the solution, I will contact the support. Thanks

1reaction
sleupoldcommented, Mar 5, 2021

this sounds like missing permission of the installing SQL user, did you make sure to check the “owner” option on the install wizard page?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Can't install/update Vmware tools 9.9.0
I've faced a problem with installing/updating latest Vmware tools v.9.9.0. ... I receive an error "Corrupt file received from update server.
Read more >
Installing 9.9.0+ requires peerDependencies (installing ...
Describe the Bug When installing @directus/sdk 9.9.0+ for node it fails due to peer dependencies of @directus/shared not being able to be ...
Read more >
Full Install VP 9.9.0 dont start i got an Error DLL is missing?
Today i will make a new Install witzh the New VP 9.9.0. But if i want to start they comes an error: D3DX9-35dll...
Read more >
Installation problem with SALOME-9.9.0-UB18.04-SRC
Hi, I run ubuntu 18.04. I downloaded SALOME-9.9.0-UB18.04-SRC.tar.gz and extracted it to /opt/Salome9_9 and then tried to launch:.
Read more >
Error installing vmware-tools 9.9 after upgrade to linux- ...
After having upgraded my guest ubuntu to linux-image-3.13.0-46 I got an error install vmware-tools and I cannot share folders any more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found