Solved

problem connecting to a remote sql server database via webmatrix

Posted on 2013-06-20
4
387 Views
Last Modified: 2013-06-24
I'm attempting to connect to a remote database over an internal network sql server database, on the same network as the workstation I'm connecting from, and I keep getting a "the parameter is incorrect" error. What does that mean? To preface that, I'm new to using web matrix and this is the first time I've attempted to connect to a network server.

Also, worth noting, I can connect to my local installation fine, via both windows authentication and sql database authentication. Any ideas?

Also, it's server 2008

Thanks in advance
0
Comment
Question by:merv11
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 39267432
Hi,

Try connecting from SQL Management Studio!

Moreover, quick check list - http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx

Hope it helps u...
0
 

Author Comment

by:merv11
ID: 39269993
Thanks for the link Connecting via SQL Management Studio works fine. I do regular work on all our remote DB's daily via SMSS; this is the first web app I've tried hooking to any of them though.

Remote connections are enabled and the rest checks out. My workstation and the db servers are also on the same AD domain. Do you need to implicitly specify the port if it's still set to the default 1433? or will webmatrix already negotiate over the default?

Thanks again for the help.
0
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 500 total points
ID: 39272316
0
 

Author Comment

by:merv11
ID: 39273314
Got it. Turns out it was my attempt at using active directory server referencing, e.g., "\\database_server\instance_name" when in reality it required the FDQN, e.g., "databaseserver.domain.com" without the instance name.

Thanks for the help all the same!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSIS with VPN COnnection 2 77
Run SQL Server Proc from Access 11 31
Return 0 on SQL count 24 30
Show Results for Latest DateTime in a View 27 25
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question