<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Πρώτα Βήματα - Web Development</title><link>https://www.dotnetzone.gr:443/cs/forums/75/ShowForum.aspx</link><description>Ολα τα θέματα που σας απασχολούν σχετικά με ASP, ASP.NET αν τώρα επιχειρείτε να φτιάξετε την πρώτη σας σελίδα.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Help:Πρόβλημα ASP.NET και SQL Server2005</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/48845.aspx</link><pubDate>Wed, 04 Mar 2009 03:08:58 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:48845</guid><dc:creator>manosB</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/48845.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=75&amp;PostID=48845</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://www.dotnetzone.gr/cs/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;ThomasG:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Το web config που έχω είναι:&lt;br&gt;&lt;br&gt;&amp;lt;connectionStrings&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name="LocalSqlServer"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&amp;lt;add name="LocalSqlServer" connectionString="Data Source=.\SQLexpress;AttachDbFilename=|DataDirectory|\acheloos.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/&amp;gt;--&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="LocalSqlServer" connectionString="Data Source=ΧΧ.Χ.Χ.ΧΧΧ,1433;Network Library=DBMSSOCN;Initial Catalog=acheloos;User ID=username;Password=password;" providerName="System.Data.SqlClient"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/connectionStrings&amp;gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

Μπορεί το πρόβλημα σου να είναι ότι η Port του Remote SQL Server είναι διαφορετική από 1433. (Είναι στο 99% των περιπτώσεων) Το τσέκαρες?</description></item><item><title>Απ: Help:Πρόβλημα ASP.NET και SQL Server2005</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/48809.aspx</link><pubDate>Mon, 02 Mar 2009 23:12:13 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:48809</guid><dc:creator>nikolaosk</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/48809.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=75&amp;PostID=48809</wfw:commentRss><description>γενικότερα σε αυτό το Blog έχει πολλά Posts για sql server protocol troubleshooting και connctivity issues.&lt;br /&gt;&lt;br /&gt;Για δες εδώ&lt;br /&gt;&lt;br /&gt;http://blogs.msdn.com/sql_protocols/archive/2005/10/22/sql-server-2005-connectivity-issue-troubleshoot-part-i.aspx</description></item><item><title>Help:Πρόβλημα ASP.NET και SQL Server2005</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/48808.aspx</link><pubDate>Mon, 02 Mar 2009 20:16:45 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:48808</guid><dc:creator>ThomasG</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/48808.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=75&amp;PostID=48808</wfw:commentRss><description>Προσπαθώ να συνδέσω σε ένα site ASP.NET με sql και μου βγάζει προβλημα. Το site είναι ανεβασμένο στον provider, οι οποίοι μου έχουν δώσει την ip του sql server αλλά μου βγάζει συνεχώς το ίδιο πρόβλημα.Με management studio και VPN μπορώ να συνδεθώ αλλα με την IP μου βγάζει συνεχώς το ίδιο πρόβλημα.&lt;br&gt;&lt;br&gt;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        &lt;span&gt;&lt;h2&gt;&lt;i&gt;A network-related or instance-specific error occurred while establishing 
a connection to SQL Server. The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to 
allow remote connections. (provider: TCP Provider, error: 0 - A connection 
attempt failed because the connected party did not properly respond after a 
period of time, or established connection failed because connected host has 
failed to respond.)&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: 
&lt;/b&gt;An unhandled exception occurred during the execution of the current web 
request. Please review the stack trace for more information about the error and 
where it originated in the code. &lt;br&gt;&lt;br&gt;&lt;b&gt;Exception Details: 
&lt;/b&gt;System.Data.SqlClient.SqlException: A network-related or instance-specific 
error occurred while establishing a connection to SQL Server. The server was not 
found or was not accessible. Verify that the instance name is correct and that 
SQL Server is configured to allow remote connections. (provider: TCP Provider, 
error: 0 - A connection attempt failed because the connected party did not 
properly respond after a period of time, or established connection failed 
because connected host has failed to respond.)&lt;br&gt;&lt;br&gt;&lt;b&gt;Source Error:&lt;/b&gt; 
&lt;br&gt;&lt;br&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;An unhandled exception was generated during the execution of the 
current web request. Information regarding the origin and location of the 
exception can be identified using the exception stack trace below.&lt;/code&gt; 
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;&lt;b&gt;Stack Trace:&lt;/b&gt; &lt;br&gt;&lt;br&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState&amp;amp; originalState) +31
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842&amp;nbsp;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;br&gt;Το web config που έχω είναι:&lt;br&gt;&lt;br&gt;&amp;lt;connectionStrings&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;remove name="LocalSqlServer"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&amp;lt;add name="LocalSqlServer" connectionString="Data Source=.\SQLexpress;AttachDbFilename=|DataDirectory|\acheloos.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/&amp;gt;--&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="LocalSqlServer" connectionString="Data Source=ΧΧ.Χ.Χ.ΧΧΧ,1433;Network Library=DBMSSOCN;Initial Catalog=acheloos;User ID=username;Password=password;" providerName="System.Data.SqlClient"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/connectionStrings&amp;gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;</description></item></channel></rss>