Sorry, something went wrong - Open Office File from Search Results Page with Office Web Apps

Hi,
I'm getting "Sorry, something went wrong" error when I'm trying to open any office document from inside Search Results Page with Office Web Apps, the same error is appearing in the document preview as well.
The error in SharePoint logs says that the file cannot be found.
Please note that this error is coming only when the "Filename" of the document is not written in English (in my case its written with Arabic characters).
If I try to open it from the document library, its opening properly with no errors.
The only difference between two URLs (document URL in Search Results and in Document Library) is the value for "sourcedoc" attribute;
In the case of Search Results page, the filename in "sourcedoc" attribute is kept as is with Arabic characters.
While in the Document Library, the filename in "sourcedoc" attribute is converted into different characters (something like: "B9%D9%85%D9%8").
Anybody have an idea on how to overcome this issue, implement a workaround or modify the "sourcedoc" behavior?
Thanks in Advance.
Hamza AlSughier

Dear Wendy,
Thanks for your efforts, I already tried your last suggestion before, but this didn't solve my problem.
Actually my end users are accessing this portal using ADFS and HTTPS.
Finally I got this solved, I have done below to get my overall solution working perfectly:
- First I have configured Windows Authentication and ADFS Authentication on the same zone which is the default zone.
- The issue when opening office documents with Arabic file name has disappeared as a result of first change.
- Then I have faced an issue where we are not able to crawl content under Default zone, however we have to do so, after too many efforts, I found that its related to the Load-balancer/proxy, I have made the crawler server
to crawl himself (http://CrawlServerName:PortNumber).
- Also a change on Alternate Access Mapping was needed, I have set one of the extended zones (which is running Windows Authentication only) as Internal URL for the Default Zone, and this is was the URL I used for Crawling.
I have configured Server Name Mappings to make sure we got proper URLs in Search Results.
- Then we faced another issue, which is Authentication selection on login page (How to bypass this page, and authenticate using ADFS auto), I used this solution (Set Custom Sign In Page):
http://0ut0ftheb0x.wordpress.com/2014/01/04/skip-the-authentication-selection-page-at-_logindefault-aspx-in-a-mixed-authentication-environment/.
- I faced one more issue as a result of above workaround; Sign Out functionality wasn't working well; users get logged in automatically whenever I click on Sign Out. I solved this by modifying the "Sign Out" Control under _layouts;
I made it to redirect users to ADFS Sign Out Page instead of SharePoint Sign Out Page (I know its not recommended, but I don't have any other option).
Hamza AlSughier

Similar Messages

  • Unable to open pdf files from search results page in Office 365 site

    Hi folks,
    I am getting this issue since a while now. In office 365 site, if I click on links that points to pdf files in search results page, I get this -
    “The filename, directory name, or volume label syntax is incorrect”. 
    These pdf files are stored in the same site and I am able to open them in adobe reader directly from the document library but not from the search results page.
    I have already gone this post and doesn't help me -
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/545efcc6-b748-4df8-aee0-7f57f778ad1e/sharepoint-2010-opening-pdfs-in-search-results-the-filename-directory-name-or-volume-label?forum=sharepointgeneralprevious
    Any help or pointer is much appreciated.
    Thanks,
    Manvir
    Manvir

    Hi,
    Besides pamma has suggested, here are similar issues, you can take a look at:
    http://unsolicitedbutoffered.blogspot.com/2014/01/quick-fix-volume-syntax-error-when.html
    http://crowdsupport.telstra.com.au/t5/T-Suite-Applications/There-was-an-error-opening-this-document-The-filename-directory/td-p/197425
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Error opening PDF files from search results webpart on anonymous SharePoint 2013SP1 site with IE

    Clicking search results, in the strict sense pdf files, using IE on an anonymous SharePint 2013SP1 site, I received the error: There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.
    I would like to solve this problem on the server side.
    Starting position:
    SharePoint 2013 SP1
    Web Application:
    based on template 'Publishing Portal'
    Anonymous Access enabled
    Claims based authentication: Integrated Windows Authentication NTLM
    Client Integration disabled
    Site Collection:
    Anonymous Access enabled for 'Entire Web site' => group 'Anonymous Users' was created
    added permission to open items: $Web.AnonymousPermMask64 = "ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration, OpenItems"
    Client side solutions:
    c1) Open Link with “Open in new tab” or “Open in new window” => OK
    c2) Disable IE Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” => OK
    c3) Set bDisableSharePointFeatures to 1 in regetit => OK
    Server side solutions:
    S1) Turn off Client Integration => didn't work, still same error
    S2) Modify DOCICON.XML => didn't work, still same error
    I gave these two options a chance:
    first: <Mapping Key="pdf" Value="icpdf.png" OpenControl="SharePoint.OpenDocuments"/>
    then: <Mapping Key="pdf" Value="icpdf.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
    I modified DOCICON.XML on both hives 14 and 15.
    Remarks:
    - After changingparameters I allways did an IISreset.
    - As far as I understood I can only change bDisableSharePointFeatures on Client Side.
    Any help, suggestion, idea wellcome!
    Thanks!

    Hi folks, here's the reason for my problem. I used the oob search result web part. The result items (PDF items) are rendered by the template Item_PDF.html/Item_PDF.js. This template holds a code snippet that assigns a certain OpenControl to the PDF item - that's hard coded. So, no matter what you configure in DOCICON.XML, the PDF item will be opened with the control "PdfFile.OpenDocuments". Solution is e.g. just to leave the OpenControl blank.   
    template:
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.html
    /_catalogs/masterpage/Display Templates/Search/Item_PDF.js
    code before:
    ctx.CurrentItem.csr_OpenControl = "PdfFile.OpenDocuments";
    code after:
    ctx.CurrentItem.csr_OpenControl = "";
    Enjoy
    Harry

  • Office Web Apps Issue - "Sorry, something went wrong" message when opening a document (any MS docx,ppt etc) in IE. With Chrome, it pops (Microsoft Office needs your permission) message and on RUN, it opens the document.

    When opening any Microsoft documents ( docx, ppt etc) in SharePoint 2013,
    Internet Explorer behavior : "Sorry, something went wrong" An unexpected error has occurred message and then nothing happens. 
    In Chrome : Pops (Microsoft Office needs your permission) message and on clicking RUN, it opens the document.
    In Firefox : the documents opens, after asking which application do you want to use to open it.
    The feature (Open Documents in Client Applications by Default) is not activate.
    Why the MS documents are not working in IE 10?

    Hi,
    According to your post, my understanding is that you failed to open Microsoft documents in SharePoint 2013.
    I recommend to Run the following PowerShell in OWA Server :
    Remove-OfficeWebAppsHost # To Remove any restriction
    Or
    New-OfficeWebAppsHost -Domain <String> # To allow specific domain Name
    In addition, you can allow OAuth via HTTP using the following commands:
    $config = (Get-SPSecurityTokenServiceConfig)
    $config.AllowOAuthOverHttp = $true
    $config.Update()
    Here are two similar articles for you to take a look at:
    http://blogs.msdn.com/b/fabdulwahab/archive/2013/10/30/office-web-apps-with-sharepoint-2013-issues.aspx
    http://stevemannspath.blogspot.in/2013/03/sharepoint-2013-office-web-apps-issue.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Sorry, something went wrong and Word was unable to start (6) Office 2013

    Ok this is just so annoying.
    Whenever I try to open Word, it gives the error "Sorry, something went wrong and Word was unable to start.(6)". Other office applications either freeze or crash. Only Excel works fine. Running Win7 64 bit.
    Tried all possible ways of installation/reinstallation. Did repair, uninstalled and reinstalled manually, uninstalled with FixIt from Microsoft, removed every leftover thing from registry. Also removed some other applications that I thought could cause this
    problem for Office. 
    Uninstalled 64 bit Office, and installed 32 bit, same exact problems.
    !!!Don't suggest me to run as administrator please!!!

    Hi,
    According to your description, I suppose that Word 2013 was blocked by some other applications after you opening it.
    Which operation system do you use?  Have you installed the Office 2013 SP1?
    Then, we try to do some tests to narrow down the issue:
    1. Collect the Event log
    http://windows.microsoft.com/en-us/windows/what-information-event-logs-event-viewer#1TC=windows-7
    2. Use the
    Process Monitor to collect the detailed information.
    Open process monitor, and reproduce this issue, if there is any files or keys were blocked during the process.Please let me know,  and you could save as the file from process monitor, upload the file through One Drive and share the link to me. I'll
    analysis it.
    Regards,
    George Zhao
    TechNet Community Support

  • Facebook keeps saying sorry, something went wrong when try to open on my iphone

    Facebook keeps saying, sorry, something went wrong when I try to open it.  How can I resolve this issue?

    Same here, wife has been using her Facebook app all day, mine keeps giving me this stupid message, and this is the only other post any where i can find about this issue, thats not from 2010 or 2011. Guess its just going to have to be worked out, if its not resolved soon i guess ill just delete the app.

  • PowerPoint 2013 - We're sorry something went wrong...

    We've recently upgraded to Office 2013 Professional Plus from Office 2010. Our Workstations are Windows
    7 x64 SP1 and this issue is happening on freshly built machines and established installs.
    When a limited user creates a new presentation, launches Slide Show, right clicks and tries to access the "Pointer
    Options" to annotate the slide with a pen or highlighter, they receive the following error and no annotations:
    "We're sorry something went wrong that might make PowerPoint unstable. Please save your presentations and restart PowerPoint"
    This error doesn't appear as an Administrator, so its probably a permissions issue . It also happens on existing opened presentations.
    Office 2013 has been repaired and re-installed without resolving the issue.
    I've tried troubleshooting with Process Monitor to see what files the user doesn't have access to but have come up a blank. There is nothing obvious in the Application or System event logs either. Any other ideas?
    I hope someone can help,
    Cheers
    Tom

    Hi Tom,
    Please try to right-click on Microsoft PowerPoint within your start menu and select "Properties" then navigate to the "Compatibility" tab. Tick the box before "Run this program in compatibility
    for:" and select "Windows 7" from the drop list. Restart PowerPoint to check the result.
    We can also try to open PowerPoint in safe mode to check if this issue is related to problematic add-in. To do this, hold
    Ctrl key when you double-click to open the presentation.
    In addition, some people report that they are able to work around this issue by opening the original presentation and then saving it as a .ppt file (not a .pptx), you may check if it works.
    Please let me know the result.
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • PowerPoint 2013 - We're sorry something went wrong that might make PowerPoint Unstable

    Windows 7 running Office 2013. Mature installation no recent changes.
    Simple update to ppt file created in 2003 ( using Compatibility mode). Single user edit saving to my documents 
    Error Message "We're sorry something went wrong that might make PowerPoint Unstable" / "Please save your presentations and restart PowerPoint"
    PowerPoint no longer allows me to save any file in any format without this message.
    Actions taken : Restart PowerPoint / Reboots / Deletion of temporary files from C:/Windows/Temp
    Problem persists

    I had this problem with Win81, PowerPoint 2013, pptx file, no system/software changes or updates that could be blamed. Out of the blue working on an existing document, messages as OP wrote started plaguing PPT. Brand new pptx files created with benign random
    text also suffered from this. A save or two within the first 30 seconds of opening or creating the file sometimes went ok, but problem appears inevitably - implicating file lock issue.
    There is remarkably little commonality in resolutions of this on the web, and no resolution from MS. 
    Tried many of the suggestions that can be found - no joy.
    Finally isolated this to the live sync on DropBox.  If DropBox is active (immediately syncing changes in the background), the problem persists. If DropBox is paused, the problem ceases. DropBox does not need to be removed or exited. If unpaused, problem
    immediately starts again. Have not been able to check if other syncing cloud drives have same effect.
    What's disturbing is that the DropBox/PowerPoint combination on this machine has been working fine for 1+ years. Turning off DropBox is not an acceptable solution. Perhaps a silent update of one or the other occurred to cause this. 

  • Sorry, something went wrong and word was unable to start (2)

    I have been using office home and student fine until now when it will not open, at first it would say it was unable to open with error message 40 now it is error message number 2, I have no idea how to open it.
    help please?

    Hi,
    Is the complete error message "Sorry, something went wrong and Word was unable to start. (40)" and “Sorry, something went wrong and Word was unable to start. (2)”?
    I agree with Sunil Shrikant Vyasasamudra. First you can repair Office from Control Panel > Programs and Features, maybe Office installation is corrupt.
    If it doesn’t work, you can try “Fix it” tool in the KB below.
    http://support.microsoft.com/kb/2827031
    If there is anything else I can do for you on this matter, don't hesitate to tell me.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Sorry, something went wrong and word was unable to start (40)

    so recently, my ms word has not been working at all. It doesn't work, whether I open a new document or an existing file, and it shows the error message 'sorry, something went wrong and Word was unable to start. (40). It only started to show up recently,
    and i was wondering if it was because i have not yet updated to the latest version of Windows 8, which i have been unable to do successfully. I have already tried to open in safe mode, and the fix it tool. Does anyone have any idea what i can do? 

    Did other programs work well?
    Repair your Office suites in Control panel>Program and features>Office>Change>Repair
    If the repair doesn't work, please uninstall the current installed Office, and reinstall it again.
    To uninstall the Office, follow the instructions in the following support article:
    http://support.microsoft.com/kb/2739501
    Tylor Wang
    TechNet Community Support

  • MS Word 2013 unable to start. "Sorry, something went wrong and word was unable to start. (6)

    I am trying to open MS Word 2013. I have purchased the MS Office online and pay a subscription. When opening MS Word, it comes up with the error message "Sorry, something went wrong and word was unable to start. (6)" This appears to be happening
    with all MS office applications. Can someone please help? 

    I faced this same problem and reinstalled office several times but no luck, then followed below steps and got my issue resolved:
    Solution is that you run word in "Administrative" mode:
    To run the Word program in administrator mode, try the step below:
    · go to Computer, Programs files/Program files X (86).
    · Look for Microsoft Office ->Office 15.
    · Look for Winword.exe
    · Right click on it and click
    Properties
    · Click on the Compatibility tab
    and check the box forRun as admin.
    · Clickok.
    Ref: http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/unable-to-open-word-sorry-something-went-wrong-and/aa080850-1fe3-46b5-8338-905633e8f9a0

  • Error while editing Workflow Task List Item - "Sorry, something went wrong.. Web must contain a discussion list

    I have an custom approval workflow and when I try to edit an assigned  approval Task it throws me an error
    Sorry, something went wrong
    Web must contain a discussion list
    Any help appreciated!
    Pravs

    Hi,
    For a better troubleshooting, I suggest you do as the followings:
    1. Check the ULS log for more detailed error message, for SharePoint 2013, the ULS log is located at the path:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    You can use ULS Log Viewer to check the information in the log.
    2. You can use fiddler to track if there is something wrong in the workflow request.
    Here are some detailed articles about debugging workflow:
    https://msdn.microsoft.com/en-us/library/office/dn508412.aspx
    https://sharepointlogviewer.codeplex.com/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Sorry, Something Went Wrong, Unexpected Error Occurred

    Having a very strange issue with main SharePoint 2013 Page after upgraded all the way from 2003 to 2013. Initially setup 2013 Web App for just http and I could log in with my user account and do all things for which there are assigned privileges. Then converted
    to SSL and I receive the Sorry, Something Went Wrong error on the main page. No other user account we have tried has any problem whatsoever. This is currently an upgrade test environment but am very worried that we will encounter other users that have the
    same problem on the main page or some other site page. Thing is, I cannot find a single log entry that contains the Correlation value in the error report and it is only when hitting the site using SSL. It does not matter what computer I am using (tried multiple).
    The other users testing have no issues so far.
    Additional testing. When I change back to http set in Public URLs I have no problems but others do. When set to https in Public URLs I have problem and they don't. However, I was the first and only one, other than farm account (which never has problems)
    to work on the site using straight http.
    Any help on this would be appreciated. I have scanned through table upon table in the User Profile database thinking there must be something in there messing with profiles or setting some sort of default but cannot think of a thing. App Pool needs to be
    restarted in addition to IISRESET?

    Are you talking about central administration (e.g. "main SharePoint 2013 page")?
    if yes, make sure to set bindings in IIS to include a certificate, preferably a wildcard * cert. and then run
    Set-SPCentralAdministration -Port 443
    https://technet.microsoft.com/en-us/library/ff607832(v=office.15).aspx
    If you're talking about your team site, for ex. make sure you set binding for https on the site in IIS and use a wildcard cert.
    You can run a Merge-SPLogFile -Path c:\SP-error.txt -Correlation Input-Your-CorrelationID-Here and then paste the results on this blog and the group can help you, better if more info is provided. 
    If there is a correlation ID, you can get it with Merge-SPLogFile.
    https://technet.microsoft.com/en-us/library/ff607721(v=office.15).aspx you may have to use start and end times.
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • Sorry, something went wrong. We're working on getting this fixed as soon as we can

    hi
    i have a problem in my facebook account
    i am manger in my page i delete admin and this message show after open my account
    Please Complete a Security Check
    Your account was recently used to try to add or remove an admin from one of the Pages you manage. As a security precaution, we need you to complete a quick security check before logging back in.
    im continue to check security
    and this message show
    Sorry, something went wrong.
    We're working on getting this fixed as soon as we can.
    Go Back
    i need help
    2 days i am trying to solve this problem but .. same things

    Hi,
    I apologise for this, but you are posting in the wrong place. Firefox Support cannot deal with Facebook problems. Please speak to Facebook support about this.
    Sorry about that!
    Curtis

  • Sorry, something went wrong

    Hi All,
    I am using Power BI version, I have created a data model with all the relationships correct, when I am putting a question in Power BI Q&A it is showing me an error "Sorry
    Something went wrong
    There was a mismatch in the metadata. This usually occurs when the data on the server has been updated. Please refresh the browser
    and try your query agaian"
    Did anyone has the solution of this problem or is it a cache issue, since I already clear the cache from my local browser , logout and login again, also tried from other machine
    and browser. Same message is displaying.
    There is nothing wrong with my data model, as the same queries working fine for me few moments ago also i didnt have change any relationships.
    Your Help will be appreciable
    Regards
    Piyush Jain

    egarding site collection creation
    Repaired the DocAvePoint on the server and reconfigured the
    Media Library on the WFE.
    · Did IISRESET on the server and we were able to upload/download
    the pictures/documents from the document library.
    http://blogs.technet.com/b/balasm/archive/2012/05/18/the-url-file-name-is-invalid-it-may-refer-to-a-nonexistent-file-or-folder-or-refer-to-a-valid-file-or-folder-that-is-not-in-the-current-web.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/3480ce41-dadc-49e6-87e0-03318f42a541/site-collection-creation-error
    Regarding RBS
    When you will enable FILESTREAM in Sql Server Configuration manager, ensure that on FILESTREAM tab all checkboxes
    http://sadomovalex.blogspot.in/2012/04/one-problem-with-site-creation-in.html

Maybe you are looking for

  • Recovery of lost printers after Archive and Install

    Hi, I just finished an Archive and Install of Leopard, and I discovered that one of the side-effects of doing this is that my printers are all gone. I sort of expected this, and I have a full system backup of the system I rebuilt, so if all else fail

  • IC web client : No SLA and Questionnare sections in Complaint View

    In IC webclient,IC_AGENT business role, I am unable to see SLA and Questionnare sections in complaint view. But if i login through DEFAULT business role and go to complaint view i can see  both the sections. When i went throught the UI configure tool

  • HT201272 I bought songs in iTunes they appear on my Mac book but iTunes wants me to pay for it again

    I bought at least one album from it was available for down load on all my iOS devises but now iTunes says I need to buy it again and has no purchase history.  I'm starting to wonder how many other items I'm missing.  Any idea how this happens? Also t

  • Problem in J1IH

    Dear Friends While creating Excise JV for CENVAT adjustments (othr. adjs). and entering all the details for account RG23A I have entered the BED, ECS and TAX1 amounts. However on clicking on Detemine G/L Accounts the system does not display any G/L a

  • While deducting customers TDS , system giving error.

    Dear Friends, 1)We have made AR invoice .Its customer is TDS applicable. 2)While adding AR Invoice ,we have not added withholding tax. 3)Incomming payment of that invoice- for this entered TDS cut amount. But when we add it. system does not post TDS