Alan Flanders
2009-07-31 15:46:01 UTC
Hi,
I have been following the tutorials online am having some difficulty
building web controls in Visual Studio. Here is what I have done:
1) Create a new web page in VS and choose the "Dynamics AX Web Project"
2) Import a control from the AOT (TrvGuests)
3) Try to build the imported control
Get this error message:
"The type or namespace name 'Portal' does not exist in the namespace
'Microsoft.Dynamcis' (are you missing an assembly reference?)"
The error is referring to the following line of code:
using ApplicationProxy = Microsoft.Dynamics.Portal.Application.Proxy;
I have looked up "Microsoft.Dynamics.Portal" and can only this page is
returned:
http://msdn.microsoft.com/en-us/library/cc568275.aspx
I'm really at the end of my rope on this one because in order to debug my
code I need to be able to run the page in VS. In order to run it in VS it
needs to compile. Note that when I make changes to the page, they run as
expected in Enterprise Portal.
I am running VS 2008 on a development server machine with the AOT, DB and EP
installed. I am connected as console. This is the same machine that is
running our development EP. Everything is working fine except when I try to
run from VS.
Any help would be greatly appreciated.
thanks,
Alan
I have been following the tutorials online am having some difficulty
building web controls in Visual Studio. Here is what I have done:
1) Create a new web page in VS and choose the "Dynamics AX Web Project"
2) Import a control from the AOT (TrvGuests)
3) Try to build the imported control
Get this error message:
"The type or namespace name 'Portal' does not exist in the namespace
'Microsoft.Dynamcis' (are you missing an assembly reference?)"
The error is referring to the following line of code:
using ApplicationProxy = Microsoft.Dynamics.Portal.Application.Proxy;
I have looked up "Microsoft.Dynamics.Portal" and can only this page is
returned:
http://msdn.microsoft.com/en-us/library/cc568275.aspx
I'm really at the end of my rope on this one because in order to debug my
code I need to be able to run the page in VS. In order to run it in VS it
needs to compile. Note that when I make changes to the page, they run as
expected in Enterprise Portal.
I am running VS 2008 on a development server machine with the AOT, DB and EP
installed. I am connected as console. This is the same machine that is
running our development EP. Everything is working fine except when I try to
run from VS.
Any help would be greatly appreciated.
thanks,
Alan