I have a query i want to run via my asp webpage. It runs fine in SQL Server 2005. It's based on a linked server. However when I tried to throw this query up in ASP. I get the following error. I need someone to help me figure out what this means in plain engrish. I don't really know what to do...
The OLE DB provider "SQLNCLI" for linked server "IN-MMGE-CELLLAB" reported an error. Authentication failed.
Cannot initialize the data source object of OLE DB provider "SQLNCLI" for linked server "IN-MMGE-CELLLAB".
Stack Trace:
[SqlException (0x80131904): The OLE DB provider "SQLNCLI" for linked server "IN-MMGE-CELLLAB" reported an error. Authentication failed.
Cannot initialize the data source object of OLE DB provider "SQLNCLI" for linked server "IN-MMGE-CELLLAB".]
System.Data.SqlClient.SqlC
onnection.
OnError(Sq
lException
exception, Boolean breakConnection) +862234
System.Data.SqlClient.SqlI
nternalCon
nection.On
Error(SqlE
xception exception, Boolean breakConnection) +739110
System.Data.SqlClient.TdsP
arser.Thro
wException
AndWarning
(TdsParser
StateObjec
t stateObj) +188
System.Data.SqlClient.TdsP
arser.Run(
RunBehavio
r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1956
System.Data.SqlClient.SqlD
ataReader.
ConsumeMet
aData() +31
System.Data.SqlClient.SqlD
ataReader.
get_MetaDa
ta() +62
System.Data.SqlClient.SqlC
ommand.Fin
ishExecute
Reader(Sql
DataReader
ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
derTds(Com
mandBehavi
or cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +903
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
der(Comman
dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlC
ommand.Run
ExecuteRea
der(Comman
dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlC
ommand.Exe
cuteReader
(CommandBe
havior behavior, String method) +122
System.Data.SqlClient.SqlC
ommand.Exe
cuteDbData
Reader(Com
mandBehavi
or behavior) +12
System.Data.Common.DbComma
nd.System.
Data.IDbCo
mmand.Exec
uteReader(
CommandBeh
avior behavior) +7
System.Data.Common.DbDataA
dapter.Fil
lInternal(
DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
System.Data.Common.DbDataA
dapter.Fil
l(DataSet dataSet, String srcTable) +83
System.Web.UI.WebControls.
SqlDataSou
rceView.Ex
ecuteSelec
t(DataSour
ceSelectAr
guments arguments) +1770
System.Web.UI.DataSourceVi
ew.Select(
DataSource
SelectArgu
ments arguments, DataSourceViewSelectCallba
ck callback) +17
System.Web.UI.WebControls.
DataBoundC
ontrol.Per
formSelect
() +149
System.Web.UI.WebControls.
BaseDataBo
undControl
.DataBind(
) +70
System.Web.UI.WebControls.
GridView.D
ataBind() +4
System.Web.UI.WebControls.
BaseDataBo
undControl
.EnsureDat
aBound() +82
System.Web.UI.WebControls.
CompositeD
ataBoundCo
ntrol.Crea
teChildCon
trols() +69
System.Web.UI.Control.Ensu
reChildCon
trols() +87
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +41
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +161
System.Web.UI.Control.PreR
enderRecur
siveIntern
al() +161
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +1360
Start Free Trial