Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

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
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
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
816
  • 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
Sisko JeffBowman Sisko
Sisko

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

1 Like
1
810
  • 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
Sisko JeffBowman Sisko
Sisko

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

1 Like
1
811
  • 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
806
  • 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

 
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 board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - 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 © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of