
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to run a SQL query to check if the value "item number" in my Vault Data Stanadard dialog and a value in a SQL table is the same. If that is true set a check box = checked. This function runs OnTabContextChanged.
With this function i want to check if a item is transferd to the ERP System and the user can see this in the datasheet of the item. It is only for troubleshooting if the interface between Vault and the ERP system doesn't work proberly.
I used the cmdlet Invoke-Sqlcmd and everything work fine. But if you start Vault and go the datasheet you get an error
For every non german reader:
"Mixed mode assembly is built against version ‘v2.0.50727′ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information"
Than i tried something from a blogpost:
Edit the Connectivity.VaultPro.exe.config and add the lines from the blog post.
<startup> <useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/> </startup></configuration>
And everything is working fine.
But am I allowed to add these lines in the config? Or is there a reason don't do this?
Solved! Go to Solution.