Profiler exception

Discussion of issues, suggestions and bugs of LINQ Insight, Visual Studio add-in for design-time executing LINQ statements, that simplifies debugging LINQ
Post Reply
leomain
Posts: 1
Joined: Tue 29 May 2018 06:30

Profiler exception

Post by leomain » Tue 29 May 2018 06:32

Hi!

Wanted to try LINQ Insight out, and started the profiler on our current project, but the project then throws an exception when trying to instantiate the DbContext.

The innermost exception message is:
"Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)" with no reference to any assembly.

and this exception is contained within another exception with the message:
"The provider did not return a ProviderManifestToken string."

The project obviously runs just fine when LINQ Insight profiler isn't running.

Any hints?

Shalex
Site Admin
Posts: 8125
Joined: Thu 14 Aug 2008 12:44

Re: Profiler exception

Post by Shalex » Thu 31 May 2018 18:43

leomain wrote:
Tue 29 May 2018 06:32
The innermost exception message is:
"Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)" with no reference to any assembly.
1. Please launch your Visual Studio via right click devenv.exe > Run as administrator.
leomain wrote:
Tue 29 May 2018 06:32
and this exception is contained within another exception with the message:
"The provider did not return a ProviderManifestToken string."
2. Specify the full stack trace of the error and all inner exceptions.

Post Reply