Telerik Forums
Community Forums Forum
1 answer
177 views
The telerik trainer software is working great.  But I can't use the code that is sent with it when a database connection is required.  I am getting the following error:

 

Server Error in '/WebSite' Application.

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)



Stack Trace:

[SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800131
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +737554
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +114
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +421
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +173
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +357
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +30
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +494
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
   Telerik.Web.UI.GridTableView.DataBind() +304
   Telerik.Web.UI.RadGrid.DataBind() +77
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
   System.Web.UI.Control.EnsureChildControls() +87
   Telerik.Web.UI.GridBaseDataList.get_Controls() +12
   Telerik.Web.UI.RadAjaxControl.PopulatePlainPanels(Control parent, List`1 list, Control root) +66
   Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e) +1174
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +2117788
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

I've looked up that error on the web and done a couple of things...

1) installed the adventureworks database
2) updated the sql server express instance to allow both named pipes and TCP/IP connections.

Is there something else that I need to do to make the items work???

Thanks!

Cory Aston
Ivo
Telerik team
 answered on 05 Feb 2009
0 answers
87 views
Hello,
Read it at Speed up your Web pages (Twenty (plus) tips that make all the difference)

Best regards
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 03 Feb 2009
0 answers
106 views
I want to share this:
CSS Code Snippets : 15 Wicked Trick

Best regards
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 02 Feb 2009
0 answers
155 views
I hope this useful;
jQuery 1.3 Cheat Sheet

Regards
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 02 Feb 2009
0 answers
71 views

We are pleased to announce the immediate availability of SP3 of Telerik OpenAccess Q3 2008. The new version can be downloaded from your accounts.

You can review this version's Release notes here.

Enjoy!

The Telerik Team

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 27 Jan 2009
0 answers
57 views
2 answers
356 views
I'm attempting to install the trial version on Windows Vista so I can evaluate Telerik controls. However, I'm getting the following error:

Error creating virtual directories. Exception details: Unknown error (0x80005000)

Does anyone have any ideas on how I can correct this?

Thanks.
glocomser
Top achievements
Rank 2
 answered on 24 Jan 2009
0 answers
73 views
We are pleased to announce the immediate availability of SP2 of RadControls for WinForms Q3 2008. The new version can be downloaded from your accounts.

You can review this version's Release notes here.

Enjoy!

The Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 21 Jan 2009
3 answers
172 views
Hi

An aggregated forum thread would be a great adittion to the forum.

That way I dont have to go into most of the forum threads and see if there are new threads there. just browse through one thread and response/ help put where I can

Armand
Martin
Telerik team
 answered on 21 Jan 2009
0 answers
107 views
Hello,
I found this useful Dynamically generating Word 2007 (.docx) documents using .net

Best regards
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 19 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?