Προς το περιεχόμενο

Προτεινόμενες αναρτήσεις

Δημοσ. (επεξεργασμένο)

Καλησπερα παιδια. Εδω και λιγες μερες κατασκευαζω ενα site και εφτασε η ωρα επιτελους να ανεβει...η βαση δεδομεμενων ειναι ανεβασμενη και το site programmatistika το δουλευω localhost αλλα με τα δεδομενα "πανω" Μολις ανεβαζω το site στον σερβερ μου ανεβαζει αυτο :

 

 

Server Error in '/' Application. 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

Description: 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.

Exception Details: System.ComponentModel.Win32Exception: 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

Source Error:



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.

Stack Trace:



[Win32Exception (0x80004005): 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][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.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5296071   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +558   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +5308555   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) +889   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(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +160   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +108   _Default.Page_Load(Object sender, EventArgs e) +83   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51   System.Web.UI.Control.OnLoad(EventArgs e) +92   System.Web.UI.Control.LoadRecursive() +54   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045

 

 

Γνωριζει κανεις τι λαθος μπορει να υπαρχει...εχω μιλησει με την εταιρια του σερβερ...περιμενω απαντηση και απλα τωρα ψαχνομαι μηπως φταιω εγω....Το σαιτ τοπικα δουλευει κομπλε...

Επεξ/σία από kos6101991
Δημοσ.

Φίλε, άμα έχει βάλει κάποια εικόνα ή κάποιο link, δεν εμφανίζεται σωστά. Προφανώς δεν μπορούμε να σε βοηθήσουμε έτσι.

Δημοσ.

Καλησπερα παιδια. Εδω και λιγες μερες κατασκευαζω ενα site και εφτασε η ωρα επιτελους να ανεβει...η βαση δεδομεμενων ειναι ανεβασμενη και το site programmatistika το δουλευω localhost αλλα με τα δεδομενα "πανω" Μολις ανεβαζω το site στον σερβερ μου ανεβαζει αυτο :

 

 

Γνωριζει κανεις τι λαθος μπορει να υπαρχει...εχω μιλησει με την εταιρια του σερβερ...περιμενω απαντηση και απλα τωρα ψαχνομαι μηπως φταιω εγω....Το σαιτ τοπικα δουλευει κομπλε...

Τι βγάζει;

Ελπίζω να μη το άφησες σαν localhost γιατί μερικοί providers δεν υποστηρίζουν και πρέπει να βάλεις την IP ή το hostname του database server.

Δημοσ.

Η σελιδα αυτη τη στιγμη μου εμφανιζει αυτοτο μηνυμα :

 

Server Error in '/' Application. 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
Δημοσ.

ρώτα την εταιρεία που σε φιλοξενεί πιο είναι το hostname και η port του database server και άλλαξε τα στον κώδικα με αυτά που σου έχουνε δώσει.

 

Α και κάτι άλλο... ελπίζω να έχεις ανεβάσει την σελίδα σου μέσα στο φάκελο "www" η "httpdocs"

Δημοσ.

Aδερφε αυτα τα εχω κανει...σου ειπα πως localhost δουλει μια χαρα, μετην βαση ανεβασμενη! Οταν ανεβαζω το site me ftp στον σερβερ δημιουργει αυτο το προβλημα....

Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε

Πρέπει να είστε μέλος για να αφήσετε σχόλιο

Δημιουργία λογαριασμού

Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!

Δημιουργία νέου λογαριασμού

Σύνδεση

Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.

Συνδεθείτε τώρα
  • Δημιουργία νέου...