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 December 9th, 2003, 02:46 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error Code 8000401A

When I register the COM Components in COM+ Applications on Windows 2000 Server, I am getting the following error

Catalog Error :
An error occurred while processing the last operation.
Error Code 8000401A - The server process could not be started because the configured identity is incorrect. Check the username and password.

And when I try to call the Object from ASP page. I am getting the following error

Server object, ASP 0177 (0x800401F3)
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

While creating the new application in COM+ Applications, on the Identity tab, I have selected "Interactive User ".

How can I get rid of this error and still maintain the "Interactive User " option instead of the "This User" option.
 
Old December 9th, 2003, 04:28 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

IMO, you shouldn't use the Interactive User. Period.

Using Interactive User is asking for troubles as it requires a current login. Suppose you leave your server logged in, but somebody else walks by and thinks: "Hey, an unprotected server. Let's log out to protect it from unauthorized access."
From that moment, your application will break as there is no interactive user anymore.

What is your COM component doing? Is it accessing a database? Does the "Interactive User" have the rights to do the things from the COM method (access databases, write to files, read registry, etc)?

IMO, you're best of creating a specific user, like PackageUser. Don't give this user any rights, except for the things the COM+ component does (again, things like access a database, read file, etc).
This way, you've created a pretty secure solution that is easy to maintain and deploy.

HtH,

Imar


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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Code NadAf BOOK: Ivor Horton's Beginning Visual C++ 2005 0 February 18th, 2008 11:16 PM
Code error reverand Excel VBA 1 November 15th, 2006 02:08 AM
Code error??? emyr BOOK: Beginning Java 2 1 October 31st, 2006 05:47 PM
Code error!?!? Brian Campbell BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 November 26th, 2004 07:47 PM
Error displayed with error trap code stoneman Access 4 February 28th, 2004 02:53 PM





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