I am trying to integrating C# .net Web application to Aras Innovator. Getting Error - An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
source code:-
public class Global : System.Web.HttpApplication
{
public static Innovator inn = null;
private HttpServerConnection conn = null;
protected void Application_Start(object sender, EventArgs e)
{
Console.WriteLine("Connection Create starting");
string url = "http://localhost/InnovatorServer";
string db = "InnovatorSolutions";
string user = "admin";
string pw = "innovator";
Console.WriteLine("Connection Create 123");
conn = IomFactory.CreateHttpServerConnection(url, db, user, pw); // ERROR LINE
Item login_result = conn.Login();
//STEP THREE - INNOVATOR CREATE
inn = IomFactory.CreateInnovator(conn);
}
}
Thanks for helping!!
Waiting for Reply.