Hi all,
using ETO 2014 server and I got the same error than in message: http://forums.autodesk.com/t5/Autodesk-Inventor-Engineer-to/SetUserApplication-error-while-trying-to...
However, if i force UseKey = false and then use
client.SetApplication(appName) instead, the application opens correctly, generates the default model ok, but if I make any changes, I get error (because of the missing GUID?).
Test application services works ok with both FilterDemo and FilterDemoInventor applications.
InventorETOServices user has all rights to the Autodesk.ETO.UI.FilterDemo folder.
StaircaseWebSample works OK.
It seems resolved in 2013 R2 but I should work also in 2014 version?
Any ideas?
Matti
Hi Matti,
By UseKey do you mean the userSessionKey parameter to SetApplication()?
The error is usually caused by references in your application pointing to the older version of ETO Server assemblies. Did you confirm that the references to Autodesk.Intent.Services, etc point to the ...\Inventor ETO Components 2014\Bin\... location?
-Scott
Hi,
I have no older versions in my computer, new windows 8 pro computer.
All the references are pointing to .\bin\public or .\bin\silverlightfiles or .\bin\telerik
.Net framework is 4.0
Silverlight is 5.0.5.0
However,
Both “RIA Services” in FilterSample.Silverlight project are pointing to version 2.0.5.0. Is that correct?
try
{
// Set the application.
if (useKey)
client.SetUserApplication(appName, Guid.NewGuid().ToString());
else
client.SetApplication(appName);
}
catch
{
client.Dispose();
throw;
}
What I meant was client.SetApplication(appName) works (application opens correctly) but client.SetUserApplication(appName, Guid.NewGuid().ToString()) throws error.
The filter sample doesn't use RIA services. Did you add references for that? When you say the references are pointing to .\bin\public, do you mean ...\Inventor ETO Components 2014\Bin\Public Assemblies?
Yes that is what I mean.
if I replace the line (intentClientFactory, ln 65)
client.SetUserApplication(appName, Guid.NewGuid().ToString());
with
client.SetApplication(appName);
I'll get the Visual Studio msg box: "Unable to automatically step into the server. The remote procedure could not be debugged".
the webapp will still start ok. I'll
I'm using VS 2012.
Matti,
Did you resolve the issue? I haven't been able to reproduce it yet.
-Scott