
Hello,
I am using VS 2010, and MCV-4 to create Web-API that is added to AOT - AX 2012.
I succeed creating web api application, same as instruction from link:
also from : http://learnax.blogspot.co.il/2011/06/net-proxies-alternative-to-net-business.html
When running from Visual Studio (View in browser) - application run properly.
But I need to run it from web (even localhost at the moment).
What shall I do in order my API will run properly outside the Visual Studio.
1. I created new WEB Application (razor2).
2. In IIS, I added a new web site.
3. In Visual Studio: Projects -> Settings -> Web
4. In Visual Studio: Package/Publish web
5. Right click on project+deploy
When deploying - I don't see any files that are created on destination folder (they are created on:
C:\Users\...AppData\Local\Temp\9\Microsoft Dynamics AX\Web Application Projects\myproject\bin\
I got a message (Dynamics AX) that is related to improper application pool.
(Could not load file or assembly 'Microsoft.Dynamics.AX.ManagedInterop' or one of its dependencies ... System.BadImageFormatException), because my application shall be 32 bits.
But, how can I know which application pool is the correct one (same as Visual studio).
I want that the above work exactly the same as I do for Visual Studio (From VS 2010 - web application is running properly).
What are all of the steps, so my site can be published as well?
Thanks :)
*This post is locked for comments
I have the same question (0)