Help
  • Explore Community Expore Community
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Explore Community Explore Community
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • EcoStruxure Asset Advisor
      • Gateways and Energy Servers
      • Metering & Power Quality
      • Protection & Control
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
    • EcoStruxure IT Help Center
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Invalid License File

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • Invalid License File
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
JeffBowman Schneider Alumni (Retired)
164
sesa180908_brid
Commander sesa180908_brid Commander
34
ardak
ardak Schneider Alumni (Retired)
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SmartConnector Forum
Solved
sesa481917_brid
sesa481917_brid Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2018-11-29 03:41 PM . Last Modified: ‎2022-04-28 06:55 AM

0 Likes
2
332
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2018-11-29 03:41 PM

Invalid License File

2018-11-30 10:30:05.1451,Info,Portal,admin,Licenses,CreateThumbprint,ET=61 mSec,
2018-11-30 10:30:08.1674,Error,Service,<no principal>,Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at SxL.Common.Crypto.Decrypt(String value, String keyValue, String initializationVector)
at Mongoose.Common.Data.ExtensionMethods.Decrypt(IEncryptable encryptable, String encryptionKey)
at Mongoose.Service.Data.MongooseDbContext.OnObjectMaterialized(Object sender, ObjectMaterializedEventArgs e)
at System.Data.Entity.Core.Objects.ObjectContext.OnObjectMaterialized(Object entity)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.RaiseMaterializedEvents()
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.StopMaterializingElement()
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1[TResult](IEnumerable`1 sequence)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
at Mongoose.Service.Licensing.AntiRollbackDateTime.get_UtcNow()
,["Current WindowsIdentity is NT AUTHORITY\\SYSTEM"],

.

.

.

.
2018-11-30 10:30:12.2015,Error,Portal,admin,Invalid license file.

Your license has expired. Please contact your distributor/vendor to renew the license.
at Mongoose.Service.Portal.Root.Licenses.LicensesController.<>c__DisplayClass7_0.<AddLicenses>b__1(Object <p0>)
at Mongoose.Common.ExtensionMethods.ExecuteAndLogCall[TController,TRequest,TResponse](TController controller, String methodName, TRequest request, Func`2 methodToLog)
,["Licenses","A5196A6827F14DEDA43AA11C244AC338"],
2018-11-30 10:30:13.1815,Error,Service,<no principal>,Padding is invalid and cannot be removed.
at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at SxL.Common.Crypto.Decrypt(String value, String keyValue, String initializationVector)
at Mongoose.Common.Data.ExtensionMethods.Decrypt(IEncryptable encryptable, String encryptionKey)
at Mongoose.Service.Data.MongooseDbContext.OnObjectMaterialized(Object sender, ObjectMaterializedEventArgs e)
at System.Data.Entity.Core.Objects.ObjectContext.OnObjectMaterialized(Object entity)
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.RaiseMaterializedEvents()
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.StopMaterializingElement()
at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__1[TResult](IEnumerable`1 sequence)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
at Mongoose.Service.Licensing.AntiRollbackDateTime.get_UtcNow()
,["Current WindowsIdentity is NT AUTHORITY\\SYSTEM"],

 


I keep getting the same error- saying my license is invalid/expired even after requesting a new license

I'm trying to simiply install a developer license to make my own smart connector. 

any help would be greatly appreciated, thanks!

 

Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
JeffBowman
JeffBowman Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2018-11-30 05:18 AM

1 Like
1
326
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2018-11-30 05:18 AM

Hello,

 

I see a couple things that look weird here to me.

 

The first is it seems that the encryption key you are using, is not valid for your database. Did you at some point either create a new database or re-install smart connector keeping the old database?

 

If the answer is yes to the above, there is a likely a mismatch between the actual Encyrption Key that is used to decryped encrypted values in your database and the encryption key that the installed Smart Connector instance is trying to use. So in this case, the Anti-rollback mechanism (which is in the database), cannot correctly read the correct value, so it assumes that someone was messing with the time on the PC to try and get around an expired license and it is not allowing the new license to be used.

 

I would try the following:

 

1. Uninstall Smart Connector, including the database (which happens by default so no need do anything special)

2. Re-install Smart Connector.

3. Try again.

 

If the above isn't true (the mismatched encryption key). I would try the following.

 

1. Stop the Smart Connector Service 

2. Using a SQL Management Studio, open up the Smart Connector database

3. Find dbo.Settings table and edit the rows.

4. Find the ArdtValue setting and remove that row.

5. Start the Smart Connector Service

6. Try installing the license again.

 

Let me know how it goes!

 

Best Regards,

 

-Jeff

See Answer In Context

Reply
Replies 2
JeffBowman
JeffBowman Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2018-11-30 05:18 AM

1 Like
1
327
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2018-11-30 05:18 AM

Hello,

 

I see a couple things that look weird here to me.

 

The first is it seems that the encryption key you are using, is not valid for your database. Did you at some point either create a new database or re-install smart connector keeping the old database?

 

If the answer is yes to the above, there is a likely a mismatch between the actual Encyrption Key that is used to decryped encrypted values in your database and the encryption key that the installed Smart Connector instance is trying to use. So in this case, the Anti-rollback mechanism (which is in the database), cannot correctly read the correct value, so it assumes that someone was messing with the time on the PC to try and get around an expired license and it is not allowing the new license to be used.

 

I would try the following:

 

1. Uninstall Smart Connector, including the database (which happens by default so no need do anything special)

2. Re-install Smart Connector.

3. Try again.

 

If the above isn't true (the mismatched encryption key). I would try the following.

 

1. Stop the Smart Connector Service 

2. Using a SQL Management Studio, open up the Smart Connector database

3. Find dbo.Settings table and edit the rows.

4. Find the ArdtValue setting and remove that row.

5. Start the Smart Connector Service

6. Try installing the license again.

 

Let me know how it goes!

 

Best Regards,

 

-Jeff

Reply
sesa481917_brid
sesa481917_brid Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2018-12-02 01:00 PM

1 Like
0
322
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2018-12-02 01:00 PM

Hi Jeff, 

 

Deleting my old database and re-installing smartconnector has solved my issue with the licensing. 

 

Thank you! 

Linda

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc