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 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.

Advertisements

One Response to AX 2009 Enterprise Portal Error The type or namespace name “Portal” does not exist in namespace ‘Microsoft.Dynamics’

  1. abdul ghani says:

    please help me in ” Generate Proxy option from Visual studio EP”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: