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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:35:13+00:00 2026-06-16T00:35:13+00:00

Hi guys im testing out an asp.net script as im a newbie and am

  • 0

Hi guys im testing out an asp.net script as im a newbie and am still learning. I’m running this on dreamweaver. Whenever i run the page. I get this error.

I’m actually trying to replicate this http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/data/GridViewBoundFields.src
with my own sql table and database.

enter image description here

<%@ Page Language="C#" %>
<html>
<head id="Head1" runat="server">
<title>GridView Bound Fields</title>
</head>
<body>
<form id="form1" runat="server">
<asp:GridView ID="GridView1" DataSourceID="SqlDataSource1" AutoGenerateColumns="False"
runat="server">
<Columns>
<asp:BoundField HeaderText="Course" DataField="Course" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
SelectCommand="SELECT Course FROM tmdsi"
ConnectionString="<%$ ConnectionStrings: test%>" />
</form>
</body>
</html>    

and my web config file is

<configuration>  
<connectionStrings>  
<add name="test"   
connectionString="Server=myipaddress; port=3306;Integrated Security=True;
Database=test;User=test; Password=test;"
providerName="System.Data.SqlClient" />  
</connectionStrings>  
</configuration>
  • 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-16T00:35:14+00:00Added an answer on June 16, 2026 at 12:35 am

    You have to give port separated by comma, read more about connection strings here

    Change

    Server=myipaddress; port=3306;
    

    To

    Server=myipaddress,3306;
    

    Also change the CutomError mode to OFF to see what error exactly you are getting.

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

Sidebar

Related Questions

guys am having some troubles with running out of memory when displaying an animation
I'm still pretty new to jQuery! Testing it out on my old website to
Hi guys: I am testing the camera fps on android system. I've set up
Guys, I've came across this problem I can't resolve myselg, I'm pretty sure I
So I'm still not sure if this is on my side, the service side,
Ok! I figured it out! Thanks alot you guys (thanks algiecas)! The problem was
Hey Guys, I usually come to StackOverflow for my php coding answers, although this
You guys on this forum have been a great help so far, and i
Hey guys i have a quick question about testing my method. Im new to
Hey guys, I couldn't really think of what to call this error in 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.