Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server.CreateObject fails with Class is not licensed

Status
Not open for further replies.

AppSpecialist

Programmer
Jul 6, 2001
64
CA
I am using the microsoft internet transfer control and VBScript and visual interdev on my local machine.

When I run the ASP page from my local website on personal computer... everything works fine... however, I run the ASP page from the production server and I get an error stating class is not licensed??? This error occurs on the line where I issue the server.createobject command.

Why is this so? I have copied the ocx up to the web server and registered it?

Thanks
 
The ITC is a licensed control. Simply copying & registering it is not a successful deployment.

You'll need to create an ActiveX DLL that encapsulates the ITC.

Then copy the ITC OCX, and your DLL to the server and register them both.

Your ASP pages will then instantiate your DLL object, not the ITC directly.

There is a KB article in the MSDN that explains this in more detail. Sorry, I dont have the URL handy. Head over to the MSDN and do a search for INTERNET TRANSFER CONTROL ASP PAGE LICENSE, all words. Jon Hawkins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top