Book a Demo

Author Topic: Generated HTML Export can not be opened  (Read 5219 times)

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Generated HTML Export can not be opened
« on: January 05, 2022, 05:43:53 am »
Hi,

after generating teh HTML Export: I can not open the index.htm (Edge, Chrome, Firefox, Opera) teh page is hanging with message "loading".


It didn't help: "C:\Program Files\Google\Chrome\Application\Chrome.exe" --allow-file-access-from-files

Name:  test
Connection / DBMS:  Local EAP File
Database Schema Version: 1558
Database Version: 4.01
Version Date: Jan-31-2004

Unregistered Enterprise Architect

Day 1 of 30 day trial period
Please register at
www.sparxsystems.com
« Last Edit: January 05, 2022, 05:51:24 am by Michel777 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Generated HTML Export can not be opened
« Reply #1 on: January 05, 2022, 05:54:00 am »
You can't open an html website saved locally using a modern browser. This is a security thing.

You can either serve your html website using a webserver, or use of the the flags to make your browser load it anyway.

See https://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-allow-file-access-from-files-mode?rq=1

Geert

maarbo29

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Generated HTML Export can not be opened
« Reply #2 on: May 27, 2022, 07:29:01 am »
You can open a SparxEA generated HTML file that you saved on your local machine.  there are two options:

1) Open the file in MS Internet Explorer
2) Microsoft Edge has a setting where it can emulate MS IE.  Once this setting is enabled, a 'reload in Internet Explorer' button appears in the Edge "Toolbar".  Open the Sparx HTML file in MS Edge but when you get the "loading" msg in MS Edge, click on the reload button and the page will then open in Edge IE emulation mode.

We have SparxEA v15 and most current MS Edge.

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: Generated HTML Export can not be opened
« Reply #3 on: May 27, 2022, 08:05:05 pm »
Hi

There are several posts covering this issue. Latest one is this one:
https://sparxsystems.com/forums/smf/index.php/topic,38894.0.html

Henrik