| Author |  | 
      
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi,
           | Posted: 11 May 2016 at 1:46am | IP Logged |   |  
           | 
 |  I have AfterLogic WebMail Lite version 7.6.8
 I have problem with opening doc docx documents ...
 
 you receive an error:
 An error has occurred.
 Sorry, but that file is for some reason not open.
 
 some idea?
 
 
   | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 11 May 2016 at 3:18am | IP Logged |   |  
           | 
 |  
 Does it work from https://lite.afterlogic.com/ demo?
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Alex,
           | Posted: 11 May 2016 at 3:33am | IP Logged |   |  
           | 
 |  Yes, it works in demo
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Maybe your IP address is blocked by Microsoft so they don't allow your location to view docs using their cloud..
           | Posted: 11 May 2016 at 3:56am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          is there any way to find out, test it?
           | Posted: 11 May 2016 at 5:00am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          You can read more about viewing Microsoft documents online here
           | Posted: 11 May 2016 at 7:08am | IP Logged |   |  
           | 
 |  https://blogs.office.com/2013/04/10/office-web-viewer-view-office-documents-in-a-browser/. The most important thing about it is
 "Note: ... the document must be publicly accessible on the internet. "
 So if your installation of WebMail is not accessible on the internet this feature will not work. You can disable it following the instructions on the link http://www.afterlogic.com/wiki/How_to_disable_viewing_Microsoft_Office_documents_(WebMail)
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Alex,
           | Posted: 16 May 2016 at 10:42am | IP Logged |   |  
           | 
 |  on website: http://officewebviewer.com
 I generate url: https://view.officeapps.live.com/op/view.aspx?src=
 
 I add src on my test document for example: https://view.officeapps.live.com/op/view.aspx?src=www.my-domain.cz/test.doc
 
 The document is displayed without issue.
 So the problem is not blocking IP addresses by Microsoft.
 
 From webmail same documents not appear. Displays error, which I mentioned at the beginning
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 16 May 2016 at 11:16am | IP Logged |   |  
           | 
 |  
 You can debug this by checking the URL of IFRAME (in Chrome debug tools, for instance).
 
 The source code of the tab which shows the doc is something like:
 
 ...<iframe style="height: 100%; width: 100%; margin: 0; padding: 0; border: 0" src="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwebmail.afterlogic.com%2F%3F%2FRaw%2FView%2F280%2Fsyp2SYLkz52_and_the_rest_url_encoded_URL"></iframe>...
 
 You'll find the URL which is opened in IFRAME. Try to open it in separate tab. If it does not work, url-decode (such as with online tools), the contents of src parameter of src parameter. It's not a typo, there is indeed src paremeter holding another src parameter within. You'll get the URL which  is passed to MS cloud. Can you open it? What happens? Can you open it from an external network?
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi,
           | Posted: 16 May 2016 at 11:02pm | IP Logged |   |  
           | 
 |  I use firebug on firefox:
 I replaced my real domain hereby: my-domain.cz
 
 <html style="height: 100%; width: 100%; margin: 0; padding: 0">
 <head></head>
 <body style="height: 100%; width: 100%; margin: 0; padding: 0">
 <iframe  src="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwww.my-domain.cz%2Fwebmail%2F%3F%2FRaw%2FView%2F4%2FnK7PjGYXe89OTaplkKYBR72pew6TAdR1r2veJ0f7Pau5GOGRNPTz9prj_SEMo3YhUYV2BiMC_4LuYoO jPNenTCUSjs-GDwMKluUmk-pxg3-_QUcTcG18TzMFvj87BS5LJhGvBcruzQwjw9lutE7cbyNqca2tU1tlaSgZRDpYua3g9nc8TgHF4-Untu3Rjbh-7QUlilJM4FCYY30q6JT65bcWjxIlOxNeQ7IQ5PIVbqmckU6YLptwTuKAZKUiOwNVJwzydCGDCHAoIeNObceNNkT xb827wuWWwQCutQ..%2F0" style="height: 100%; width: 100%; margin: 0; padding: 0; border: 0">
 
 If I copy src, and paste it into web browser, so it does not load
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Hi,
           | Posted: 17 May 2016 at 12:17am | IP Logged |   |  
           | 
 |  
 "It does not load" - can you provide more details on that? E.g. "I'm getting the error code XYZ and error message ABC from live.com server", etc.
 
 Also, what about the second part? Can you open the URL in src's inner src after urldecoding it? If can't, what is the error message/code?
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          I see there is a space in src's src:
           | Posted: 17 May 2016 at 12:22am | IP Logged |   |  
           | 
 |  
 https%3A%2F%2Fwww.my-domain.cz%2Fwebmail%2F%3F%2FRaw%2FView%2F4%2FnK7PjGYXe89OTaplkKYBR72pew6TAdR1r2veJ0f7Pau5GOGRNPTz9prj_SEMo3YhUYV2BiMC_4LuYoO jPNenTCUSjs-GDwMKluUmk-pxg3-_QUcTcG18TzMFvj87BS5LJhGvBcruzQwjw9lutE7cbyNqca2tU1tlaSgZRDpYua3g9nc8TgHF4-Untu3Rjbh-7QUlilJM4FCYY30q6JT65bcWjxIlOxNeQ7IQ5PIVbqmckU6YLptwTuKAZKUiOwNVJwzydCGDCHAoIeNObceNNkT[THERE IS SPACE HERE]xb827wuWWwQCutQ..%2F0
 
 Do you really have it there or was it added when you put this value here? Because there should be no space in that URL.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          I do not know :(.
           | Posted: 17 May 2016 at 8:21am | IP Logged |   |  
           | 
 |  I adding new src:
 
 "https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwww.my-domain.cz%2Fwebmail%2F%3F%2FRaw%2FView%2F4%2FXpcMA9JteMJvrAK0vynw78jN-YU6t3-DmqbbtsM0aAj-S4bv3h6BlbLz59pGkbJIarH_xupmjEPO_9P FqZ8RWZDa9MG5BEN3DFFm7D6hoNULcKKGLrs51rHSM3HRN53ACOVGL65kluZx9MQ3QOFDKNo_DQXn1qC6aI7xFP73hAIJvoavB0OhqQMrF3VYygYpoQFCUshkGtlWNeVyPxNEhO9AB8o_z5iXkgBmQf17kz4Fv0poqd9XCa7qFIEbpnTTQUdg5j14N_e2biNoXa_vV9k OkoryCpSMiTeb5w..%2F0"
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          Okay, and does this URL work for you if you try opening it separately?
           | Posted: 17 May 2016 at 8:25am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Again gap in the code but not
           | Posted: 17 May 2016 at 8:25am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          I'm sorry, I do not exactly question
           | Posted: 17 May 2016 at 8:30am | IP Logged |   |  
           | 
 |  I can create a test account and send it somewhere on email?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          Sorry, I didn't understand the answer. What kind of result or error are you getting exactly?
           | Posted: 17 May 2016 at 8:31am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          Just to clarify: you will need to copy the complete value from iframe src, open a new tab/window of the browser, paste that URL in there and see if the document opens.
           | Posted: 17 May 2016 at 8:32am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          There is an option to send us a test account and we'll troubleshoot/fine-tune the system configuration for you. Please contact us at http://www.afterlogic.com/helpdesk for pricing and other terms of this service. Thanks!
           | Posted: 17 May 2016 at 8:34am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          url from new tab/window:
           | Posted: 17 May 2016 at 8:40am | IP Logged |   |  
           | 
 |  https://www.my-domain.cz/webmail/?/Raw/Iframe/4/%3F%2FRaw%2FView%2F4%2FYoKkXwB4VzgpHf3drjOzF_2WBrPSkkLLruF6YIEk3uccAi-q-5AI-QToQ0DuboeIvYd3nkFcIqhtVpuCLCRCFoHrnxGv2F-atZne0ZkW8k7VtIrrcb6zjvUXcVwKi0o8t mGOp_14-h0M1PxLGGgvvQ17ArOsWodZe4t8J2vrKvHgSjBmm_2MogzpqXY3vz1-ZgVSh-HRpoQTFTbKToAw-nj-qlogEpMdK16RqxHqvSsKdMT9ZX5XWAOqgpwBcyNZUiBbbQ..%2F0/
 
 full iframe:
 <iframe  src="https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fwww.my-domain.cz%2Fwebmail%2F%3F%2FRaw%2FView%2F4%2FHRMKRrR8O54xV5G5XQ9ca5aG6ZoT0il2NluI0GuATzFsgZuiEpMHTQvhH6a984SniXsMmJFXmXkPOlQ YcCYhcKb5kxTjPTAGe9a0T1dMTysMILa-Crz663AwfbDL6x5Vb_HcDg1BKdWjACCVWvHSDky2k-PUrOzx0KeK7RuJv4xsOyLuG5xGzg8650v2-NeegOOj2xRHHqzF3He_Oht8LHz9YuwrLZ8Cc9gsjAU-QsnZlcwuszfASyQO8Zr9WwMiHrucJTo61irYFBnWGumtR1v tAUSu3WOHjNQ41A..%2F0" style="height: 100%; width: 100%; margin: 0; padding: 0; border: 0"></iframe>
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          ULRs themselves are of little use to us, all we can suggest is how to troubleshoot the problem - but, with free opensource product like WebMail Lite, the troubleshooting itself is your responsibility. There's always a chance to get help from the community, but that would require a detailed description of what you're doing, what kind of results you're getting, what kind of modifications in the code you performed, if any, etc.
           | Posted: 17 May 2016 at 8:46am | IP Logged |   |  
           | 
 |  
 If you'd like to request assistance from AfterLogic on this, please contact us via our HelpDesk for detailed information on assistance terms, pricing and so on. Thank you.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          modifications in the code, I did not carry out.
           | Posted: 17 May 2016 at 8:56am | IP Logged |   |  
           | 
 |  So about a document viewer forbid
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          To disable viewer:
           | Posted: 17 May 2016 at 10:38am | IP Logged |   |  
           | 
 |  
 http://www.afterlogic.com/wiki/How_to_disable_viewing_Microsoft_Office_documents_(WebMail)
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |