Solved

problem connecting to a remote sql server database via webmatrix

Posted on 2013-06-20
4
381 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SQL Query Assistance 4 30
Recurring Excel Timelime for Veeam 2 34
Troubleshooting Methodology - steps 3 19
Azure SQL DB? 3 16
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now