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 24th, 2003, 06:10 AM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default configured Identity is incorrect error

Hi,

I have a website that uses some custom written COM+ components to handle Office documents etc. If I am logged on
and have the Identity for the COM+ package set to interactive user everything is fine but when I log off I get the following
error:

Server object, ASP 0177 (0x8000401A)
The server process could not be started because the configured identity is incorrect. Check the username and password.

I have subsequently created a domain user called ASP_User and changed the identity from interactive to this user. I have
also altered the system policies on the server machine to allow this user to log on as a batch job. This user also has read
rights to \WinNT; \WinNT\System32 and \Program Files.

Now when I run the ASP script I no longer get the 8000401A error and the script appears to be creating the object ok. The
object should now open Word with a document filled with text entered in the ASP page but the page just sits there and
looks like it is loading but nothing happens. If I check the process list there is now a lot of WinWord.exe processes when
there should only be one and the event log has this error:

This error is written about 2 or 3 times a minute indefinetly:

The server {000209FF-0000-0000-C000-000000000046} did not register with DCOM within the required timeout.

I have checked and the {000209FF-0000-0000-C000-000000000046} server is for Word.Application

There is nothing wrong with the COM component as when I am logged in as myself and have the COM+ identity set to
interactive user everything works perfectly.

Any help or suggestions would be appreciated.

Cheers,
Stuart
 
Old July 25th, 2003, 04:05 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Stuart, if it works for one "user" but not another, its clearly a permission problem for the new "user" you set up.

Have you enabled auditing through the Local or Domain Security Policy? Be sure to at least audit object access. This should give you some clues through the security log
in the event viewer.

Alternatively you could give this ASP_user exactly the same privileges as you have. Then take away rights one by one until it stops working...

These things can be a pig to get to the bottom of...

hth
Phil
 
Old June 1st, 2005, 12:51 AM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Guys!!

I am getting the same problem here..

"System.Runtime.InteropServices.COMException: Server execution failed"
when declaring new Word.ApplicationClass().

How did you fix it? please let me know thanks!!!
 
Old September 28th, 2005, 10:07 AM
Registered User
 
Join Date: Oct 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by stoorob
 Hi,

I have a website that uses some custom written COM+ components to handle Office documents etc. If I am logged on
and have the Identity for the COM+ package set to interactive user everything is fine but when I log off I get the following
error:

Server object, ASP 0177 (0x8000401A)
The server process could not be started because the configured identity is incorrect. Check the username and password.

I have subsequently created a domain user called ASP_User and changed the identity from interactive to this user. I have
also altered the system policies on the server machine to allow this user to log on as a batch job. This user also has read
rights to \WinNT; \WinNT\System32 and \Program Files.

Now when I run the ASP script I no longer get the 8000401A error and the script appears to be creating the object ok. The
object should now open Word with a document filled with text entered in the ASP page but the page just sits there and
looks like it is loading but nothing happens. If I check the process list there is now a lot of WinWord.exe processes when
there should only be one and the event log has this error:

This error is written about 2 or 3 times a minute indefinetly:

The server {000209FF-0000-0000-C000-000000000046} did not register with DCOM within the required timeout.

I have checked and the {000209FF-0000-0000-C000-000000000046} server is for Word.Application

There is nothing wrong with the COM component as when I am logged in as myself and have the COM+ identity set to
interactive user everything works perfectly.

Any help or suggestions would be appreciated.

Cheers,
Stuart





Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect Collating Sequence Error biprajiman Access 1 October 30th, 2008 11:25 PM
Incorrect Syntax Error. binici ASP.NET 2.0 Basics 2 January 12th, 2007 01:33 AM
Error: Line 8: Incorrect syntax near '.' ; Help! Fly4High SQL Server 2000 2 August 15th, 2006 03:02 AM
Help Needed: Incorrect key file Error AlanB BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 January 22nd, 2005 06:21 PM
Error Line 1: Incorrect syntax near '='. Calibus Classic ASP Databases 9 July 20th, 2004 02:22 PM





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