sgoupil
3rd July 2013, 15:40
Hi All,
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.
Any ideas?
Here is the regular C# code we use to connect to Baan. Again, works from localhost, but not from web server.
Type t;
t = Type.GetTypeFromProgID("Baan4.Application");
Baan = Activator.CreateInstance(t);
object[] Parameters = new Object[1];
Parameters[0] = 3600;
Baan.GetType().InvokeMember("Timeout", BindingFlags.SetProperty, null, Baan, Parameters);
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.
Any ideas?
Here is the regular C# code we use to connect to Baan. Again, works from localhost, but not from web server.
Type t;
t = Type.GetTypeFromProgID("Baan4.Application");
Baan = Activator.CreateInstance(t);
object[] Parameters = new Object[1];
Parameters[0] = 3600;
Baan.GetType().InvokeMember("Timeout", BindingFlags.SetProperty, null, Baan, Parameters);