connect to sql via windows authentication over vpn [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is there any way I can connect to a remote SQL server with Windows Authentication over VPN?
I can connect to the VPN server in Windows 7 using Domain Credentials like \DOMAIN\user but I want to be able to connect to the SQL server with the Domain Credentials because I don't have the sa account .

Try creating a shortcut with:
runas /noprofile /netonly /user:domain\username ssms.exe
You may have to hard-code the path to ssms.exe. On modern versions, that's:
"C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe"
In a few locations it will look in SSMS like you are using your local credentials, but you should be able to verify on the remote server that your credentials are being passed, e.g.
SELECT SUSER_SNAME();
This of course depends on your requests being correctly routed to the destination SQL Server.

Related

Cannot Connect from Hyper-V Manager on Windows 10 to Hyper-V Server 2012 R2 [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 months ago.
Improve this question
Just as the title says, I'm having a bit of a problem connecting from a Hyper-V Manager instance on a Windows 10 machine to a Hyper-V Server 2012 which is found on the same network. Neither of them, however, is joined to AD/DNS/etc... they are both running in WORKGROUP and I'm trying to access the server with the \server\user path and with a user on the server with admin rights and privileges to all of the connected services.
I keep getting the following:
"An error occurred while attempting to connect to server. Check that
the Virtual Machine Management service is running and that you are
authorized to connect to the server." "You do not have the required
permission to complete this task. Contact the administrator of the
authorization policy for the computer."
I have pretty much depleted all of Google's natural resources on this topic and this particular error and I can confirm that nothing from different workarounds/tutorials worked and that all of the relevant services are in fact started/working etc.
Any ideas please? :)
Add the target account credentials to the Windows Credential Manager from the command line and try reconnecting
cmdkey /add:TARGET /user:TARGET\USER /pass
If you are not signed in as administrator, when you open hyper-v manager "run as administrator"
Make sure you run the PowerShell terminal as administrator ("run as administrator")

Can I Install SQL Server 2008 R2 express edition on Windows xp 32bit? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying since 2 days. I was able to Install but I Cant see my all services in 'SQL Server Configuration Manager and I cannot access sql server management studio.
It works fine on my windows 7 laptop and it have all the services.
Xp have only 'SQL Server(SQLEXPRESS)' running and 'SQL SERVER AGENT(SQLEXPRESS)' and 'SQL SERVER Browser' stopped. I right clicked and tried to start but start is disabled. I am not sure whether this is installation issue or because of windows xp.
You can find a list of supported operating systems and requirments here.
I checked for you and XP Professional service pack 3 is in the list.
You can try if updating your service pack works?

Access SQL Server 2012 Online [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a database on my home PC. It is on Microsoft SQL Server 2012. I would like to access this data at work. There are 2 options that I am considering and would like to know how to achieve either.
Connect to the DB (home) via Visual Studio (work) online. How to do this?
Turn my home computer into a server. How to do this?
My PC is new and it is on the house wifi network. It is running Windows Server 2012.
If there are better suggestions I am willing to consider. This is for personal use- one user with roughly 50-100 mb data transfer daily to server.
As far as I know, you can connect to Your database from anywhere you want. But for achieving this You need to perform the following actions:
You need to check that Your SQL Server is configured to use both SQL
and Windows authentication (check link
http://technet.microsoft.com/en-us/library/ms188670.aspx).
You need to add a SQL login with needed permissions to Your database(s). Script can be achieved from here. But this operation can also be performed in UI on Your home computer.
You need to check that the port which Your SQL server listening on
is opened in your firewall (list of ports per protocols and Firewall
configuration described here:
http://technet.microsoft.com/en-us/library/ms144228.aspx)
You must have a static IP address on Your home computer. Otherwise the connection can be problematic. The "static" IP can be achieved using dynamic DNS. One of the possible solutions is described here
If all of the above were successfully configured, then you simply can connect to your SQL server by IP address with supplying needed credentials (user name created in the (2), password, target database).
Hope that this was helpful.

SQL connection failure [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a server with SQL Management Studio 2005 installed on a server 10.x.x.x as IP.
I also have a PC with SQL Management Studio 2005 Express installed.
The problem is that from my PC I can connect to the server successfully but I cannot to localhost even with Windows Authentication..
I tried to troubleshoot the problem but I couldn't find any SQL service in windows services.
also I don't know the credentials of the SQL specially that I was not asked to submit it during the SQL Management Studio 2005 Express Setup , any help please?
Management studio is just the tool to manage SQL databases. Hence the name. It is not the SQL Server itself.
If there's no SQL server service in services, chances are SQL Server is not installed.

Web-based, hosted admin tool for SQL Server database access [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I work extensively with MySQL and have no experience with SQL Server. But I have an upcoming project where the existing site's database is on SQL Server. I will be needing to make periodic glances at the existing database, to make SQL dumps most likely so I can write a migration script to the new site database in MySQL. The client will be regularly updating this existing database so just asking for a one-time dump will not help.
Ideally I am looking for a web-based (or desktop based) tool which will allow me to log in to the SQL Server database (I have remote access) and allow me to make a dump or perhaps browse the database structure. Something similar to phpMyAdmin would be nice.
Update: I should clarify that web-based tools which are ASP based are not ideal. As much as I'd like to learn more about ASP, I do not have the time to set up another environment just to run the tool. Something hosted by a 3rd party would do the trick.
Several options are available (probably quite a few more, too):
SQL Web Data Administrator
SQL Server Web Tools
Article on web based admin tools
CiberSQL Web Admin
myLittleAdmin (commercial)
SqlWebArchitect
MSSQL Web Admin (broken link)
DBHawk (commercial)
You can also connect via ODBC to your remote MSSQL server then use MSAccess or OpenOffice to connect, browse or backup.