Hi,
I was trying to connect to database which is SQL Server 2005 but I got the message -
cannot connect to the database - connection failed.
for your information I am using dial up connection and I got the file vp.log
in my bin directory.
Thanks for the log file. Please try to download the Adapter file by clicking the green down arrow beside the Driver file field (see image below) and see if you can connect to the SQL Server.
Thanks for your teply.
I already tried what was in the link before I mailed you.
One thing you know- I am surprise when I was entering my password - I could see it. It should be asterisk(*) sign when I was typing.
Please find the attached file wher you could see the it.
Thanks for replying. You entered “bns/MHossain” in Username field, which should be the problem of connection failure. May I know what is “bns”? Is it the domain or something else?
Also, may I know are you using Windows Authentication?
And for the password issue, the password will be hidden in the configuration file.
Thanks Lilian.
BNS is my domain name ans I’m using windows authentication.
In the configuration file I even could see my password when I was typing all the credentials…that is my another concern.
May be after connection password will be hidden.
But I could not create connection.
Thanks for replying. Since you are using Windows Authentication, you need to enter connection URL under Connection string inside the Database Configuration dialog (this is also mentioned in the link I provided, please refer to the “Authentication Method” section). For .NET, the URL required is:
Server=%HOST%,%PORT%;Database=%DATABASE%;User ID=%USER_ID%;Password=%PASSWD%;Trusted_Connection=Yes;Domain=%WINDOW_DOMAIN%
(so you need to input “MHossain” as User ID and “bns” as Domain)
Hope this helps. Please feel free to contact me again if you need any assistance.
Thanks for your post. Could you please rename the vp.log file inside VPSuite/bin folder to something else, then start SDE-VS again and try connect to your database with the configuration details of your last image (i.e. hostname=localhost, port=1433, Database name=ORMProba, Username=sa). After that there will be a new vp.log file generated, could you please it to me to take a look?
May I know did your connection problem solved eventually? As your posts show that you solved the problem but the connection problem seems to appear again…
Posts are missordered, one with vp.log should come first. In the meantime I figured out how to solve the problem, and wrote it in the post that come first
I too have the same problem.i.e. I am working in MOSS 2007. When i tried to open the central admin i am getting an error prompt saying that "cannot connect to the connection database".The problem is somebody has uninstalled the sql server that was running.Is there any possibility of rollback of the lost data?