Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27159

VS 2012 .net 4.5 App on a server with .net 4.0 exporting data to excel

$
0
0
Hi all,

i have an application that runs in a virtual desktop. These desktops i believe run .net 4.0 . Mine application targets .net 4.5.

The application itself works ok.

Except if i want to export data from a datagridview to excel. I get the following error message:

Method Not Found: System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)

A quick search around is because the target is 4.5 and the host is 4.0.

I would like to keep the application targetting 4.5. As the application uses a office style ribbon for the layout and this requires 4.5.

Can any one help on this. Is there anything i can do?

Thanks in advance
Alex

Viewing all articles
Browse latest Browse all 27159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>