Saturday, July 31, 2010

Troubleshooting AX 2009 Enterprise Portal Error The type or namespace name "Portal" does not exist in namespace 'Microsoft.Dynamics'

These days, I'm working on developing some new Enterprise Portal pages for creating Inventory Journals and Posting it through EP.

From last couple of weeks, my enterprise portal site on my local virtual image was working fine but suddenly last week it stopped working, I don't know for what reason but it started giving me weird errors like "The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.Dynamics' (are you missing an assembly reference?) " on some of my custom developed pages.

Resolution: This thread on the communities forum helped me as I had to Generate the proxies again and build the pages again.

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.axapta.programming&tid=713a2ca4-60cb-4fc5-9e7f-bb5b8a6f8440&cat=en_US_43057844-26db-48ec-8f54-3dff8e8cfd2f&lang=en&cr=US&sloc=&p=1

3 comments:

  1. Enterprise Portal impot URL problem

    Hi All,

    I am getting error listed below while importing URL in Enterprise portal.

    The Web Part page http://server/sites/DynamicsAx/Sales/Enterprise%20Portal/JCIMembershipForm.aspx was not imported correctly from the site. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Solutions reqd....

    Regards

    I Khan

    ReplyDelete
  2. The microsoft link temporary down. Can you explain how to fix this problem? thank you.

    ReplyDelete
  3. HI,

    First deploy page definition then deploy url ....

    ReplyDelete