web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

UDE getting an error that new class does not exist

(1) ShareShare
ReportReport
Posted on by 124
Hello, 
 
We got our first try on a UDE and to test it out I created a simple runnable class that will display info.  When I tried to run it, I got the error below.  I have the "synchronized with database" options enabled on the project, on build and even tried to run the synchronize with database on the module.  
 
I also tried to create a simple list screen and got the same error. 
 
I also tried to create a simple table and then use the open table browser option; I got the same error - table does not exists.  
 
I connected to the database using the jti connection string thru azure data studio, I don't see the test table I created. So, it looks like an issue with db synchronization. :( 
 
I am new to D365 development, any help is very much appreciated. 
 
I am using visual studio community 2022, running it as administrator. 
 
Thanks a lot! 
 
Joseph 
 
I have the same question (0)
  • MacNeg Profile Picture
    124 on at
    UDE getting an error that new class does not exist
    Thanks a lot Martin, it worked. :) 

    So with the UDE setup, everytime code changes are made, I have to deploy it to the cloud, which means the environment is unavailable until the deployment is done? Is there a way to do debugging and testing on the client side?  (for a faster development).
     
    Thanks! 
     
  • Verified answer
    Martin Dráb Profile Picture
    236,192 Most Valuable Professional on at
    UDE getting an error that new class does not exist
    This has nothing to do with DB sync, but you apparently haven't deployed your code to the environment.
     
    You can do it manually by Dynamics 365 > Deploy > Deploy Models to Online Environment. You can also tick Deploy to connected online environment in the Full build dialog.
     
    (Moved from Integration, Dataverse, and general topics forum.)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,351

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 874 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 638 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans