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

Notifications

Announcements

No record found.

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 133
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)
  • Verified answer
    Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at
    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.)
  • MacNeg Profile Picture
    133 on at
    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! 
     

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 423 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans