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 :
Microsoft Dynamics AX (Archived)

Help with EP development in Ax2012

(0) ShareShare
ReportReport
Posted on by 130

L.S.

I want to add a simple field to the TimesheetEntryPage.aspx page and run into all kinds of problems

Ax build 9.0.47.61. I  probably overlook something easy, but don't know what so any help is much appreciated. Here is what i did.

1 ) In VS2010 i created a new Ax EP WebApplication project and added it to the AOT

2) Added \Web\Web Files\Web Controls\TSTimesheetEntryPage to the project.

3) Build the solution ( so no changed yet )

Now i get compiler errors:

Error 1 The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.Dynamics' (are you missing an assembly reference?) 

Error 2 The type or namespace name 'EPFormAction' could not be found (are you missing a using directive or an assembly reference?) 

I can resolve both errors by adding the EPApplicationProxies and the TSTimesheetProxies to the project by right clinking on my project select Add Ep Proxy project.

However, no the compiler starts to complain about  duplicate types because both afore mentioned contain some overlap. Sounds like a catch 22 to me. Does anybody know what i am supposed to do?

And isn't adding the EPApplicationProxies a bit weird? Feels like adding all of Ax when i just want to add a simple field.

Kind regards,

Ernst Meijer

HSO B.V.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ernst

    You probably already continued long ago but here's what happened to me.

    I got same error trying to deploy a simple webservice.

    It turned out that because I had a couple of other classes that could not CIL compile one of them being a data provider then AX was unable to deploy the webservice.

    As the classes that couldn't compile where just test classes I tried deleting them and that solved the issue.

    So without touching anything related to my webservice I got it to deploy.

    Solution: Make everything else in the model able to CIL compile.

    Hope that helps you or someone else who sees this post.

    /Johan

  • Alexander Zazworka Profile Picture
    5 on at

    Hi!

     

    I'm having exactly the same problem with Ax 2012 R2 (6.2.1000.156) and CIL does compile properly.

    Added both proxy projects (EPApplicationProxies, TSTimesheetProxies) and get errors like this:

    The type 'Microsoft.Dynamics.Portal.Application.Proxy.Common' exists in both

    'c:\Users\alza\AppData\Local\Temp\2\Microsoft Dynamics AX\C Sharp Projects\EPApplicationProxies\bin\Debug\EPApplicationProxies.dll' and

    'c:\Users\alza\AppData\Local\Temp\2\Microsoft Dynamics AX\C Sharp Projects\TSTimesheetProxies\bin\Debug\TSTimesheetProxies.dll'

    C:\Users\alza\Documents\Visual Studio 2010\Projects\EPWebApplication\EPWebApplication\TSTimesheetEntryPage.ascx.cs 66 41 EPWebApplication

     

    Anyone found an solution yet?

     

    Kind regards,

    Alexander Zazworka

  • Ramanan.M Profile Picture
    70 on at
  • Community Member Profile Picture
    on at

    Did you solve this issue? I've the same

  • Community member Profile Picture
    85 on at

    Hi Rudsen,

    Where you able to resolve this issue?  I am also receiving this error.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans