Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2003

Tip: Looking for answers? Try searching our database.

LicenseException - 3rd party control in DLL, hosted in IE.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BLH - 08 Sep 2003 20:57 GMT
Hi All,

I have created a DLL in VS.NET.  The DLL contains Windows
Forms and I embed an object tag that refers to this DLL in
an aspx page.  In other words, this is a client
application that is hosted in IE.

The DLL also uses a 3rd party control that requires a
license.

When the app is running from within the browser, I get a
LicenseException exception thrown.

I presume this is because it cannot find the license.

Q.  How is the license file usually located by the 3rd
party control that requires it, in this scenario?

I would assume that the answer would be specifi to the the
third party control, and I would somehow need to point to
or configure the control to look in a certain location for
this file.

Thoughts?
Thanks,
BLH
Ying-Shen Yu[MS] - 09 Sep 2003 10:32 GMT
Hi BLH,
   Because the .NET License model is flexible, everyone could make a
derived Lincense Provider,
so I'm not cleary about the implementation of your 3rd party control.
However, if it uses the class  LicFileLicenseProvider, I think you may
referr to the remarks of
LicFileLicenseProvider.GetLicense method,
ms-help://MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfsystemcomponentmodellicfil
elicenseproviderclassgetlicensetopic.htm

If it is not the same, you'd better ask the company making that control for
help.
Thanks!

Kind regards,

Ying-Shen Yu [MS]
Microsoft Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.  2001 Microsoft Corporation. All rights
reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "BLH" <blh@rtp.com>
[quoted text clipped - 42 lines]
| Thanks,
| BLH

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.