Not Defteri

Akılda duracagına burda dursun

AUTHORITY\ANONYMOUS LOGON & SharePoint

My Sharepoint site has an error message is AUTHORITY\ANONYMOUS LOGON after installed new webpart which is developed with me. This web part use SQL connection and my Sharepoint site application pool has right permition on SQL server. I try so mant things and notice I must to write code like this;

 SPSecurity.RunWithElevatedPrivileges(delegate()
{
    // The code wich connect SQL Server and do some things.
});

Reinstall this web part and everyings works well.

Posted: Mar 09 2010, 01:42 by kkaradag | Comments (0) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5