Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The only allowable password in evaluation mode is 'TEST'

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
Jmasters



Joined: 23 Apr 2007
Posts: 1

PostPosted: Mon Apr 23, 2007 4:06 am    Post subject: The only allowable password in evaluation mode is 'TEST' Reply with quote

I am trying to build a custom key generator into a shopping cart for authorize.net (sorry paypal doesn't work for me) and I have copied my

Infralution.Licensing.EncryptedLicenseProvider.lic

into

\Program Files\Infralution\Infralution Licensing System\Bin
\Program Files\Infralution\Infralution Licensing System\LicenseTracker
\Inetpub\wwwroot\myweb

on my web server and still I am getting the error message that in evaluation mode. Where exactly do I need to place the .lic so that it will get picked up?
Back to top
View user's profile Send private message MSN Messenger
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Apr 23, 2007 9:58 am    Post subject: Reply with quote

If you are referencing the Infralution.Licensing.dll (rather than including the source code in your ASP.NET project) then the .lic file needs to be put in the same folder as the DLL (typically this would be under the bin directory of your web server \Inetpub\wwwroot\myweb\bin).

If you installed the Licensing.msi installer on your web server however, this would have installed the Infralution.Licensing.dll in the GAC. Your web application will then use the GAC DLL rather than the one directly referenced. This means that you would actually have to copy the licensing file to the (hidden) GAC directory containing Infralution.Licensing.dll. While this is possible (using a command line prompt) it is not easy.

If you have purchased ILS it is generally better (and easier) to simply include the source code for the EncryptedLicense and EncryptedLicenseProvider classes directly in your ASP.NET solution. The license checks are done within a conditional (#ifdef) code block and eliminates the need for the license file altogether. We also prefer this because it eliminates the possibility of you inadvertantly publishing your license file on your web server.

These classes also use a conditional code block to define the visibility of the classes. For ASP.NET projects the classes must be defined as public - so you need to add the following #define statement to the top of each file:

Code:
#define PUBLIC_LICENSE_CLASS

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group