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 ...Server user Server user '******' is not a valid user in database 'msdb'
Previous
 
Next
New Post
2/12/2009 1:26 PM
 

 

Following error occured during an upgrade > 4.9 to 4.9.1. Will anyone would be willing to help me to understand what happened?

System.Data.SqlClient.SqlException: Server user '******' is not a valid user in database 'msdb'.
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)


CREATE procedure dbo.[Dashboard_GetDbBackups]
AS

SELECT TOP 20
name,
backup_start_date as StartDate,
backup_finish_date as FinishDate,
backup_size as size,
database_name,
CASE type
WHEN 'D' THEN 'Database'
WHEN 'I' THEN 'Differential database'
WHEN 'L' THEN 'Log'
WHEN 'F' THEN 'File or filegroup'
WHEN 'G' THEN 'Differential file'
WHEN 'P' THEN 'Partial'
WHEN 'Q' THEN 'Differential partial'
END as BackupType
FROM
msdb..backupset
WHERE
database_name = DB_NAME()
ORDER BY backup_start_date DESC


Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
New Post
2/14/2009 9:06 PM
 

According to this article, and this applies to a the model database (I guess then it's the same with you, only with msdb database)

http://technet.microsoft.com/en-us/library/cc917585.aspx

" If a connection is created for a database user who does not have permission to access the model database, when opening the transformation properties, the user will receive the message "Unspecified error. Server user '<user name>' is not a valid user in database 'model'". This message occurs because the user cannot see the provider type information. However, the error is informational and does not prevent the user from creating the transformations. "

Cheers!



Alex Shirley


 
New Post
3/29/2009 9:24 AM
 

 It looks like your database user (specified in web.config) has not sufficient permissions to read MSDB database, where backup jobs are stored. Therefore creation of the querying stored procedure failed during upgrade and any subseqent call will fail as well.

Since MSDB access is not needed for DotNetNuke to work, the dashboard shall check for existance of the stored procedure and display an appropriate error message instead of a disgracefull error. Besides, the stored procedure may be rewritten to run a dynamic query, allowing the stored procedure to be created but fail when being called without permission. this would allow a user to fix the situation to get subsequent calls being successful without a need to re-run upgrade script.

you may create a blank stored procedure with same name to avoid an error when calling dashboard module.

Logged in Gemini: DNN-9631

 

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/21/2009 7:44 PM
 

I just upgraded 4.8.4 site to 4.9.5 and this issue showed using the upgrade package.

 


pmgerholdt
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Server user Server user '******' is not a valid user in database 'msdb'


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