Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Error : An application object of type 'Page' with name '*** Package Card' is already declared

(0) ShareShare
ReportReport
Posted on by 245

Capture_5F00_3.PNG

When developing Page in Business Central of Cloud Version , It Showing Page With this name already declared , But I did not declare any object with Same name or ID  .  The Error is   " An application object of type 'Page' with name '*** Package Card' is already declared " .

Can any one suggest me what is that error and how can i solve it.?

  • RKirsten_ Profile Picture
    5 on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Even though this question was asked quite while ago...

    I ran into this as well. My project contained only one file and a workspace file looking like this:

    .."folders": [
            {
                "path": "APP/src",
                "name": "App"
            },
            {
                "path": "TEST/src",
                "name": "TestApp"
            },
            {
                "path": ".",
                "name": "root"
            }
        ]...

    Absolutely no reason for this error was given. Somehow VS Code stumbles here. After deleting the App-Part in my workspace file, this issue was solved for me.

    So I end up with:

    "folders": [
            {
                "path": "TEST/src",
                "name": "TestApp"
            },
            {
                "path": ".",
                "name": "root"
            }
        ]
  • d-consulting Profile Picture
    5 on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    do you find a solution about this error please?

  • bctails Profile Picture
    25 on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Manikanta_501 isn't talking nonsense. Probably, the code compiles fine but still gives you the errors?

    Are you maybe using an UNC path to store your VS code folders? If so, try copying the solution locally or mapping a network drive.

    >> Here's why

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Check if your app has dependencies with other app. Maybe it is already declared in the other app.

  • Manikanta_501 Profile Picture
    245 on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Hello 

    I Checked every Object , Every object  has a Unique ID & Name.

    I am getting this error for So many Objects in my Project.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,637 Moderator on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Check all of AL files and make sure the page name is unique.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Error : An application object of type 'Page' with name '*** Package Card' is already declared

    Check your AL files, you have for sure an object with the same name.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans