Hi
I have a C# plugin which reads data from a different SQL server DB (through stored procedure) and creates record in CRM.
Stored Procedure:
The data is retrieved from a table in linked server.
Code:
DataSet dsCandidatesWithInvalidBAPS = new DataSet();
SqlDataAdapter da = new SqlDataAdapter("GetContactDataWithFaults", xyzDB);
da.SelectCommand.CommandType = CommandType.StoredProcedure;
da.SelectCommand.CommandTimeout = sqlTimeout;
da.SelectCommand.Parameters.Add("@topRows", SqlDbType.Int).Value = taskSchedulerArgs[0];
xyzDB.Open();
da.Fill(GetContactDataWithFaults); ------> error at this line
Error message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Could you help me please?
Thanks
Bab
*This post is locked for comments
I have the same question (0)