Foxit WebPDF for SharePoint Trouble Shooting
Please read this troubleshooting guide to solve a problem if you meet the following problems. Q1. Foxit WebPDF has been successfully installed, but there is no “View by Foxit WebPDF Reader” option in the File list. Please use following steps to make sure that the “Foxit WebPDF Reader” feature has been activated in the corresponding site collection. First, you should visit the website which needs to enable Foxit WebPDF Reader.
You can also use PowerShell to activate the “Foxit WebPDF Reader” in site collection. -For SharePoint 2010 $webAppsFeatureId = $(Get-SPFeature -limit all | where {$_.displayname –eq "Foxit.WebReader.Sharepoint_SPFoxitWebReaderMain"}).Id Get-SPSite-limitALL|foreach{Enable-SPFeature$webAppsFeatureId-url$_.URL } -For SharePoint 2013 $webAppsFeatureId = $(Get-SPFeature -limit all | where {$_.displayname –eq "Foxit.WebReader.Sharepoint.2013_SPFoxitWebReaderMain"}).
server farm. Howtomanageservice. 3. Make sure all the relative service applications and proxies of Foxit WebPDF Reader (including service application of “Foxit WebPDF Reader Conversion” and service application proxy of “Foxit WebPDF Reader Conversion”) have been created, and are in the started status; 4. Make sure COM component has been installed successfully; 5. Check the log information of “Foxit WebPDF Reader for SharePoint”, and find out the error information. 6.
Q4. When opening a PDF file via WebPDF Reader, a dialog (as shown below) pops up, how do you solve it? 1. Make sure the service instances of “Foxit WebPDF Reader Conversion Service” are started in at least one application server in the server farm. Howtomanageservice. 2.
again; 4. Check the log information of “Foxit WebPDF Reader for SharePoint”, and find out the error information. Q6. How to make “Foxit WebPDF Reader Conversion Service” works on the new added application server in the SharePoint farm? Run the following PowerShell command to install “Foxit WebPDF Reader Conversion Service” in the new application server: New-FoxitConversionServiceInstance [-Provision] ”Foxit W ebPDF Reader Conversion Service” will be installed and started if Provision value is 1.
Click “Explore”. Find “web.config”, and add the following in of “web.config”: Make sure that all related web applications’ web.config files have been modified.
Q8. When opening a PDF file via WebPDF Reader, users can not edit text after select the text in IE browser, how do you solve it? Open Compatibility View settings Unselect the two checkbox and close.
Appendix 1: How to create “Foxit WebPDF Reader Conversion Service” Visit SharePoint 2010 Central Administration. Click “Manager Service Applications” under “Application Management”. Click “New” on the toolbar, select “Foxit WebPDF Reader Conversion Service” from the drop-down menu. The “Create New Foxit WebPDF Reader Conversion Service Application” dialog box pops up, In the “Name” filed, input a Service name as you like.
For the “Add to default proxy list” option, check “Add this service application’s proxy to the farm’s default proxy list” option. After the above settings are applied, you can find the “Foxit PDF Conversion Services” listed in the Service Application list. Alternatively, you can also use the PowerShell command to create “Foxit PDF Conversion Service” and “Foxit PDF Conversion Service Proxy”.
Start “Foxit WebPDF Reader Conversion Service” if it is in the stopped status. If there is no Foxit WebPDF Reader Conversion Service in the list, use below PowerShell command to install. New-FoxitConversionServiceInstance You can also use PowerShell command to start “Foxit WebPDF Reader Conversion Service”.
Appendix 2: Common error log information 2013-09-1711:05:41,419[13]ERRORFoxitWebReaderService[(null)]-Sessiondoesnotenable: System.InvalidOperationException:Operationisnotvalidduetothecurrentstateoftheobject. The above information indicates that SharePoint Session service is turned off. You need to start the service to use Foxit WebPDF Reader. 2013-09-1710:58:39,632[4]ERRORFoxitWebReaderService[(null)]-Anexceptionoccursin ConversionServiceClient::ProcessRequest. Microsoft.SharePoint.
Click “Database configuration” under “Foxit WebPDF Reader Global Configuration”. Input the database server instance in “Database Server”, Database Name in “Database Name” and the account name and password of the database in “Account” and “Password” respectively (please make sure the database is in the database server). Click “OK” to finish and go back to the main page. 2013-09-1711:00:51,063[STPSmartThreadPoolThread#1]ERRORFoxitWebReaderService[(null)]GetDocMainfestException: System.Runtime.
command: Test-SPFoxitComs 2013-10-2611:22:22,042[49]ERRORFoxitWebReaderWFE[(null)]-Unexpectedexceptionwhilecalling method'ConversionServiceClient::ProcessRequest'. System.ServiceModel.ServiceActivationException:Therequestedservice, 'http://192.168.1.170:32843/18d441fc076f4b34b45040f15f1a087d/FoxitWebReaderService.svc'couldnotbe activated.Seetheserver'sdiagnostictracelogsformoreinformation. The above log information indicates the free memory is less than 5% of total in the sever.