locked
Problem publishing website RRS feed

  • Question

  • User-444889952 posted

    Error 3 Web deployment task failed. ((04/03/2013 10:17:16) An error occurred when the request was processed on the remote computer.)

    (04/03/2013 10:17:16) An error occurred when the request was processed on the remote computer.
    The server experienced an issue processing the request. Contact the server administrator for more information. 0 0 awsWebsite

    This is the current problem I am getting if i try to publsh my website to Windows Azure, ths problem only occurs when I try to attach the databases from my visual studio 2012 project. If i dont add the databases then the website will publish but pages that need the databases wont open.

    Any advice would be great. Tom

    Monday, March 4, 2013 5:29 AM

Answers

  • User1196771204 posted

    hi tom_uni,

    the error message is clear. Your site is unable to locate the database server due to the fact that the connection string is incorrect. I believe the best way to resolve it is by contacting your host provider.

    Please kindly mark this response as an "answer" if it helps you. Thanks heaps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 5, 2013 10:23 PM

All replies

  • User-444889952 posted

    Im doing everything on the tutorials are telling me to do

    1) Right Click my project and press 'Publish'

    2)Downloaded my Windows Azure publishing profile and import that

    3)Then I click settings (Database publishing has been configured on the "package/publish sql")

    4) Then i click preview

    5) Then click Publsh

    After it has finished loading it then opens up my home page and when I go to a page that involes the database i get saying page cant be displayed

    Monday, March 4, 2013 9:46 AM
  • User-444889952 posted

    now im getting this

    [Win32Exception (0x80004005): The system cannot find the file specified]
    
    [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: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5295167
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +242
       System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +5307115
       System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +145
       System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +920
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +307
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions) +434
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +225
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +37
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions) +558
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionOptions userOptions) +67
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1052
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
       System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +167
       System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +143
       System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +83
       System.Data.SqlClient.SqlConnection.Open() +96
       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) +316
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +86
       System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1482
       System.Web.UI.WebControls.BaseDataList.GetData() +56
       System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +173
       System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +63
       System.Web.UI.WebControls.BaseDataList.DataBind() +54
       System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +74
       System.Web.UI.WebControls.BaseDataList.CreateChildControls() +72
       System.Web.UI.Control.EnsureChildControls() +83
       System.Web.UI.Control.PreRenderRecursiveInternal() +42
       System.Web.UI.Control.PreRenderRecursiveInternal() +168
       System.Web.UI.Control.PreRenderRecursiveInternal() +168
       System.Web.UI.Control.PreRenderRecursiveInternal() +168
       System.Web.UI.Control.PreRenderRecursiveInternal() +168
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974



    Monday, March 4, 2013 10:49 AM
  • User1196771204 posted

    hi tom_uni,

    the error message is clear. Your site is unable to locate the database server due to the fact that the connection string is incorrect. I believe the best way to resolve it is by contacting your host provider.

    Please kindly mark this response as an "answer" if it helps you. Thanks heaps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 5, 2013 10:23 PM