Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

error "FittingAndCalculationUIServers" while runing the code check based app

14 REPLIES 14
Reply
Message 1 of 15
Anonymous
948 Views, 14 Replies

error "FittingAndCalculationUIServers" while runing the code check based app

Hi

 

I have uploaded the Demo App in your Autodesk Exchange store. The Demo app is based on Code check framework using Strucutural Analysis Tool kit.

It has been reviewed by Autodesk and it appears to be an issue while running teh app from Revit Strcuture 2015. They have that they get the follwing error mesggaes "Revit cannot run the external application FittingAndCalculationUIServers". But the sample demo app is working here.

 

Please look into the following email thread and the demo app for more details.

 

Regards,

Gopal. 

14 REPLIES 14
Message 2 of 15
arief.rahman
in reply to: Anonymous

(corrected e-mail address) 

 

Hi Gopal,

 

For Autodesk exchange application issue, please email to appsinfo@autodesk.com.

 

Regards,

 

Arief



Arief Rahman

Message 3 of 15
mikako_harada
in reply to: Anonymous

Hi Gopal, 

 

Looks like you wanted to add an e-mail explaining the issue?  

 

I cannot tell what is going wrong without being able to reproduce the issue.  Normally, we would ask you for the minimum, ready to run, reproducible sample.  But from what you wrote, sounds like you cannot easily reproduce while the exchange test engineer can?  If that's the case, you should continue working through the engineer who is QA'ing your app.  He or she may suggest you log a case to the ADN if you cannot easily share the sample code.  

 

You should also test your app with clean machine on supported OS at your side before submitting.  Many times, development environment has extra components, while the user's machine may not, such as debug environments.    


Mikako Harada
Developer Technical Services
Message 4 of 15

By the way, the correct e-mail address to contact Exchange app team is:  appsInfo@autodesk.com 

 

You can also find information about publishing apps : http://www.autodesk.com/developapps 

 

For example, Exchange app needs to follow a certain guidelines.  You can find detailed information from that page. 


Mikako Harada
Developer Technical Services
Message 5 of 15

Hi

 

Thanks for your reply.

Our Demo app works with out fresh system. The fresh system has windows 8 operating system, Revit structure 2015 and AutodeskStructuralAnalysisToolkitforAutodeskRevit.msi installed. I placed add-in file and dll  in C:\ProgramData\Autodesk\Revit\Addins\2015.

 

I will send an email to appInfo@autodesk.com.

 

 

Regards

Gopal

 

 

 

 

 

 

 

 

 

 

 

 

 

Message 6 of 15

Hi Gopal, 

 

>>  AutodeskStructuralAnalysisToolkitforAutodeskRevit.msi installed.

 

I *think* this is most likely the problem. If this is something which requires a separate installation, I don't think Exchange testing team has that on their machine by default. You would probably need to provide a separate merge module to handle spetial case like this.

 

Otherwise, an app should be self contained in a so-called bundle format, and placed in: 

  %programdata%\Autodesk\ApplicationPlugins.

 

you can find more info about how to pack your app here: 

  http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=20143032

 

ps. I saw you already contacted appsinfo. I will let the exchange app testing team know about your post here.  


Mikako Harada
Developer Technical Services
Message 7 of 15

Hi

 

I have mentioned that Demo app is based on the code check framework (structural analysis tool kit - AutodeskStructuralAnalysisToolkitforAutodeskRevit.msi) in previous mail included in email thread. The Structural Analysis tool kit is Autodesk Exchange app and is required.

From the screen shot that exchange team has attached, it looks like add-in file doesn’t point to correct DLL location.

 

What is process need to follow if our application requires another Autodesk Exchange app?

 

How do we specify the prerequisites?

 

The email wasn’t delivered to appInfo@autodesk.com with a message The following organization rejected your message: extmail.autodesk.com.

                       

Regards

Gopal

Message 8 of 15

Hi Gopal, 

 

First, e-mail address - it's appsinfo@autodesk.com. "s" was missing. I corrected it.  Sorry about it. 

 

About the toolkit, I assume it's this one: 

https://apps.exchange.autodesk.com/RVT/en/Detail/Index?id=appstore.exchange.autodesk.com%3astructura...

 

