Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile typed context: The type or namespace name 'AuditDetail' does not exist in the namespace Microsoft.Dynamics.CRM #23

Open
DineshNanayakkara opened this issue Aug 20, 2018 · 5 comments

Comments

@DineshNanayakkara
Copy link

Hi,

I am using linqpad 5 and driver version 1.5.0.0. I got this error as a System.Exception.

"Cannot compile typed context: The type or namespace name 'AuditDetail' does not exist in the namespace Microsoft.Dynamics.CRM (are you missing an assembly reference?)"

@dipinb
Copy link

dipinb commented Aug 23, 2018

I'm hitting this issue as well. Specifically, when I'm using the 8.2 endpoint in the advanced settings. When I try with a 9.x endpoint, I get an different error. I'm not using any custom assemblies in any queries.

Any luck finding a solution?

@dipinb
Copy link

dipinb commented Aug 24, 2018

I found a work around for this. WARNING: It is brutal. The following steps got my D365 Connections working:

  1. Delete all connections that were connected to Dynamics 365
  2. Delete the 1.5.0.0 driver
  3. Install the 1.4.0.0 driver
  4. Recreate all connections using the 1.4.0.0 driver
  5. Download and install the 1.5.0.0 driver
  6. Create the connections again with the same credentials used in step 3 above and ensure to use the 8.2 endpoint in the advanced settings.

At step 6 you will still get the AuditDetail error. Just click "Submit" or "Cancel". You should be left with the connections you created in step 3. In other words, it shouldn't create a second set of duplicate connections after step 6.

Once I did this, I was able to browse the schema and execute queries. Anyways, hopefully this helps. Hopefully somebody can implement a proper fix.

@sventepe
Copy link

sventepe commented Sep 3, 2018

Hi,

can you share 1.4.0.0? I can not build the source :(

Do you know any other means to connect LINQPad to D365? I read about the default OData Driver would be usable, but that didn't work for me either. I'm trying to connect to D365 9.0 Online.

Thanks!

Sven

@cyus
Copy link

cyus commented Sep 11, 2018 via email

@Sano
Copy link

Sano commented Sep 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants