Click here to Skip to main content
15,913,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to search&open the root folder file??? Pin
Deepak the Cool4-Aug-09 22:13
Deepak the Cool4-Aug-09 22:13 
GeneralRe: how to search&open the root folder file??? Pin
Karan_TN4-Aug-09 23:23
Karan_TN4-Aug-09 23:23 
QuestionASP.Net with Java Windows Pin
PDTUM4-Aug-09 18:57
PDTUM4-Aug-09 18:57 
AnswerRe: ASP.Net with Java Windows Pin
puviyarasan.j5-Aug-09 0:01
puviyarasan.j5-Aug-09 0:01 
GeneralRe: ASP.Net with Java Windows Pin
PDTUM5-Aug-09 4:41
PDTUM5-Aug-09 4:41 
Questionenabling synonyms for labels Pin
uglyeyes4-Aug-09 17:00
uglyeyes4-Aug-09 17:00 
AnswerRe: enabling synonyms for labels Pin
uglyeyes6-Aug-09 13:32
uglyeyes6-Aug-09 13:32 
QuestionError running application... [modified] Pin
panyaung4-Aug-09 16:40
panyaung4-Aug-09 16:40 
Hi,

I am facing a problem running a website. The error msg is as follow:

Server Error in '/xxxxx' Application.
--------------------------------------------------------------------------------

Login failed for user 'xxxxx'.
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.Data.SqlClient.SqlException: Login failed for user 'xxxxx'.

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:


[SqlException (0x80131904): Login failed for user 'xxxxx'.]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846887
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
System.Data.SqlClient.SqlConnection.Open() +122
CFECourses.main.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\xxxxx\main.aspx.vb:50
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

************************************************************


The connection string in the global.asax is:

Application("DBConnect") = "Server=localhost;uid=xxxxx;pwd=xxxxx;database=xxxxx"

***************************************************************
The error occurs when I run this application in backup server. It works well in the previous webserver. I think the error is in connection string but still don't get idea how to fix. Pls help me!

Do I need to type in the server name or just local host?

modified on Tuesday, August 4, 2009 10:51 PM

AnswerRe: Error running application... Pin
Adam Maras4-Aug-09 16:44
Adam Maras4-Aug-09 16:44 
GeneralRe: Error running application... Pin
panyaung4-Aug-09 17:23
panyaung4-Aug-09 17:23 
AnswerRe: Error running application... Pin
Abhijit Jana4-Aug-09 17:26
professionalAbhijit Jana4-Aug-09 17:26 
GeneralRe: Error running application... Pin
panyaung4-Aug-09 20:57
panyaung4-Aug-09 20:57 
GeneralRe: Error running application... Pin
puviyarasan.j5-Aug-09 0:04
puviyarasan.j5-Aug-09 0:04 
Questioncan asp page trigger a application? Pin
nelsonpaixao4-Aug-09 15:55
nelsonpaixao4-Aug-09 15:55 
AnswerRe: can asp page trigger a application? Pin
N a v a n e e t h4-Aug-09 16:27
N a v a n e e t h4-Aug-09 16:27 
GeneralRe: can asp page trigger a application? Pin
nelsonpaixao5-Aug-09 14:08
nelsonpaixao5-Aug-09 14:08 
QuestionValidationGroup/CausesValidation in User Control Pin
the_smiths4-Aug-09 15:36
the_smiths4-Aug-09 15:36 
QuestionDirectorySearcher->FindAll : The specified domain either does not exist or could not be contacted Pin
swjam4-Aug-09 15:10
swjam4-Aug-09 15:10 
AnswerRe: DirectorySearcher->FindAll : The specified domain either does not exist or could not be contacted Pin
Abhijit Jana4-Aug-09 17:31
professionalAbhijit Jana4-Aug-09 17:31 
QuestionNunit and unit testing of ASP.NET application [modified] Pin
Sandeep Akhare4-Aug-09 9:19
Sandeep Akhare4-Aug-09 9:19 
AnswerRe: Nunit and unit testing of ASP.NET application Pin
Christian Graus4-Aug-09 13:21
protectorChristian Graus4-Aug-09 13:21 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
Sandeep Akhare4-Aug-09 16:10
Sandeep Akhare4-Aug-09 16:10 
AnswerRe: Nunit and unit testing of ASP.NET application Pin
N a v a n e e t h4-Aug-09 15:50
N a v a n e e t h4-Aug-09 15:50 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
Sandeep Akhare4-Aug-09 16:15
Sandeep Akhare4-Aug-09 16:15 
GeneralRe: Nunit and unit testing of ASP.NET application Pin
N a v a n e e t h4-Aug-09 16:26
N a v a n e e t h4-Aug-09 16:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.