Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SSMS 2008 Exec on remote server
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01529493
Message ID:
01529509
Views:
22
>>>I am wondering if the following steps are "normal" when trying to execute a SP when connected to SQL Server 2008 on customer site (the reason I put "normal" in quotation marks is I don't experience this when using SSMS on local copy of SQL Server).
>>>
>>>I connect to their SQL Server (via VPN and SQL Server Authentication). Then I want to attach a database so I open New Query window. As soon as I open it and start typing, I get the Connect window (I have not even clicked on Execute yet). But entering my user name and password in this Connect window does not work. That is, I get a rejection message. I am surprised that I even get this "second" Connect window when opening a new query window. Is this the way it should work?
>>
>>Is your computer on the same windows domain as the SQL server (I bet it isn't)?
>>
>
>No. You won the bet <g>
>
>>If not (even though you may authenticate to their VPN), you may need to run your SSMS as a user on the domain the SQL server is on.
>>
>>From a command window you would execute..
>>
>>"RUNAS /user:myDomainB\theirusername /netonly "C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe""
>>
>>..Substituting their windows domain name for myDomainB, their windows domain username for theirusername (you'll be asked for the password), and using the correct path to SSMS.EXE.
>
>I don't quite understand what to use for myDomainB. They (the customer) only gave me a user name and password to SQL Server. Should I ask them for their "domain name"?
>
>Thank you.

Very politely ask them for a valid windows user name and password on their domain. It doesn't have to have administrative rights (you'll get rights in SSMS when you connect to their database). They can tell you their domain name.

I've had this issue before by the way. Not exactly the same symptoms, but SSMS has problems functioning across domains.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform