Wednesday, April 9, 2014

Get an error message when you open an Office file from SharePoint

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

"The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document."

הבעיה נובעת מהסיבה שיש מגוון גרסאות שונות של Office מותקנות בתחנה הקצה ויש כמה גרסאות שונות ל -DLL OWSSUPP זמינות שלא רשומות בצורה נכונה. OWSSUPP.DLL שייך לרכיב ActiveX שנקרא  SharePoint OpenDocuments class זהו Add-On עבור Internet Explorer והוא האינטגרטור לפתיחת מסמכי Office מ-SharePoint.
כדי לבדוק את הגרסה של ה-OWSSUPP.DLL ב- Internet Explorer פתחו את הדפדפן, בחרו ב-Tools ולאחר מכן 
בחרו ב-Managed Add-ons, חפשו את SharePoint OpenDocuments class ושימו לב לגרסה:

12.0..  ל-  Office 2007
14.0..  ל-  Office 2010
15.0..  ל-  Office 2013



אז איך בעצם פתרתי את הבעיה :
ה- OWSSUPP.DLL מותקן כחלק מקטגוריית  " Microsoft SharePoint Foundation Support" בכלי Office.
כדי לפתור את הבעיה צריך ל"השבית" את Microsoft SharePoint Foundation Support בכל גרסה אחרת של Office המותקנת במחשב ולאחר מכן לבצע Repair ל-Office.
למשל אם במחשב עם Office 2010 וLync 2013 התקנתם " Microsoft SharePoint Foundation Support " לשתי הגרסאות (Lync 2013 הוא חלק מחבילת 2013 Office), עליכם להשבית את " Microsoft SharePoint Foundation Support " לLync 2013 ולאחר מכן לבצע Repair ל- Office 2010 כך שOWSSUPP.DLL ירשם ב-Registry.
כדי להסיר את ההתקנה " Microsoft SharePoint Foundation Support " עבור רכיבים שאינם מ- 2010 Office בצעו את הצעדים הבאים :
1.      עברו ללוח בקרה, תוכניות, הסר או התקן את ההתקנה של תכנית.
2.      עבור כל תכנית Office שאינה תכנית Office 2010, בחרו את הפריט ולחצו על שינוי, בחרו הוספה או הסרה של תכונות, לחצו על המשך.
3.      באפשרויות התקנה, הרחיבו את כלי Office, לחצו על " Microsoft SharePoint Foundation Support ", בחרו "Not Available" ולחצו על המשך. אתם חייבים לעשות את זה עבור כל תוכניות משפחת Office שאינן Office 2010 כולל גרסאות קודמות של Office Project או Visio.
4.      ברגע שסיימתם עם הצעד הקודם, בחרו מרשימת התוכניות ובחרו ב- Office 2010.
5.      לחצו על שינוי, בחרו תיקון, לחצו על המשך.
6.      בסיום העבודה בצעו אתחול מחדש לתחנה.



לי זה עבד J

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


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


Hello Friends ,
Today I get a New problem from one of my clients , the client could not create a new document in the document library . Every time the customer tried to create a new document he received the following alert :

"The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document."

The problem stems from the reason that a variety of different versions of Office installed on the end- station and there are several different versions of DLL OWSSUPP available that records correctly.
 OWSSUPP.DLL belongs ActiveX component class called SharePoint OpenDocuments This Add- On for Internet Explorer and integrator for opening Office documents from SharePoint .
To check the version of the OWSSUPP.DLL on Internet Explorer open the browser , select Tools - and then select in Managed Add- ons Search SharePoint OpenDocuments class and note version :

12.0 .. to Office 2007
14.0 .. to Office 2010
15.0 .. to Office 2013



So how I solved the problem :
The OWSSUPP.DLL installed as part of the category " Microsoft SharePoint Foundation Support " in Office .
To solve the problem need for restitution, the “Microsoft SharePoint Foundation Support “ in any other version of Office installed on your computer and then make to Repair Office .
For example, if a computer with Office 2010 and Lync 2013 are installed  then " Microsoft SharePoint Foundation Support " has two versions ( Lync 2013 is part of the PRO 2013 Office ) , you must disable the " Microsoft SharePoint Foundation Support " for Lync 2013 , and then perform Repair for Office 2010 so that OWSSUPP.DLL will be register  in the Registry .
To uninstall the " Microsoft SharePoint Foundation Support " for components that are not from 2010 Office do the following :

1 . Go to Control Panel , Programs, Uninstall or install programs .
2 . For each Office program that is not Office 2010 program, select the item and click Change , select Add or Remove Features , click Continue.
3 . At the Installation options , expand Office Tools , click the " Microsoft SharePoint Foundation Support " , select " Not Available " and click Continue. You must do this for all the Office programs that are Office 2010 includes older versions of Office Project or Visio .
4 . Once you're done with the previous step , select from the list of programs and select - Office 2010.
5 . Click Change , select Repair , click Continue.
6 . At the end of work do reboot to the station.



It worked for me J

Good Luck
Ron Ness .

No comments:

Post a Comment