Showing results for 
Search instead for 
Do you mean 
Reply

FileManagementUtility Soa C# Download file

Hi,

 

I'm trying to use FileManagementUtility  in visual studio2015 but I got an exectption.

I'm working with Teamcenter 10

 

erro3.png.

 

my code: 

 

         
            try
            {

  FileManagementUtility fMSFileManagement = new FileManagementUtility(Session.getConnection());
            }
            catch (Exception ex)
            {

            }

I have  added  TcSoaFMS64.dll and FCCNetClientProxy4064.dll  to the debug folder but still not working.

 


error1.pngerror2.png

3 REPLIES

Re: FileManagementUtility Soa C# Download file

FCC looks for the dlls through environment variable PATH.  Make sure that %FMS_HOME%\lib is added to PATH.

 

Preferable to add at the beginning as the PATH value may get truncated if it's too long.

Re: FileManagementUtility Soa C# Download file

Thanks Smiley Happy but this doesn't help. I still have the same exception. Do you know another alternative ?

Re: FileManagementUtility Soa C# Download file

[ Edited ]

If you are using Teamcenter 10, not sure why your TcSoaCommon version shows 11.2.0. Also there seems to be an entry showing .Net version 4 being used. TC10 does not support .Net 4.

.Net 4 support starts from Tc11.

 

Also, this might not be a reason for this problem, but FYI: TC 10 supports MSVisual Studio 2010 SP1 Standard & Professional Edition