Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SSMS 2008 Exec on remote server
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01529493
Message ID:
01529512
Vues:
21
>>>>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.

Thank you, William. Especially for emphasizing the "polite" part <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform