Please help! Using AFS from Web application
We just developped a new web application that will run from a web server. Programming language is ASP.net and C# on IIS7 web server. Our Baan version is Baan IVc4.
This application will create new Purchase Requisitions, therefore, at the end of the process, the buyer will click a button to create new PO/PO lines in Baan automatically.
We've tested this application, running from the developer's PC (localhost) and this works just fine.
Now, to push further our tests, we moved the whole thing on our web server. We've installed Baan client on the the web server as well. The issue is, when running the application from the web server, the creation of the Baan instance seems to work (communication) but it opens the configuration screen. Once we entered the configuration connection parameters and click on the Run button, it hangs there and nothing is processed. Even, after creating the configuration parameters, every time we run the application, we always get the configuration screen instead of the login screen.
Here is the regular C# code we use to connect to Baan. Again, works from localhost, but not from web server.
t = Type.GetTypeFromProgID("Baan4.Application");
Baan = Activator.CreateInstance(t);
object Parameters = new Object;
Parameters = 3600;
Baan.GetType().InvokeMember("Timeout", BindingFlags.SetProperty, null, Baan, Parameters);