☰
Current Page
Main Menu
Home
Home
Editing DLL-dependency-issues
Edit
Preview
H1
H2
H3
default
Set your preferred keybinding
default
vim
emacs
markdown
Set this page's format to
AsciiDoc
Creole
Markdown
MediaWiki
Org-mode
Plain Text
RDoc
Textile
Rendering unavailable for
BibTeX
Pod
reStructuredText
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
#Resolving DLL Dependency Issues [[_TOC_]] ##Question I downloaded the latest version of Izenda but now there is a dependency issue with one of the DLLs. Now my application won't run. How can I use my version of a DLL dependency when izenda.comes a different version? ##Answer This issue likely stems from your application using a version of a DLL dependency that is structurally different from the one izenda.comes. Normally, DLL version differences do not result in this issue since Izenda will automatically attempt to use your version of the DLL, but sometimes the differences between versions cannot be reconciled this easily. Such issues can be indicative of API changes in the embedded resource and would thus result in the application attempting to load and use API references that do not exist anymore or have changed in such a way to be unusable. There are workarounds to this issue, as described below. ###Method 1: Update the GAC You can manually update the GAC (global assembly cache) to use both versions of the DLL, creating a physical separation of the version loaded by your application and Izenda. To do this, follow the steps below. For this example, we will be using the itextsharp dll: 1. Locate Gacutil.exe. This is part of the Microsoft SDKs that are supplied with Visual Studio. Usually you can find this tool in the following directory: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools. 2. Download itextsharp.dll v4.0.3.0. This is part of the Izenda Release download pack that you can find at our [[downloads|http://izenda.com/Site/DownloadComplete.aspx?msgId=3]] page. You can find all of our most recent DLLs zipped in the archive. 3. Install itextsharp.dll v.4.0.3.0 to the GAC. 1. In the developer command line tool (also distributed with Visual Studio), run the command: gacutil /i "FullPathToDll/itextsharp.dll" 2. Example: Gacutil.exe /i "D:\Downloads\izenda.adhoc.6.7.0.256\bin\itextsharp.dll" 3. If you do not have the developer command prompt, you can still use Gacutil by using the regular windows command prompt (as an administrator) and specifying the entire path. 4. Example: "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\Gacutil.exe" /i "D:\Downloads\izenda.adhoc.6.7.0.256\bin\itextsharp.dll" 4. You should be able to use your version of the DLL from your solution and Izenda will use the one registered to the GAC. ###Method 2: Use Izenda's version You can rollback your version of the DLL to the one izenda.comes and update your application accordingly. ###Method 3: Contact Izenda You can contact us by emailing services@izenda.com and we can work with you to upgrade our version of the DLL. In the meantime, the workaround mentioned in method 1 can act as a temporary patch.
Uploading file...
Header
 **This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at [[https://www.izenda.com/docs/|https://www.izenda.com/docs/]]**
Sidebar
 --- * [[Izenda 7 Series Documentation|https://www.izenda.com/docs/]] * [[Release Notes]] * [[Upgrade Best Practices|FAQ/Izenda-Update-Best-Practices]] * [[FAQ]] * [[Tutorials]] * [[The Izenda API|/API/AdHocConfig]] * [[The AdHocSettings class|/API/AdHocSettings]] * [Developer Links and Guides](/Guides/Developer-Links-and-Guides) * [[Known Issues]] --- * <a href="http://www.izenda.com" rel="nofollow" target="_blank">Izenda Website</a> * [Product Video](https://www.youtube.com/watch?v=X3-yWFq0w5A) * <a href="http://www.izenda.com/blog" rel="nofollow" target="_blank">Izenda Blog</a> * <a href="http://www.izenda.com/company/" rel="nofollow" target="_blank">About Us</a> * <a href="http://www.izenda.com/contact-us/" rel="nofollow" target="_blank">Contact Us</a> --- * [Guide To Report Design](/Guides/ReportDesign) * [Making Custom Forms Video](http://www.youtube.com/watch?v=5b2axJlgdFs) --- * [[Acknowledgements]]
Edit message:
Cancel