Git Product home page Git Product logo

bc2dataverse's Issues

error CDS0001: Error connecting to Dataverse.

Hi,
I am using this tool for few months already, but since last week I am getting this error when I try to generate the proxy table:

[Window Title]
Visual Studio Code

[Content]
Error: Microsoft (R) AL Table Proxy Generator version 11.0.11.39772
Copyright (C) Microsoft Corporation. All rights reserved

Authenticating Dataverse using ServiceUri=https://xxxxx.crm4.dynamics.com
error CDS0001: Error connecting to Dataverse. 
Microsoft.Dynamics.Nav.Xrm.Common.XrmException: Failed to connect to Dataverse

Server stack trace: 


Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Dynamics.Nav.Xrm.Common.IXrmService.Connect(String serviceUri, String token)
   at Microsoft.Dynamics.Nav.TableProxyGenerator.XrmMetadataService.CreateXmlMetadataService(String serviceUri, String token) in D:\a\_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\Xrm\XrmMetadataService.cs:line 67
   at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorTool.CreateXrmMetadataService(IList`1 diagnostics, String token) in D:\a\_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\TableProxyGeneratorTool.cs:line 92
    
Error: Microsoft (R) AL Table Proxy Generator version 11.0.11.39772
Copyright (C) Microsoft Corporation. All rights reserved

Authenticating Dataverse using ServiceUri=https://xxxxx.crm4.dynamics.com
error CDS0001: Error connecting to Dataverse. 
Microsoft.Dynamics.Nav.Xrm.Common.XrmException: Failed to connect to Dataverse

Server stack trace: 


Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Dynamics.Nav.Xrm.Common.IXrmService.Connect(String serviceUri, String token)
   at Microsoft.Dynamics.Nav.TableProxyGenerator.XrmMetadataService.CreateXmlMetadataService(String serviceUri, String token) in D:\a\_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\Xrm\XrmMetadataService.cs:line 67
   at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorTool.CreateXrmMetadataService(IList`1 diagnostics, String token) in D:\a\_work\1\s\source\Prod\Microsoft.Dynamics.Nav.TableProxyGenerator\TableProxyGeneratorTool.cs:line 92
    

    at c:\Users\xxx\.vscode\extensions\thebc2dataverseteam-msdenmark.bc2dataverse-1.0.0\out\helpers\utils.js:160:48
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at c:\Users\xxx\.vscode\extensions\thebc2dataverseteam-msdenmark.bc2dataverse-1.0.0\out\proxyGen.js:120:28
    at c:\Users\xxx\.vscode\extensions\thebc2dataverseteam-msdenmark.bc2dataverse-1.0.0\out\helpers\utils.js:138:16

[OK]

We have checked on AAD side that authentication is successful (first I though that problem is on AAD side because conditional access is used on tenant I am working with). I do not know if the problem is in the tool or it is something on Dataverse side (not expert on this).

Could someone:

  1. try that it is working for someone else (problem on my side then...)
  2. Tell me what is needed on DataVerse side to be able to connect (used account was working, no known changes were made by administrators on DataVerse side, account should be admin)
    Thanks for helping me in triage...

setting the base ID

When generating the proxy table, there is no way to set the base id to be used for the field IDs of the proxy table. They are numbered independently on the ID entered for the new proxy table.

Error when execute commands

When I try to use the commands “generate page list” or “map to existing table”, the text box to inform the dataverse entity worker closes without giving time to enter a value and gives the following error:

image

image

No way to choose language

When I am generating proxy table, the caption and option members are generated in "some" language (in my case Czech). I need possibility to switch to get English captions and members. I didn't found any parameter for this on the tool.

Enter another dataverse URL

Once you have entered an dataverse URL in a project using the command "bc2dataverse: Generate proxy table" and you get the wrong one you cannot switch to another Dataverse URL.
There is no clear function. Even when you remove the extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.