Tuesday, April 22, 2014

Can't Save Office Documents on SharePoint Document Library


שלום חברים,
היום נתקלתי בבעיה אצל אחד הלקוחות שלי שלא הצליח לשמור מסמכי Office ב-SharePoint.
אפרט בקצרה על התרחיש :

סביבה : SharePoint 2010 Enterprise Edition, תחנת קצה – Windows 7.
1.       משתמש יוצר מסמך חדש בספריית מסמכים באתר SharePoint.
2.       המסמך נפתח ב-Office Client בתחנת המשתמש, לצורך העניין WinWord.
3.       המשתמש מזין תכנים למסמך ולחוץ על שמירה.
4.       חלון שמירה נפתח אך ה-View של SharePoint אינו מוצג, במקום זאת מוצג View של Desktop של מערכת ההפעלה בתחנה.
5.       לא ניתן לשמור את המסמך ב-SharePoint.

·          הערה : מסמכים קיימים שנפתחים לעריכה כן נשמרים ל-SharePoint אבל כשלוחצים על פקד Save As הבעיה חוזרת.

לאחר בדיקה מעמיקה והרבה ניסיונות, מצאתי כי קובץ DLL בשם  MSONSEXT.DLL (msonsext.dll הוא מודול שקשור ל- SharePoint Portal Server) בתיקיה C:\Program Files\Common Files\Microsoft shared\Web Folders היה בגרסה 11.0 שאיננה תואמת למערכת OFFICE המותקנת (2007 - 12.0).

כאשר החלפתי את הקובץ לגרסה מותאמת ל-2007, הפונקציונאליות חזרה והיה ניתן לשמור מסמכים שנוצרים מחדש ב-SharePoint.

לאחר עיון מעמיק יותר על קובץ ה-DLL הבנתי שב -Windows 7 הפונקציונאליות של Web Dav או תיקיות רשת קיימת כברירת מחדל, לכן ניסתי למחוק את הקובץ, וראיתי שזה עדיין עובד.
הDLL אחראי בעיקרו על Web Folders ולכן אינני רואה בעיה עתידית שקשורה ספציפית להחלפה או הסרה של הקובץ. גם בדרך כלל עדכונים יחליפו את הקובץ במידה ואיינו קיים.

לסיכום, המסקנה היא שכאשר מנסים ליצור קובץ ב-SharePoint, מערכת ההפעלה קודם בודקת אם יש את הקובץ המוזכר ובמידה וכן משתמשת בו.
במידה ולא קיים, היא משתמשת במה שקיים במערכת ההפעלה.

מצ"ב לינק מעשיר בנושא על Web Dav

בהצלחה !
רון נס.



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


Hello Friends,
Today I found a problem in one of my clients who could not save Office documents in SharePoint.

I will elaborate briefly on the scenario:

Environment: SharePoint 2010 Enterprise Edition, the end station - Windows 7.

1. User creates a new document in a document library on a SharePoint site.
2. Document is opened in Office Client at the user station; let's say "WinWord."
3. The User adds content to the document and pressed save button.
4 . Save Dialog window opens but the View of SharePoint is not displayed, it is displayed instead of the Desktop View OS station.
5. The User could not save the document in SharePoint.

· Note: existing documents that are opened for editing are saved to SharePoint , but when you click the Save As button the problem are persists .

After depth review and many attempts , I found that the DLL file named MSONSEXT.DLL ( msonsext.dll is a module related to SharePoint Portal Server ) in the folder C : \ Program Files \ Common Files \ Microsoft shared \ Web Folders was at 11.0 version that is not compatible with the installed OFFICE ( 2007-12.0 (.

When I changed the file to other version adapted to 2007, the functionality was back and the user could save the documents that were created in SharePoint.

After more depth examination of the DLL I was realized that in Windows 7 the functionality of Web Dav folders existing by default, so I tried to delete the file, and saw that it still works.
The DLL is responsible primarily for Web Folders so I do not see a future problem specifically related to replacement or removal of the file. Also some updates will replace the file if the file doesn't exist.

For summary, the conclusion is that when we trying to create a file in SharePoint, the operating system first checks whether the file has mentioned and if so uses it.
If there isn't a file, it uses what exists in the operating system.

Attached is a link related enriches the Web Dav

Good Luck   :)
Ron Ness.

No comments:

Post a Comment