![]() |
|
|
By: Jugal Shah | Read Comments (2) | Print Jugal has 8+ years of extensive SQL Server experience and has worked on SQL Server 2000, 2005, 2008 and 2008 R2. Related Tips: More |
|
As a best practice in the industry, a DBA often has two logins that are used to access SQL Server; one is their normal Windows login and the other is an admin level login account which has sysAdmin rights on the SQL Server boxes. In addition, most of the time the SQL Server client tools are only installed on the local desktop and not on the servers. So in order to use the different login to connect to SQL Server using SSMS you need to use the "Run as" feature, but when doing this you may get this error message "The directory name is invalid". In this tip we look at how to resolve this issue.
As mentioned above when using the "Run as" feature you may get this error message: "The directory name is invalid" as shown below.






| Share: | Share | Tweet |
|
![]() |
![]() |
Free SQL Server Learning |
| Tuesday, November 23, 2010 - 5:30:22 AM - mordino | Read The Tip |
|
I've successfully used the "Run as..." option for SQL Server Management Studio 2008 on Windows XP. But SQL Server Management Studio 2008 on Windows 7 i only do have the options of Open (meaning Run as current user) and Run as Administrator. So i am not able anymore to connect with an Admin Account. Any advice how to re-enable the "Run as..." option for Windows 7? |
|
| Tuesday, November 23, 2010 - 6:30:10 AM - Jugal Shah | Read The Tip |
|
Press the Shift Key and Right Click on SSMS you can see the Run As... Option Thank You, Jugal Shah |
|
|
privacy | disclaimer | copyright | advertise | about authors | contribute | feedback | giveaways | user groups Some names and products listed are the registered trademarks of their respective owners. Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com |