Welcome Guest Search | Active Topics | Members | Log In | Register

Data access error Options · View
Rick
Posted: Friday, October 05, 2007 7:41:30 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 05/10/2007 07:41:30
Date: Fri, 5 Oct 2007 12:41:30 -0500

I've moved code from a stage machine to the production machine, exact same
code works fine on the stage machine, they are both windows 2003 servers,
I'm getting a "Cannot generate SSPI context" error, there are other sites on
this server that access the same database. IIS is the same, permissions to
the database are correct.

Any suggestions?

Error:

Event Type: Error
Event Source: PSXSTL.Data.DataAccess.SQLServer
Event Category: None
Event ID: 55
Date: 10/5/2007
Time: 12:32:00 PM
User: N/A
Computer: WEB2
Description:
An error occured in the following module: PSXSTL.Data.DataAccess.SQLServer
The Source was: .Net SqlClient Data Provider
With the Message: Cannot generate SSPI context.
Stack Tace: at
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset,
DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String
srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at PSXSTL.Data.DataAccess.SQLServer.runSQLDataSet(String SQL, String
TableName)
Target Site: Void OnError(System.Data.SqlClient.SqlException, Boolean)

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


sloan
Posted: Friday, October 05, 2007 10:41:18 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 05/10/2007 10:41:18
Date: Fri, 5 Oct 2007 14:41:18 -0400

How to troubleshoot the "Cannot generate SSPI context" error message
http://support.microsoft.com/kb/811889




"Rick" <rfemmer@newsgroups.nospam> wrote in message
news:%23bEr3b3BIHA.1056@TK2MSFTNGP03.phx.gbl...
> I've moved code from a stage machine to the production machine, exact same
> code works fine on the stage machine, they are both windows 2003 servers,
> I'm getting a "Cannot generate SSPI context" error, there are other sites
> on this server that access the same database. IIS is the same,
> permissions to the database are correct.
>
> Any suggestions?
>
> Error:
>
> Event Type: Error
> Event Source: PSXSTL.Data.DataAccess.SQLServer
> Event Category: None
> Event ID: 55
> Date: 10/5/2007
> Time: 12:32:00 PM
> User: N/A
> Computer: WEB2
> Description:
> An error occured in the following module: PSXSTL.Data.DataAccess.SQLServer
> The Source was: .Net SqlClient Data Provider
> With the Message: Cannot generate SSPI context.
> Stack Tace: at
> System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
> owningObject)
> at
> System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
> owningConnection)
> at
> System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
> outerConnection, DbConnectionFactory connectionFactory)
> at System.Data.SqlClient.SqlConnection.Open()
> at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset,
> DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String
> srcTable, IDbCommand command, CommandBehavior behavior)
> at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
> CommandBehavior behavior)
> at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
> at PSXSTL.Data.DataAccess.SQLServer.runSQLDataSet(String SQL, String
> TableName)
> Target Site: Void OnError(System.Data.SqlClient.SqlException, Boolean)
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.041 seconds.