Wrox Programmer Forums
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce 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 November 20th, 2003, 01:34 PM
Registered User
 
Join Date: Nov 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Register DLL - Register Your DLL with the OS

There is some information regarding registering a dll with the OS in the archive but I find it is incomplete. The information here can be found on the web, albeit with some trouble and the ability to do some major filtering.

The use of regsvr32 is found easily enough, but the error message that follows when the dll is called by IIS is a big headache. The oddity is that in a development environment you have all your servers running under the user Administrator. IIS is not! Hence the cacls line in the BAT or CMD file.

regsvr32 /u "E:\ECommerce\ECommerce6.dll"
regsvr32 "E:\ECommerce\ECommerce6.dll"
echo y|cacls E:\AmsCommerce\*.* /T /G Everyone:F

The above assumes that your dll file is called ECommerce6.dll and the Location of the file is E:\Ecommerce. Both values can be different and something completely different.

The cacls is a useful tool. Check the web for some of the good reviews of it. The “acl” in the name stands for “access control list”.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Register a com dll in other machine is not working gnanaprakash Jebaraj C# 4 April 25th, 2008 05:04 AM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
How to convert .NET dll to COM dll used by VB 6.0 gvprashanth .NET Framework 1.x 0 December 4th, 2006 05:05 AM
HELP: How To Register a COM dll in other machine stalker C# 2 November 12th, 2004 10:16 PM
DLL & Excel - keep having to reset DLL reference! James Diamond Pro VB 6 2 May 25th, 2004 03:37 AM





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