rodd Posted January 25, 2012 Posted January 25, 2012 Hi all,I'm new to everything website related, could someone please help me?? I have a website made in ASP.Net using Visual Studio 2010 with 3.5 framework.The site seems to be working fine, except for pages that contain a datagrid linked to my database, database1.mdf in the /app_data folder. I get this:No such host is known Description: HTTP 500. Error processing request. Stack Trace: System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in :0 at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in :0 at System.Net.Dns.GetHostAddresses (System.String hostNameOrAddress) [0x00000] in :0 at System.Net.Sockets.UdpClient.Connect (System.String hostname, Int32 port) [0x00000] in :0 at System.Net.Sockets.UdpClient..ctor (System.String hostname, Int32 port) [0x00000] in :0 at System.Data.SqlClient.SqlConnection+SqlMonitorSocket..ctor (System.String ServerName, System.String InstanceName) [0x00000] in :0 at System.Data.SqlClient.SqlConnection.DiscoverTcpPortViaSqlMonitor (System.String ServerName, System.String InstanceName) [0x00000] in :0 at System.Data.SqlClient.SqlConnection.ParseDataSource (System.String theDataSource, System.Int32& thePort, System.String& theServerName) [0x00000] in :0 at System.Data.SqlClient.SqlConnection.Open () [0x00000] in :0 at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet, Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand command, CommandBehavior behavior) [0x00000] in :0 at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet, System.String srcTable) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string) at System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect (System.Web.UI.DataSourceSelectArguments arguments) [0x00000] in :0 This page is here : http://rodd.heliohost.org/Dogs.aspx Like I said, I'm completely new to this and don't know what this error means or what I can do, so any help would be greatly appreciated. Thanks in advance
Ice IT Support Posted January 26, 2012 Posted January 26, 2012 Username? Server? I'm not experienced with asp, but I do know you need to be registered on Johnny to use it here.
rodd Posted January 26, 2012 Author Posted January 26, 2012 Hi,Thanks for your reply.Username is roddd and server is Johnny. Like I said the site is working in general, it's just the pages with datagrids linked to the databases. The other ASP pages are ok.Thanks for your help
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now