Sign In
Sign Up
Products
Purchase
Downloads
Demos
Forums
Blogs
Documentation
Corporate
Aspose.com
»
Public Forums for Customers an...
»
Aspose.Form
»
Re: SetLicense() Error - String was not recognized as a valid DateTime
SetLicense() Error - String was not recognized as a valid DateTime
Last post 06-07-2008, 8:16 AM by
jmborde
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
06-06-2008, 7:36 AM
130347
jmborde
Joined on 05-31-2008
Posts 3
SetLicense() Error - String was not recognized as a valid DateTime
Attachment:
Present (inaccessible)
Hello,
I'm using the following code to activate my Aspose.form license:
var stream = new FileStream(licenseFilename, FileMode.Open, FileAccess.Read);
var license = new License();
license.SetLicense(stream);
I get an exception on the SetLicense method:
"String was not recognized as a valid DateTime"
I've attached my license file.
I resorted to using the stream method because in my asp.net app, when I put the license file in the bin directory, and just used the method:
license.SetLicense("Aspose.form.lic");
I would get an exception that the file could not be found.
I even tried adding the license as an embedded resource per the instructions.
This is in an ASP.Net app using csharp. I set security to my bin directory to "Everyone" Full to make sure there were no security restrictions.
I am using the latest version of Aspose.Form (downloaded 6/4/2008).
I am using version 3.5 of the .Net framework.
thanks
jim
06-07-2008, 4:06 AM
130443
in reply to
130347
iret
Joined on 09-01-2004
Guangzhou, China
Posts 2,090
Re: SetLicense() Error - String was not recognized as a valid DateTime
Attachment:
Present (inaccessible)
Hello,
Please check the attached hotfix.
thanks
Team Lead
Aspose Guangzhou Team
About Us
Contact Us
06-07-2008, 8:16 AM
130453
in reply to
130443
jmborde
Joined on 05-31-2008
Posts 3
Re: SetLicense() Error - String was not recognized as a valid DateTime
Thank you. All is well now.
jim
Contact Us
.
Privacy Policy
.
Terms of Use
.
Site Feedback
© Aspose 2002-2008. All Rights Reserved.
Language:
Arabic (العربية)
Chinese Simplified (中文(简体)
Chinese Traditional (中文(繁體)
Dutch (Nederlands)
English
French (français)
German (Deutsch)
Italian (italiano)
Japanese (日本語)
Korean (한국어)
Portuguese (Português)
Russian (русский)
Spanish (español)