Showing posts with label engine. Show all posts
Showing posts with label engine. Show all posts

Monday, March 19, 2012

i cannot connect to the database engine ...

I can connect to Analysis Service and Integration Service but I can not connect to the Database Engine. I receive the following error message:

Cannot connect to homebase.

Additional Information:

An error has occurred whlie establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server doesn not allow remote connections. (provider: SQL Network Interfaces, error: 25 - COnnection string is not valid)(Microsoft SQL Server, Error:87)


(Click on OK to continue)

the problem seems to be Remote Connection is not configured in this server for Analysis Service and Integration Service.

Start -- Programs -- MS SQLSERVER 2005 -- Configuration Tool -- SQL Server 2005 Surface Area Configration -- Surface Area Configuration for Services and Connections

Now you will have all the Services running on this machine like Database ENgine,Analysis Services, Reporting services, Integration services etc

Expand each one in which you want to enable remote connection adn select Local and Remote connections

Madhu

|||Once you have enabled remote connections if it's still not working, check out this FAQ I wrote over on tek-tips http://www.tek-tips.com/faqs.cfm?fid=5481.

Monday, March 12, 2012

I am trying to attach a database through SQLDMO ...........

Problem is: "I am trying to attach a database through SQLDMO using VB6 In MSDE (Microsoft Sql Server Desktop Engine). If my '.mdf' and '.ldf' files are placed in a folder with Spaces then it give me error because it is picking up the folder name up to first space."

Try to give file paths between quotation marks. Something like sPath="\"c:\\program files\\MSSQL\\Data\\My file.mdf\"".

Wednesday, March 7, 2012

i acn't login to a sql server with Database Engine Tuning Advisor

I'm trying to connect an instance (sql2005 standard edition) with the Database Engine Tuning Advisor (DETA), but it always fails.
I get this message:
"Failed to open a new connection.Failed to initialize MSDB database for tuning
(exit code: -1073741819).(DTAClient)"

The msdb database is exist on this server. What can i do?I compared the msdb database to an another db (where this feature is works) and I found some missing objects:
DTA% tables(22) and sp_DTA% store procedures(63)

I don't remember any option where I can set this objects (exist or not) and I didn't see any error when I installed this server.
?|||

This is most likely a security issue. The login account you are using from the tuning advisor doesn't have sufficient privileges to MSDB. The account you use for database tuning should have read/write access to msdb, because the DTA stores session information there (see BOL topic Considerations for Using Database Engine Tuning Advisor).