Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Attaching Database?

Author  Topic 

Neon
Starting Member

13 Posts

Posted - 2011-10-02 : 23:50:55
I currently have my sql database ready to be attached to new server
i want this done duing intallation of my app
so i've setup a batch file to run after installing the sql server
so i'm looking for a cmdline script to attachy my database
so far everything ive found on google doesn't seem to work
i had found a script that runs with "cmdsql" however everytime i try to connect to my server i get login time out error
however when connecting via surface config, theres no problem
not sure what i'm missing

i'm fairly new to sql so sorry if its stupid question

Neon
Starting Member

13 Posts

Posted - 2011-10-03 : 01:43:04
is ok i worked it out, turn out the firewall was blocking connections (i feel so dumb), fixed now
Go to Top of Page
   

- Advertisement -