Inventor from within a Windows Service API is no longer launching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have run a Windows Service containing the following piece of code for the past 3 years:
Globals.WriteLogFile("Starting inventor application");
Type inventorAppType = System.Type.GetTypeFromProgID("Inventor.Application");
Globals.m_InventorApplication = System.Activator.CreateInstance(inventorAppType) as Inventor.Application;
if (Globals.m_InventorApplication == null)
{
throw new COMException("Inventor application is null");
}
Globals.WriteLogFile("Started inventor application");
}
catch (COMException ex)
{
Globals.WriteErrorFile(ex.Message);
return false;
}
}
From December, this has stopped working, Inventor is launched, stays at 0%, 12Mb RAM used but nothing happens and the CreateInstance eventually times out. I guess it may be due to licence issues.
We have uninstalled/reinstalled AutoDesk completely which has made no difference and the problem is happening on both a Development and Production Server without change to the program.
The same application functions perfectly when run as an Application not as a Service.
Any one got any ideas of what may have changed in December that could have effected this?