Comments (4)
Could you please post a complete stack trace of that exception?
from portable.licensing.
Sure:
System.FormatException: String was not recognized as a valid DateTime because the day of week was incorrect.
Stack trace:
at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
at System.DateTime.ParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style)
at Portable.Licensing.License.get_Expiration()
at Portable.Licensing.Validation.LicenseValidationExtensions.b__1(License license)
at Portable.Licensing.Validation.ValidationChainBuilder.d__1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable
1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
from portable.licensing.
I'm having the same issue...
See related github issue here
<Expiration>Fri, 31 Dec 9999 23:59:59 GMT</Expiration>
This date blows up on just some of my customer's machines. I have not been able to repro on any environment. Below is a screenshot that one of them sent me.
from portable.licensing.
Looks like when you have a license with a expiration date of DateTime.MaxValue which is (Fri, 31 Dec 9999 23:59:59 GMT), some version of visual studio/.net fail. I was unable to replicate this on vs 2012, 2013, 2015 but other user's of my project were.
My solution was to generate a permanent license that expires in a 100 years instead of using DateTime.MaxValue.
from portable.licensing.
Related Issues (20)
- License Signature Validation Error HOT 2
- How do you tie the license to machine locked and an e-Commerce system?
- How to implement "hardware id" based licensing using Portable.Licensing
- I am getting "Corrupted stream - out of bounds length found" error when calling "validationFailures.Any()"
- InvalidSignatureValidationFailure: License signature validation error! HOT 6
- Create a .NET Standard version of the library HOT 5
- Expiration date time zone issue? HOT 1
- Any public key/license will work? Doesn't enforce licensing? HOT 8
- Production
- What is Maximum utilization? HOT 1
- Need PHP Api to generate licenses
- WithMaximumUtilization HOT 2
- paket.bootstrapper.exe should be renamed to paket.exe
- Adding 'Company' to the Customer section of a license. HOT 4
- Is the project dead? HOT 4
- Enhance the exception catch when license corrupted
- License Manager Default Authenticaiton
- Portable.Licensing with runtime .net 3.5 HOT 1
- 1.2.12 is not backward compatible, if you start using .net 5 HOT 1
- The input is not a valid Base-64 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from portable.licensing.