Tuesday, July 2, 2013

Unknown SQL Exception 297 occurred. Additional error information from SQL Server is included below

שלום חברים,
היום נתקלתי בבעיה אצל לקוח כשעברתי על ה-Logים ב-Event Viewer בשרת SharePoint.
ראיתי את השגיאה הבאה (Event ID 5586).

" Unknown SQL Exception 297 occurred. Additional error information from SQL Server is included below. The user does not have permission to perform this action. "



כדי לפתור את הבעיה בצע את הפועלות הבאות :

על שרת  SQL Server 2008R2 :
1. פתח את ה- SQL Management Studio וכנס ל-instance  שבו SharePoint מותקן.
2. בחר ב- Database Properties
3. בחר בהרשאות ובחר בחשבון החווה שלך.
4. מצא את ההרשאה "View Server state" וסמן את "grant" checkbox
5. לחץ על אישור.



·         אם ברצונך לוודא שההרשאה מיושמת, לך לכרטיסייה בשם "Effective" ושם תראה את ההרשאה בסוף הרשימה.



על שרת  SQL Server 2012 :
1. פתח את ה- SQL Management Studio וכנס ל-instance  שבו SharePoint מותקן.
2. בחר ב- Security Tab ולאר מכן בחר בחשבון החווה שלך ולחץ על מאפיינים.
3. לך ל- "Securable"  , גלול למטה עד שתראה את " VIEW Server State" סמן את תיבת הסימון.
4. לחץ על אישור.



Unknown SQL Exception297 יפסיק להופיע ב-Event Viewer.

בהצלחה !

רון נס.



============================================================================================================================================================================================================================================================


Hello Friends,
Today I saw an Error in the Event Viewer on SharePoint server.
I saw the following error (Event ID 5586) :

" Unknown SQL Exception 297 occurred. Additional error information from SQL Server is included below. The user does not have permission to perform this action. "



To solve the problem do the next steps :

SQL Server 2008R2

1. Open SQL Management Studio and login to the instance where your SharePoint is installed.
2. Go in the Database Properties
3.  Go to Permissions and Select your Farm Account. 
4. Find the Permission “View Server state” and check the “grant” checkbox
5. Click OK.  



·         If you want to make sure that the permissions applied, just go on the tab called “Effective” and you should see the permission at the end of the list.



SQL Server 2012


1. Open SQL Management Studio and login to the instance where your SharePoint is installed.
2.  Open the Security Tab, Select your Farm account and click Properties.
3. Go in the Securables Section, Scrolldown and you will see the “VIEW Server State” , check “grant”
4. Click OK.


Uknown SQL Exception297 should stop appearing in your Event Viewer. 



Good Luck :)

Ron Ness.

No comments:

Post a Comment