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

  • Home
  • SEARCH
  • 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 3722700
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T06:00:02+00:00 2026-05-19T06:00:02+00:00

To log on to the SQL Server, I have to log on to the

  • 0

To log on to the SQL Server, I have to log on to the remote server (Windows 2003) and open the Management Studio and type the SQL Server address and Domain/Name, Password.

This is been setup for security purpose.

My Code come up with SQL connection error, as I am unable to access through my machine.

This is related to my Previous Question.

How do I solve this issue?

protected void Button1_Click(object sender, EventArgs e)
{
    SqlDataReader dr = null;
    SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionStringOES"].ConnectionString);
    con.Open();

    SqlCommand cmd = new SqlCommand("SELECT * FROM <Table>", con);
    dr = cmd.ExecuteReader();
    while (dr.Read())
    {
        Response.Write(dr[0] + "<br/>");
    }
}
  • 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-19T06:00:04+00:00Added an answer on May 19, 2026 at 6:00 am

    This can’t be accomplished since it’s not a code problem. The restriction in your code will be the same restriction you experience in SQL Management Studio. The only resolution is to have the security restrictions relaxed (unlikely), run your solution on a remote machine (difficult because it disqualifies debugging), or maintain a copy of the database in a local SQLExpress store.

    The capability usually comes packaged within the Visual Studio software. http://www.microsoft.com/express/Database/

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

Sidebar

Related Questions

It is possible in SQL Server Express have a log of all operations SELECT
How to free Transaction log space in SQL SERVER 2005: I have Transaction log
I have to log some param values to a log file (SQL Server 2005)
I have a 5GB database and a 20GB transaction log (SQL Server 2005). Not
I have a log table in SQL Server. Table is structured this way: Unique
I'm looking for some clarity on the SQL Server log file. I have a
I have a virtual windows server with SQL Server 2008 R2 Express. for the
Is it possible to log shipping for few tables only in SQL Server 2012?
I am using Solaris. I have to log into sql plus and run some
I'd like to print out SQL statements in NHibernate log file without certain blob-type

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.