Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7032105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:53:28+00:00 2026-05-28T00:53:28+00:00

How to configure SQL Server to access only by dot symbol as server name

  • 0

How to configure SQL Server to access only by dot symbol as server name

<add connectionString="Server=.;Database=aspnetdb;User ID=ccadbuser;Password=123456" name="LocalSqlServer" providerName="System.Data.SqlClient" />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:53:29+00:00Added an answer on May 28, 2026 at 12:53 am

    If you mean – that you want to accept connections ONLY from local machine – then disable network protocols tcp and netpipe in sql server configuration utility. Leave only shared memory

    If you insist on dot – make it programmatically, like this in c#

    var csb = new SqlConnectionStringBuilder(YourConnString);
    csb.DataSource = ".";
    
    var c = new SqlConnection(csb.ToString());
    
    do all you need
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL Server 2008 database with an Access front-end. My problem is
I'm trying to configure replication on SQL Server 2005. I can do it using
Can I configure hibernate properties to connect without using an instance name to sql
Using C# Visual Studio 2008 and SQL Server 2005. One database server. One webserver
Errors Database administrators report Microsoft SQL Server 2008 server-side error Invalid Login (error 18456,
I'm using Linq to sql to access an SQL Server. I try to write
I want design and implement an enterprise software with silverlight.I use sql server database
My SQL 2008 R2 Server is configured for Windows authentication, but only my domain
I’m trying to access the SQL Server instance on my VPS from SQL Server
I added an Application Role on a SQL Server database and granted to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.