Metadata Issue, Object of type Page not found.
 
            
                
                    aavio                
                
                    Member Posts: 143                
            
                        
            
                    Dear all,
i am stuck with an issue with Metadata.
i am trying to create Sales Order through web services. And after create i call for automatic BOM Item explode.
Most the case i am getting exception from BOM explode code
as
Metadata for object of type Page with id 27006562 is in a failed state. This is caused by a previous exception: Object of type Page with id 27006562 could not be found.
as it says page id 27006562 doesnt exist in my db, i checked and no other object have referencees to this page.
i have no idea why its refering to such a page.
please giude me.
thank you
                i am stuck with an issue with Metadata.
i am trying to create Sales Order through web services. And after create i call for automatic BOM Item explode.
Most the case i am getting exception from BOM explode code
as
Metadata for object of type Page with id 27006562 is in a failed state. This is caused by a previous exception: Object of type Page with id 27006562 could not be found.
as it says page id 27006562 doesnt exist in my db, i checked and no other object have referencees to this page.
i have no idea why its refering to such a page.
please giude me.
thank you
aav!o
0                
            Answers
- 
            Please Compile & save this pageUday Mer | MS Dynamics NAV Techno-Functional Consultant0
- 
            Dear udayrmer,
 but the page id 27006562 doesnt exist in my db. aav!o0 aav!o0
- 
            Please compile all objects and try..0
- 
            If you have added any new function in either form/page make sure Function ID should be same on page and form.0
- 
            I'm not sure that this could help you btw..
 I've seen this behaviour also with reports when renaming them from an ID to another.
 To solve this issue I search in the Object Metadata table records related to Old Id and New Id and I delete them.
 After that I compile the report (in this way the Object Metadata is created) and problem is solved.
 It seems it remains something "dirty" in the Object Metadata table.~Rik~
 It works as expected... More or Less...0
- 
            sorry double post~Rik~
 It works as expected... More or Less...0
- 
            hi guyz i solved it.
 within Coding, there was code to run formFORM.RUNMODAL(....) when executed same code called from webservice, it somehow refering to page object of same ID as form. :roll:
 i am not sure why its so :shock:
 i just skiped executing the FORM.RUNMODAL when called from webservice. 
 thanks everyone for your valuable input.
 From this issue i understood that for all Metadata issues, just compiling objects will not solve the issue.  aav!o0 aav!o0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions



