Book a Demo

Author Topic: Exception from HRESULT: 0xE06D7363  (Read 7860 times)

Djaved

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Exception from HRESULT: 0xE06D7363
« on: August 02, 2013, 01:24:41 am »
Dear All,

I'm very new to EA and want to experiment with the c# API.
I'm using EA Lite and want to generate html reports from my eap files.
When calling :

project.RunHTMLReport(repository.ProjectGUID,
                                          "C:\\test",
                                          "NONE",
                                          "myEnterpriseArchitectStyle",
                                          ".html");

Im getting the error: Exception from HRESULT: 0xE06D7363

My question is why im getting this error and how to solve this?
Also, can i make .html reports with EA lite? and as you can see in my code, i'm using a custom style 'myEnterpriseArchitectStyle'.
Can this be the cause of my problem? And where exactly to put the custom style files? i cannot configure it using EA Lite.

I hope to get some help with this.

Thanks in advance.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #1 on: August 02, 2013, 01:33:11 am »
Try a google search for "HRESULT: 0xE06D7363"

I'm not sure whether you can use the API with Lite. Probably not.

q.
« Last Edit: August 02, 2013, 01:34:04 am by qwerty »

Djaved

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #2 on: August 02, 2013, 01:39:30 am »
Thanks for suggestion.
I already did a google search, but found nothing relevant.
Also i want to be 100% sure whether i can use EA Lite or not.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #3 on: August 02, 2013, 02:30:49 am »
Google told me some DLL error behind this. Probably because Lite does not deliver the needed API.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #4 on: August 02, 2013, 09:04:48 am »
The Lite version doesn't allow you to run reports via the gui. If it did allow you to do it from automation that would be a bug that would require correcting.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #5 on: August 02, 2013, 08:18:01 pm »
You don't expect a bug report the latter, do you? :-)

q.

Djaved

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #6 on: August 02, 2013, 09:27:37 pm »
Hi Simon,

FYI:
Using EA Lite, I'm getting a exception, but it creates a folder with html files and styles. Clicking the index.htm shows me a empty report.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Exception from HRESULT: 0xE06D7363
« Reply #7 on: August 05, 2013, 10:14:46 am »
repository.ProjectGUID is not a valid target for the HTML report.  You need to pass a valid PackageGUID value.  For example:

project.RunHTMLReport(repository.Models.GetAt(0).PackageGUID,
"C:\\Temp",
"PNG",
"<default>",
".html");

Note: I haven't tested this with EA Lite.  As per SimonM's response, it would not be supported for that version as EA Lite is read-only and does not allow output of RTF or HTML documents via the GUI.