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 8461411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:52:23+00:00 2026-06-10T13:52:23+00:00

At the moment I have the following <connectionStrings> definition in my Web.config` file: <connectionStrings>

  • 0

At the moment I have the following <connectionStrings> definition in my Web.config` file:

  <connectionStrings>
    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
  </connectionStrings>

I didn’t write this though, so I have a feeling that it was automatically created by Visual Studio.

My database is hosted on a separate server on our network, so how do I define it and the database username and password?

For the sake of the example, the server information and credentials are:

Server address: sql-database / 10.0.0.11

Username: myUsername

Password: myPassword

  • 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-06-10T13:52:24+00:00Added an answer on June 10, 2026 at 1:52 pm

    Server Name: IP-Address\Database-instance,Port

    You can not directly. you need to have TCP/IP enabled and configured the TCP/IP Ports on sql server configuration manager at remote server.

    Go through it: Configurations-Remote-Server

    Or if it already configured then just contact DBA for the hosted server for providing the proper connection string.

    you need to have TCP/IP connectivity .Just launch it, enter the DNS host name or IP address in the Server Name' box and hit Connect. The hosting company needs to have enabling TCP/IP on your SQL Server instance, and them providing you with secure access to the IP address that instance is running on.

    Then it would be in this form:

    connectionString="Data Source=Server_Name;Initial Catalog=Database_Name;
    User ID=XXXX;Password=XXXX;Integrated Security=True;"
    providerName="Provider_Name"
    

    Most administrators do not allow direct access to the SQL Server from outside the firewall. In that case, if you can connect to the host over VPN then you should be able to connect directly to the server with Enterprise Manager or SQL Management Studio.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have the following code at the moment: <form action=> <div id=term><select name=s2
At the moment I have the following code which works fine. label = new
Okay, at the moment I have the following in my model: has_many :current_monitorings, :class_name
I have the following code: http://jsfiddle.net/uRCL2/1 At the moment the result is shown in
I just started using django for development. At the moment, I have the following
The following code summarizes the problem I have at the moment. My current execution
At the moment I have a combobox that is populated from the name fields
At the moment I have the following Command class: Public Class SubscribeCommand Implements ICommand
i am learning Java at the moment and have the following question: i am
I have a web application that comprises the following: A web project (with a

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.