PDA

View Full Version : The object has an invalid ProgID



Jakob Kruse
16-Sep-2005, 12:05 PM
Hello everyone

I'm getting frustrated. Just did a complete reinstall of my machine. As part
of it I installed VDF versions 8.3, 9.0, 9.1, 10.0, 10.1 and 11.0. And just
like last time I reinstalled, webapp (all versions from 9.1 to 11.0) is a
dead fish. I get this error on all examples, and all of my own web
applications, save one(!):

Active Server Pages, ASP 0134 (0x80004005)
The object has an invalid ProgID of 'WebAppServer.Session.11.0'.
/DAW.Examples.Order11/global.asa, line 1

The fact that one application - a small web service application written in
VDF11 - works without any problems baffles me. Although it is the only web
SERVICE app...

I know the problem is related to rights somehow, because if I disable
anonymous access to a particular virtual directory in the IIS admin, and
enable Windows Auth instead, that application works. Switching back to
anonymous access (and restarting IIS) it's broken again.

Last time I decided to save myself a lot of frustration and added IUSR and
IWAM to the Administrators group (kids: don't try this!). That also solves
the problem. I'm not going to do it again though.

I have compared the one app that works with a non-working webapp example.
All settings in IIS admin are exactly the same. All access rights on disk
are exactly the same. All access rights in the registry under
HKLM/Software/DAW are exactly the same.

Can anyone shed some light?

Oh, I'm running on Windows XP SP2. The only "restrictive" piece of software
on the machine is Norton Antivirus 2005 (turning it off doesn't help).

Regards,
Jakob Kruse

PS: Have tried running RegMon and FileMon from sysinternals - no failed file
or registry access attempts show up.

Sture Andersen
16-Sep-2005, 01:41 PM
Hi Jakob,

I know this is from the stone age, but while waiting for a compenent answer
this wouldn't bring you anywhere?

http://www.sture.com/wasp/threadreport.asp?ThreadId=20844

-Sture

Sonny Falk
16-Sep-2005, 05:46 PM
> Active Server Pages, ASP 0134 (0x80004005)
> The object has an invalid ProgID of 'WebAppServer.Session.11.0'.
> /DAW.Examples.Order11/global.asa, line 1

Do you have Crystal Reports installed on that machine? See
http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=1310

-Sonny Falk (DAC)

Jakob Kruse
17-Sep-2005, 01:37 AM
Nope, sorry.

In contrast to that problem, all the webapp servers are registered ok here.

/Jakob


"Sture Andersen" <sture.aps@mail.tele.dk> wrote in message
news:5J%23bS5uuFHA.1276@dacmail.dataaccess.com...
> Hi Jakob,
>
> I know this is from the stone age, but while waiting for a compenent
> answer this wouldn't bring you anywhere?
>
> http://www.sture.com/wasp/threadreport.asp?ThreadId=20844
>
> -Sture
>

Jakob Kruse
17-Sep-2005, 01:38 AM
No Crystal.

/Jakob


"Sonny Falk" <sonny-f@dataaccess.com> wrote in message
news:qSaKlAxuFHA.3396@dacmail.dataaccess.com...
>> Active Server Pages, ASP 0134 (0x80004005)
>> The object has an invalid ProgID of 'WebAppServer.Session.11.0'.
>> /DAW.Examples.Order11/global.asa, line 1
>
> Do you have Crystal Reports installed on that machine? See
> http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=1310
>
> -Sonny Falk (DAC)
>
>

Knut Sparhell
17-Sep-2005, 10:02 AM
Jakob Kruse wrote:

> Last time I decided to save myself a lot of frustration and added IUSR and
> IWAM to the Administrators group (kids: don't try this!). That also solves
> the problem. I'm not going to do it again though.

I have done similar to investigate some problems of this kind. I solved
them after using Sysinternals RegMon and a full days work or more. Look
for result ACCDENIED.

--
Knut Sparhell, Norway

Jakob Kruse
18-Sep-2005, 02:09 AM
Indeed! Couldn't find anything the first time I tried, but now I tried again
and there it was.

OpenKey HKCR\WebAppServer.Session.11.0 ACCESS DENIED

Manually giving IUSR_* and IWAM_* the "Read" privilege using regedit gives a
new error:

Active Server Pages, ASP 0134 (0x80004005)
The object has an invalid ProgID of 'WebAppServer.WebBusinessProcess.11.0'.
/DAW.Examples.Order11/global.asa, line 6

Adding "Read" privilege for the WebAppServer.WebBusinessProcess.* keys and
everything works!

Thanks Knut!

Perhaps DAW should think about adding these privileges in their installer,
because apparently some systems need them.

/Jakob


"Knut Sparhell" <knut@sparhell.no> wrote in message
news:%23%23plTj5uFHA.1204@dacmail.dataaccess.com.. .
> Jakob Kruse wrote:
>
>> Last time I decided to save myself a lot of frustration and added IUSR
>> and IWAM to the Administrators group (kids: don't try this!). That also
>> solves the problem. I'm not going to do it again though.
>
> I have done similar to investigate some problems of this kind. I solved
> them after using Sysinternals RegMon and a full days work or more. Look
> for result ACCDENIED.
>
> --
> Knut Sparhell, Norway