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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:52:01+00:00 2026-05-30T03:52:01+00:00

I am a new developer and this is my first time to deal with

  • 0

I am a new developer and this is my first time to deal with two IIS servers. My company has two servers; Production Server and Testing Server. They are using the testing server for storing /hosting the databases and the Production Server for hosting the applications. All the applications are developed in ASP.NET. Now, for the web-based application that I am developing; I have to put the database in the Testing Server and the application in the Production Server,

so how can I reference the database in the web.config file?

What I have in my web.config file now is the following:

<connectionStrings>
        <add name="testConnectionString" connectionString="Data Source=localhost\sqlexpress;Initial Catalog=psspTest;Integrated Security=True" providerName="System.Data.SqlClient"/>
    </connectionStrings>

I have that because the database resides in the same server with the application. Therefore, how will I be able to reference when I put it in the Testing Server?

  • 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-30T03:52:02+00:00Added an answer on May 30, 2026 at 3:52 am

    Let’s say your testing server is called testsrv and the database resides on the
    SQL Server Express instance, you simply change your config to:

    <connectionStrings>
            <add name="testConnectionString" 
                 connectionString="Data Source=testsrv\sqlexpress;Initial Catalog=psspTest;Integrated Security=True" providerName="System.Data.SqlClient"/>
        </connectionStrings>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a new web developer (obviously). When I first noticed this issue, I thought
This is my first time using a content provider but I followed the developer
Every time a new developer joins the team or the computer a developer is
It's my first time using a DVCS and also as a lone developer, the
Our customer has just joined the iOS Developer Enterprise Program. They have signed the
First of all (before this question get down voted): I am a developer developing
I've recently have taken a new server under my wing that has an interesting
I'm new to the Objective C business (Java developer most of the time) and
First, I could not ask this on most hardware forums, because they are mostly
I've been reading about the new developer-only RC0 for Silverlight, and the fact that

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.