AX 2009 Enterprise Portal Error The type or namespace name “Portal” does not exist in namespace ‘Microsoft.Dynamics’
November 29, 2011 Leave a comment
These days, I’m working on developing some new Enterprise Portal pages for GRN/ Packing slip Posting through EP. Suddenly i found a problem while building my EP Web control page.
“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.
Soultion : I had to Generate the proxies again and build the pages again.
How to Generate Proxies.
To generate the proxy open the form : Tools > Development Tools > Web development > Proxies > Generate)
In most cases the proxies directory will look like this: C:\inetpub\wwwroot\wss\VirtualDirectories\80\App_Code\Proxies
In the last you need to use the Generate Proxy option from Visual studio EP project to add the generated proxies to the project and Build the project to successfully build solution.