Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 21st, 2003, 09:24 AM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Do you register com on the IIS by just regsrv32

I have a simple question. Do i register dll's on the iis server machine the same way as on a clinet machine?...(regsrv32 c:\mycom.DLL) or do i have register it differently so iis5 can find it and instanciate it from server.createobject?

RICH
 
Old July 21st, 2003, 02:25 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Rich,

If you want you can just register them using regsvr32. It will work just like your local machine, so IIS will be able to find the component.

It may be, however, a better solution to put your component inside a COM+ package. This will give you more control over the security, allows you to setup a Constructor String and generally makes it easier to recompile and replace the DLL. That is because a COM+ package can be unlocked (as opposed to a DLL locked by IIS), without the need to stop or restart IIS.

You can read all about this in this article.

HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
iis.msc equivalent in IIS for Win XP Pro? RealDHelix Classic ASP Basics 14 March 18th, 2007 08:28 PM
Help with register.asp tagaroe Classic ASP Databases 29 March 12th, 2007 06:50 AM
ASP.NET not register under IIS evridiki ASP.NET 2.0 Basics 3 February 22nd, 2006 04:04 PM
CreateObject error on IIS 4 but not IIS 5 timtom Classic ASP XML 1 December 5th, 2003 01:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.