Elsasoft Forums
Elsasoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Support questions
 "An error ocurred while extracting the HTML"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - Mar 29 2017 :  02:21:06 AM  Show Profile  Reply with Quote

An error occurred.  If you think this error is caused by a bug, copy
everthing you see here and send it to sqlspec@elsasoft.com.  If
you can, also attach a SQL script to generate the database that
reproduces this bug, it will help us reproduce the issue.  Thanks!
SqlSpec v6.12.5740.34964
RETAIL - (SMO 2014 build) - 64bit
build date: 2015-09-20 04:25:28
ExtractHtmlWorker failed



   at Elsasoft.SqlSpec.DatabaseSpecGenerator.ExtractHtml(XmlDocument xmlFromSql, String xsltLocation, String xsltName, String outputName, String outputDirectory, Platform platform, Int32 percentDone, Boolean dontCheckExcluded)
   at Elsasoft.SqlSpec.DatabaseSpecGenerator.GenerateHtmlSqlServer(XmlDocument xml, Int32 specIndex)
   at Elsasoft.SqlSpec.DatabaseSpecGenerator.GenerateHtmlFilesForSqlServer(XmlDocument xml, Int32 specIndex)
   at Elsasoft.SqlSpec.DatabaseSpecGenerator.GenerateHtml(XmlDocument& xml)

An error ocurred while extracting the HTML for 'C:\Users\<userprofile>\Desktop\SqlSpec_2014\x64\output\SqlServer.DEVSQL.R32\TypesRulesDefaults.xml'.


Illegal characters in path.



   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.Combine(String path1, String path2)
   at Elsasoft.SqlSpec.DatabaseSpecGenerator.ExtractHtmlWorker(Object state)

Hi there,

Receiving this error when using the Evaluation copy of SqlSpec 6.12.5740.34964, I tried running the application as Administrator as well, just in case.

Platform: SQL Server 2008R2
Running SqlSpec on Windows 10

I also used all the default settings.


Forum Admin

730 Posts

Posted - May 25 2017 :  05:41:53 AM  Show Profile  Reply with Quote
sorry for late reply! I have not been good about monitoring the forums lately!

it's failing due to this string in the path: <userprofile>

It should work if you change the output directory to a legal path name. You can set that on the "options II" page in the "output path" box.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Elsasoft Forums © Elsasoft LLC Go To Top Of Page
Snitz Forums 2000