That app is probably using custom installer. 

 

I can think of two possibilities: 

1. include their components in your installer as a merge module. (Need to ask the toolkit team if it is okay to redistribute.) 

2. give a warning to the user that the user need to install another app in order to use yours. 

 

either way, your app should check if the necessary component is available for your app to run at the start up.  It will be a nicer customer experience if you give a warning to the user rather than throwing a unhandled error. 

 

I just dropped off an e-mail to support team mentioned on the store page: structural.toolkit.support@autodesk.com 

pointing to this post.  Let's see what they say.  


Mikako Harada
Developer Technical Services
Message 9 of 15

Hi

 

Revit crashes when it tries to load our application because it requires the Code check framework dll. Even if we try to implement a warning at the start of the load of our module , the code crashes before the module executes.

This is because Revit tries to load ALL the dependent dlls at the start ( including the code checking framework dlls).

 

The dialog below is from the code checking sample application that is available in the structural analysis toolkit.

 

 

Capture.PNG

 

 

Therefore we are unable to set a warning from our application. PLEASE ADVISE

 

 

Regards

Gopal

 

 

Message 10 of 15
_ew
Alumni
in reply to: cadsindiaadn

Hi Gopal,

As Mikako mentionned, there are also few solutions to  verify  at the your code level if the framework is installed or loaded. I will contact you to see where is exactly your issue. 

However, best practice to handle this case is to describe on the description of your application you want to publish that the structural toolkit is needed.

For a good user experience, I would recommend to  verify if the structural toolkit is installed at the installation level and block your installation if this not the case. 

Thanks,

Emmanuel 

 

     

      



Emmanuel Weyermann
Sr Software Architect
Link Name | Link Name | Link Name | Link Name
Message 11 of 15
cadsindiaadn
in reply to: _ew

Hi

 

Thank you for your reply. Based on your code hints, we able to check if the framework installed or not.

Regarding Installation, Will you be able to check whether structural toolkit is installed or not, if you’re creating MSI or

Whether if our MSI has to verify if the structural toolkit installed?

 

Please clarify.

 

Regards

Gopal

 

Message 12 of 15
cadsindiaadn
in reply to: _ew

Hi

Thank you for your reply. Based on your code hints, we are able to check if the framework installed or not.

Regarding Installation, Will you be able to check whether structural toolkit is installed or not, if you are creating MSI or whether if our MSI has to verify if the structural toolkit installed?

 

Please clarify.

 

Thanks and regards,

Gopal

Message 13 of 15
_ew
Alumni
in reply to: cadsindiaadn

HI Gopal,

For installer customization, you  should contact the Exchange app team:  appsInfo@autodesk.com 

you  case should fit  what is described here http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=20143032

 

Special Considerations
If your app or content has any special requirements and the standard installer template cannot handle as is, please talk to us.

For example, if you have specific requirements for your app to be written to a single-user, we can create the installer that install only to the current user.

For any other special needs that require a custom installation, you can provide them in the form of Windows Installer Merge Modules (.msm) files. We will merge your msm file with the Windows Installer (.msi) file that we create for your app. Examples of such a scenario would be: writing entries to the registry for a licensing system you are using, installing dependent components by other vendors, and running custom scripts. For additional information, please contact us at appsinfo@autodesk.com.

 

Thanks,

Emmanuel



Emmanuel Weyermann
Sr Software Architect
Link Name | Link Name | Link Name | Link Name
Message 14 of 15
Anonymous
in reply to: _ew

Hi Emmanuel

Based on your feedback i have resubmitted our Demo app by adding relevant warning, if structural Analysis toolkit 2015 not installed. Please do the needful.

mofifiedDemoApp.PNG

 

Regards

Gopal

 

 

 

Message 15 of 15
Sandeep.Kumar
in reply to: Anonymous

Hi Gopal,

 

I’m from the store app QA team. We have received your app. We’ll take a look.  We will contact you through the store channel. 

 

Thank you



SANDEEP KUMAR B
Manager, Forge Sales Operations
Developer Advocacy and Support
Autodesk, Inc.

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

Post to forums  

Autodesk Design & Make Report