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 

ASP.NET and assemblies in the GAC

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



Joined: 22 Jan 2006
Posts: 1

PostPosted: Sun Jan 22, 2006 6:37 pm    Post subject: ASP.NET and assemblies in the GAC Reply with quote

Hi There,

Here is the scenario I am trying to get working:

1) ASP.NET Application
2) WebForm & custom ServerControl assembly is in the bin folder of the website
3) WebForm assembly references a licensed class library assembly that is installed in the GAC

When I instantiate the GAC'd class library and attempt to verify its license, it only succeeds if I have copied the .lic file INTO the GAC using the command prompt.

Is this a normal issue? I would prefer to keep the .lic file in the web bin folder.

In case this complicates matters, the website is running SharePoint.

Thanks in advance,

Brett
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Jan 23, 2006 4:14 am    Post subject: Reply with quote

You may better off taking control of the actual reading of the license key yourself and then using the EncryptedLicenseProvider.VerifyLicenseKey method to verify that it is a valid license key. This can be better approach for ASP libraries because it allows to provide a method in your library which the client application can call to provide the license key. Executable file locations under ASP can be rather problematic.
_________________
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