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 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

In SQL Server Management Studio 2008, if I log into a shared hosting provider
I have just installed SQL Server 2008 including Reporting Services on Windows Server 2003.
I have a 5GB database and a 20GB transaction log (SQL Server 2005). Not
I'm looking for some clarity on the SQL Server log file. I have a
My log file in SQL Server used up all the space on my disk.
How to truncate and shrink large log files in SQL Server 2005? How to
So our SQL Server 2000 is giving me the error, The log file for
Is there a way to tell SQL Server 2008 Express to log every query
I'm creating a log shipping configuration between two sql server 2005 instances. I'm shipping
I need to get a log of user access to our SQL Server so

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.