Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

How to get error message from Exception on Innovator.ConsumeLicense

$
0
0

I use Innovator.ConsumeLicense in my .Net addin. It checks featureNameand returns id if it is correct, otherwise the method throws exception with message:

"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Aras.Server.Licensing.FeatureNotFoundException: Aras.VplmToArasConnector
   at Aras.Server.Licensing.LicenseManager.ConsumeLicense(String featureName) in d:\Builds\Daily\5804\RELS9-4\Innovator\Server\src\Core\Licensing\LicenseManager.vb:line 270
   at Aras.Server.Licensing.LicenseManagerWebService.ConsumeLicense(String featureName) in d:\Builds\Daily\5804\RELS9-4\Innovator\Server\src\Core\Licensing\LicenseManagerWebService.vb:line 50
   --- End of inner exception stack trace ---"

Is it possible to get correct error message from this exception without parsing this error, getting error code (Aras.Server.Licensing.FeatureNotFoundException) from it, looking string with message for this error code?


Viewing all articles
Browse latest Browse all 1103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>