Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SetUserApp​lication error while trying to run FilterDemo in ETO server 2014

5 REPLIES 5
Reply
Message 1 of 6
matti_keratar
596 Views, 5 Replies

SetUserApp​lication error while trying to run FilterDemo in ETO server 2014

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...

in image: http://forums.autodesk.com/t5/image/serverpage/image-id/48939iAB01F11FAA78CE5B/image-size/original?v...

 

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

 

 

 

5 REPLIES 5
Message 2 of 6

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



Scott Anderson
Principal Software Engineer
Message 3 of 6

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.

Message 4 of 6

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?



Scott Anderson
Principal Software Engineer
Message 5 of 6

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.

 

Message 6 of 6

Matti,

 

Did you resolve the issue? I haven't been able to reproduce it yet.

 

-Scott



Scott Anderson
Principal Software Engineer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report