cancel
Showing results for 
Search instead for 
Did you mean: 

SQL Server Connection fails on Installing EV

HolgerMu
Level 5
Partner Accredited

Hey Folks,

although the Enterprise Vault Service account has sysadmin / dbcreator etc. rights on the SQL Server the Deployment Scanner fails with "unable to connect to server"

We checked the firewall (Disabled for Domain Networks), TCP/IP and NamedPipes are activated. SystemDSN Connection Test is successful.

The EVSA is local Admin on the sql-machine and sysadmin on the SQL-Server

Deployment Scanner can connect to SQL and read the sql server version SQL2005 SP3 (64bit)

OS is Windows server 2008 R2 on SQL and EV

EV Version is 9.0

 

Thanks for ideas

 

Holger

1 ACCEPTED SOLUTION

Accepted Solutions

HolgerMu
Level 5
Partner Accredited

alright, after some hours of googleing and configuring there must have been something wrong with "MSDTC - Microsotft Distributed Transaction Coordinator"

along with several

msdtc -uninstall

msdtc -install

and some

SQL - Surface Configuration Manager

klicks later I got the SQL Server on the EV-Server running and accepting connections.

It was/is NOT an EV-Problem but a Microsoft SQL Problem.

We are now installing EV with local SQL to buy us some time and set up a remote SQL2008 machine, once we have figured out that the connection then works, we will move the databases.

Thanks a lot guys for your help and ideas. I'll be glad to try to help you out when you run into problems. 

View solution in original post

37 REPLIES 37

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello Holger,

Can you try adding the VSA to the Local Admin group on the SQL server.

Is the SQL server by any change NOT using port 1433?

You might have to (on the ev-server)

start, run, type cliconfg.

click tab Alias

specify sql servername, select tcp/ip, UNTICK select dynamic port, and specify the port being used by SQL.

Try again

Regards. Gertjan

Nick_White
Level 6
Employee

What happens if you explicitly give the DB Creator role to the Vault Service Account in SQL? It may be that there is an override somewhere that is causing this to fail, along the lines of Exchange connectivity failing if the account is a member of the domain admins

HolgerMu
Level 5
Partner Accredited

Hi Gertjan,

this is a valid point but dynamic ports are by default on SQL 2008 server, this is a default SQL 2005 server, I checked the Config, dynamic ports are NOT used and i checked that only 1433 is used.

Thanks for your help :)

 

Holger 

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hello holger,

Check Installing and configuring guide page 49 and further.

Also make sure that the Vault Service Account is not member of ANY group. It should be a normal user, not member of anything.

 

From page 45:

At the time the Configuration Wizard runs, the Vault Service account must have

access to administrative shares on the SQL Server computer. One way to ensure

that access is granted is to make the Vault Service account a local administrator

on the SQL Server computer. After the Configuration Wizard has been run you

can remove this access, if required. However, on SQL Server 2005 and later, the

Vault Service account must continue to have at least Viewserverstate permission

after configuration.

Unless you assign the SQL system administrator (sysadmin) role to the Vault

Service account, you must perform some additional steps before you run the

Enterprise Vault Configuration wizard for the first time.

See Assigning permissions and roles in SQL databaseson page 49.

 

Regards. Gertjan

HolgerMu
Level 5
Partner Accredited

only assigning dbcreator did not work either.

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi Holger,

Can you edit the hostsfile on the server where you want to install EV, with an entry to the SQL server? Try that?

Regards. Gertjan

HolgerMu
Level 5
Partner Accredited

Hi Gertja,

we checked the installing and configuring guide.

Still no luck, Deployment Scan reports on missing rights and Configuration Tool still can't create databases.

tested with dbcreator rights and the modifications, also with sysadmin rights

I am lost ;)

HolgerMu
Level 5
Partner Accredited

Hi Gertjan

editing the hostfile had no impact on the issue.

The strange thing is that we can "see" the SQL server we can't conntect to it, the Deploymentscanner can read the settings (Server Versions, Collation etc.)

JesusWept3
Level 6
Partner Accredited Certified
Just as a matter of interest, do you just have the one SQL instance installed (\archiv) or does the default SQL instance exist along with it?
https://www.linkedin.com/in/alex-allen-turl-07370146

HolgerMu
Level 5
Partner Accredited

yes, we HAD only the \archiv instance installed. Now we installed a new SQL Server only with the default SQL instance, same issue.

GertjanA
Moderator
Moderator
Partner    VIP    Accredited Certified

Check this: http://www.symantec.com/docs/TECH63430

and this http://www.symantec.com/docs/TECH75498
and this http://www.symantec.com/docs/TECH55820

and this http://www.symantec.com/docs/TECH52740

and this http://www.symantec.com/docs/TECH48229

 Disable the firewall on the SQL and EV server completely, try again.

If not succesfull, I think you need to call support.

Regards. Gertjan

HolgerMu
Level 5
Partner Accredited

Hi gertjan:

Link1: this is a new installation, no EV Databases and so on available. System-DSN to the SQL says "test successful"

Link2: same thing, we haven't even configured any Databases

Link3: We tried the instance and then reinstalled SQL with default instance. Same thing

Link4: SQL runs on the default port 1433 (udp1434)

Link5: all system databases <8MB size, it's a default new installation of SQL2005

Called Support, no response yet...waiting patiently

MichelZ
Level 6
Partner Accredited Certified

Can you try enabling & starting the "SQL Browser" service?

(I know this sounds weired, but I had this problem once, I believe)

 

Additionally, are you able to log on to the SQL Server using the EV Service Account, and then opening up SQL Management Studio and creating a database?

(Or just run the SQL Management Studio somewhere it is installed under the EV Service Account)

Does that work?!

Cheers

Michel


cloudficient - EV Migration, creators of EVComplete.

JesusWept3
Level 6
Partner Accredited Certified

actually thats not weird, i've seen that resolve issues where the EV Reporting deployment utility can't connect to SQL Server when the browser service isnt running

https://www.linkedin.com/in/alex-allen-turl-07370146

HolgerMu
Level 5
Partner Accredited

Hi MichelZ

SQL Browser Service up and running,

logging in over Management Studio successful, on local SQL machine and remote from EV-Server as evsa

MichelZ
Level 6
Partner Accredited Certified

And Database creation?

 

That's veeeery weird then... and I can't think of more stuff currently to check :(  but I'll keep thinking ;)


cloudficient - EV Migration, creators of EVComplete.

HolgerMu
Level 5
Partner Accredited

Manual Creation of a DB works like a charm, even with the evsa logged into the SQL Management Studio.

Never had any issues like that in an EV Installation....

HolgerMu
Level 5
Partner Accredited

here's a DTRACE...

JesusWept3
Level 6
Partner Accredited Certified

ok so its saying that the EnterpriseVaultDirectory database doesn't exist on the server
has the EV Configuration utility been run to create it?

https://www.linkedin.com/in/alex-allen-turl-07370146