Quantcast
Channel: VMware Communities: Message List - vCenter™ Server
Viewing all articles
Browse latest Browse all 15787

Re: Error 29114. Cannot connect to DB

$
0
0

My issue has been resolved. Actually, some thing is wrong with ownership and access rights on RSA_SUSER & RSA_DBA. I remove the database "RSA" & users "RSA_DBA & RSA_USER" and recreate using below script.

 

For Creating Database

**********************************

USE MASTER

GO

CREATE DATABASE RSA ON PRIMARY(

NAME='RSA_DATA',

FILENAME='K:\Microsoft SQL Server\MSSQL\Data\RSA_Data.mdf',

SIZE=10MB,

MAXSIZE=UNLIMITED,

FILEGROWTH=10%),

FILEGROUP RSA_INDEX(

NAME='RSA_INDEX',

FILENAME='K:\Microsoft SQL Server\MSSQL\Data\RSA_Index.mdf',

SIZE=10MB,

MAXSIZE=UNLIMITED,

FILEGROWTH=10%)

LOG ON(

NAME='translog',

FILENAME='L:\Microsoft SQL Server\MSSQL\Data\Logs\RSA_Log.ldf',

SIZE=10MB,

MAXSIZE=UNLIMITED,

FILEGROWTH=10% )

GO

ALTER DATABASE [RSA] SET RECOVERY SIMPLE

GO

CHECKPOINT

GO

**********************************************************\

For creating Users

 

**********************************************************

USE MASTER

GO

    

CREATE LOGIN RSA_DBA WITH PASSWORD = Netsolpk1, DEFAULT_DATABASE = RSA

GO

 

CREATE LOGIN RSA_USER WITH PASSWORD = Netsolpk1, DEFAULT_DATABASE = RSA

GO

 

USE RSA

GO

 

ALTER AUTHORIZATION ON DATABASE::RSA TO RSA_DBA

GO

 

CREATE USER RSA_USER FOR LOGIN RSA_USER

GO

    

CHECKPOINT

GO


Viewing all articles
Browse latest Browse all 15787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>