Comments (4)
Hi dooburt,
There has been some temporal API changes to allow decreasing the final
assembly size, and now the native libraries has been split into it's own
nuget packages (WkHtmlToXSharp.Win32, etc.). You need to add a reference to
the native libraries required by your environmnet (mos probably win32 onyl)
and use WkHtmlToXLibrariesManager.Register(..) to register each native
bundle before using WkHtmlToXSharp for the first time.
I am still not 100% convenced by this API, and I open to suggestions..
Maybe scanning all AppDomain's assemblies or bin folder for native bundles
would be a better idea..
Regards
Pablo
On Fri, Feb 28, 2014 at 10:41 AM, dooburt [email protected] wrote:
Firstly, great library and with a the two interfaces (single and
multi-thread) this seems to be the programmers choice for html > pdf.That being said however, I am struggling to get this to work on a
development machine. I get on run 'Exception has been thrown by the target
of an invocation' ... DllNotFoundException, Unable to Load DLL
'wkhtmltox0'. Your documentation says this is automatically created on
first conversion - perhaps this isn't happening? Or I need permissions on
the bin or something? Can you offer any suggestions?Thanks :)
Reply to this email directly or view it on GitHubhttps://github.com//issues/22
.
from wkhtmltoxsharp.
Aha! Thank you.
Do you know in what context the file is written? I get System.UnauthorizedAccessException","Message":"Access to the path 'c:\fakepath\invoice-00029.pdf' is denied.". Do you know which user needs permissions for this? IIS_IUSRS?
(btw, fakepath is used for brevity in this example)
from wkhtmltoxsharp.
AFAIK if you are running under IIS/Managed ASP.NET, that should be
IIS_IUSR, yes..
On Fri, Feb 28, 2014 at 11:03 AM, dooburt [email protected] wrote:
Aha! Thank you.
Do you know in what context the file is written? I get
System.UnauthorizedAccessException","Message":"Access to the path
'c:\fakepath\invoice-00029.pdf' is denied.". Do you know which user needs
permissions for this? IIS_IUSRS?(btw, fakepath is used for brevity in this example)
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-36336434
.
from wkhtmltoxsharp.
Perfect. Thanks a lot. This is working now 👍 :)
I saw you were using NServiceBus and Wk via a third-party service, if you have a blog or description of that setup I'd be very keen to read it.
Once again, great work.
from wkhtmltoxsharp.
Related Issues (20)
- Unable to load DLL 'wkhtmltox0' HOT 7
- WkHtmlToXSharp 1.2.9 nuget package missing HOT 4
- CallbackOnCollectedDelegate MDA HOT 1
- Maintenance status HOT 2
- Suport Custom Font HOT 4
- Getting intermittent error that shuts down app pool HOT 1
- Asp.net/IIS Support HOT 12
- My virus scanner found a virus in project files. HOT 4
- Question regarding usage of MultiplexingConverter HOT 2
- Observed difference in output between MultiplexerConverter and WkHtmlToPdfConverter HOT 2
- x64 bit support HOT 1
- ApartmentState.STA in .net core linux HOT 4
- Provide strong name signed versions of WkHtmlToXSharp.Win32.dll / WkHtmlToXSharp.Win64.dll HOT 1
- Upgrade to 0.12.5
- Not working on linux HOT 3
- System.BadImageFormatException thrown when disposing MultiplexingConverter...
- Error install the nuget package
- Could not load file or assembly `System.Configuration.ConfigurationManager`
- Multiple URLS into Multiple PDFS
- Upgrade to 0.12.6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wkhtmltoxsharp.