Office Web Apps 2010 for SharePoint Foundation will not View Word or PowerPoint File

Proposed Office Web Apps 2010 for SharePoint Foundation will not View Word or PowerPoint File

  • Donnerstag, 20. Mai 2010 15:01
     
     

    I have installed a SharePoint Foundation 2010 in a Farm environment and installed Office Web Apps 2010. I have not been able to view Word documents or PowerPoint documents inside of the web browser. I can view Excel documents okay and I can edit a Word doc in the browser.

     

    Does anyone have any suggestions as to what may be the problem?


    Daryl Gilbert II

Alle Antworten

  • Donnerstag, 20. Mai 2010 15:42
     
     
    Whats the Browser you are using? Can you please eloborate the exact behavior/error you are getting? This would help other Forum Members to understand your problem well.
    Thanks & Regards,
    Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
  • Donnerstag, 20. Mai 2010 18:54
     
     

    The browsers I have tried are Internet explorer 8 and FireFox, both browsers delivered the same results.

    When I try to view a Word 2010 document I receive a error message "Word Web App cannot open this document for viewing because of and unexpected error. To view this document, open it in Microsoft Word. <label id="errorId" class="WACErrorId">Error Id: d55928a5-24c2-4a2e-bd9d-358316c9a254, 20100520134750</label> "

    When I select edit the Word 2010 document in the browser it opens with no problem in the browser for editing.

    When trying to view a PowerPoint 2010 document in the browser the error message is "PowerPoint Web App encountered an error. Please try again."

    The same error message appears when I try to edit in browser for PowerPoint.


    Daryl Gilbert II
  • Freitag, 21. Mai 2010 00:02
     
     
    Did you configure the Word Viewing Service and the PowerPoint Service Application in SharePoint Foundation? More info at: http://technet.microsoft.com/en-us/library/ff431687.aspx 
  • Freitag, 21. Mai 2010 00:46
     
     

    Yes, I remember when I was working from the Beta versions of the programs that I have to install Office Web Apps right after installing SharePoint Foundation then run the Technologies wizard after that install for the first time.

    The install issues I have had recently are from the RTM versions of the programs.

    I have uninstalled reinstalled and reconfigured with no luck. One time the Excel works, then none of the others. Then another will work and excel will stop it. It is very buggy to me.

    I did follow all the guides features in the TechNet Lib... and still I have had no luck.

    Although to have the Office Web Apps is a great feature to have, I am beginning to think it will not work for me and I am will eventually have to remove it.

    Hopefully someone will come up with a good idea to help me. I will try t post more details about my setup soon.


    Daryl Gilbert II
  • Freitag, 21. Mai 2010 02:46
     
     Vorgeschlagene Antwort

    Is this installed on a DC?

    ---

    You need to use the following script to enable Office Web Apps on a DC.

    Open SharePoint 2010 Management Shell, then run:

    #Enable Word Web App:

    $e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}
    $e.WordServerIsSandboxed = $false
    $e.WordServerIsSandboxed

    #Enable PowerPoint Web App - you need to answer "Y" for each command:

    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false
    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false

    On the server, use Notepad to open c:\windows\system32\inetsrv\config\applicationHost.config.  Add the line below at the end of the dynamicTypes section.
    <add mimeType="application/zip" enabled="false" />

    Then do a IISRESET /NOFORCE. Please note all files viewed (already have cache created) before these commands need to be re-upload again to make sure them work with Office Web Apps. Please note the service application name could be different if you are working on a SKU that's not English. 中文版的尤其要记得把Word Viewing Service Application改名!!!

    ---Source -> http://blogs.msdn.com/opal/archive/2010/04/25/faq-sharepoint-2010-rtm-installation.aspx 


    Blog: Alpesh Nakar's Blog | Twitter: Follow Alpesh on Twitter |SharePoint Resources: Just SharePoint Resource Center | Follow Just SharePoint updates on Twitter
    • Als Antwort vorgeschlagen 1234sayangawak Freitag, 19. Oktober 2012 07:39
    •  
  • Freitag, 21. Mai 2010 04:03
     
     

    I am not familar enough with Power Shell to make the first set of commands for Word to work. I have tried and it is throwing back ;

    "Property 'WordServerIsSandboxed' cannot be found on this object; make sure it exists and is settable.

    At line:1 char:4

    + $e. <<<< WordServerIsSandboxed = $false

    + CategoryInfo             :InvalidOperation: (:) [], RuntimeException

    + FullQualifiedErrorId     : PropertyAssignmentException


    Daryl Gilbert II
  • Freitag, 21. Mai 2010 05:04
     
     

    Hi Daryl,

    Are you using a .docx or .doc file?

    Please double check your settings using this link - Configure Word Viewing Service Settings

    Also, in Planning Office Web Apps, review the Known Issues section.

     

     


    Thanks & Regards,
    Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
  • Freitag, 21. Mai 2010 14:20
     
     

    I have reviewed the information you posted and I have had no additional luck with the changes.

    The on thing that has changes is I can view pptx, xlsx files, and I can edit xlsx and docx files.

    I have been trying both 2010 and older formats.


    Daryl Gilbert II
  • Samstag, 22. Mai 2010 15:26
     
     

    I had this same type of problem.  It is related to the order in which you install then run the configuration wizard.  I solved by (it may not work since you have already gone through the process) but if it is a vm and you are testing (then here you go).

    1. Install SP 2010  (do not run config wizard)

    2. Install WebApps bits (then run config wizard)

    If you have already have a farm going and can not start over (then ouch), not sure what to do in that case.  Perhaps uninstalling WebApps then doing a Repair on SP 2010 then installing WebApps again then run the config wizard.

     

  • Samstag, 22. Mai 2010 16:54
     
     

    I have it working now. The way I have my system configured was;

    1. SBS 2008 (Virtual on Citrix XenServer)

    2. Windows Server 2008 R2 (Virtual) SQL Server 2008 R2

    3. Windows Server 2008 R2 (Virtual) Application Server setup to be SP Farm Lead

    I configured the App server to run the farm and added my SBS 2008 Server to the farm. I could not the get the scripts mentioned above to work.

    ------

    What I did to get it work was, turn off the app server, remove my SBS SharePoint installation from the Farm and created a new farm on the SBS 2008 Server.

    I went through the normal steps, run the PowerShell script and now I can view and edit documents as outlined in the software.

    Thanks, to all of the help on the forum, everything is working now on the SBS 2008 Server.


    Daryl Gilbert II
  • Donnerstag, 14. April 2011 15:46
     
     
    Hi I did abile to run all code and modified the config file still given me the word "

    Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word."

    What should I do it is on a Develoment envirenment everything is here..Thanks in Advance

    Kind Regards

  • Donnerstag, 14. April 2011 15:58
     
     

    Sorry Nakar,

    When I decided to restart the server it start to work.

    Thx

  • Freitag, 24. Juni 2011 13:53
     
     
    • Als Antwort vorgeschlagen TitouB Freitag, 24. Juni 2011 13:53
    • Nicht als Antwort vorgeschlagen Steven AndrewsEditor Montag, 28. Mai 2012 16:26
    •  
  • Mittwoch, 23. November 2011 23:12
     
      Enthält Code

    Hi!

    i'm not in a DC environment but i did some of Alpesh manipulations and it worked for me.

    Symptoms:

    • PowerPoint Service not working in viewing mode nor in in editing mode

    Manipulations:

    • reapply managed account on "Service Application Pool - SharePoint Web Services Default" and "Service Application Pool - SharePoint Web Services System"
    • Change sandboxing to false
    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false
    Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false
    
    • IISreset
    • Delete documents (don't know if it's necessary)
    • reupload documents
    • cross fingers

    Stéphan.

  • Montag, 28. November 2011 00:35
     
     

    I am not familar enough with Power Shell to make the first set of commands for Word to work. I have tried and it is throwing back ;

    "Property 'WordServerIsSandboxed' cannot be found on this object; make sure it exists and is settable.

    At line:1 char:4

    + $e. <<<< WordServerIsSandboxed = $false

    + CategoryInfo             :InvalidOperation: (:) [], RuntimeException

    + FullQualifiedErrorId     : PropertyAssignmentException


    Daryl Gilbert II


    change the first line on following:

    $e = Get-SPServiceApplication | where {$_.DisplayName -eq "Word Viewing Service Application"}

  • Freitag, 25. Mai 2012 05:47
     
     

    In Chinese Version you must change "Word Viewing Service Application" to "Word Viewing Service  应用程序",

    or if you custom service application and then you must input another service name!!!


    IT Worker

  • Freitag, 19. Oktober 2012 07:40
     
     
    this solve my problem! thanks! ^^

    nuramira