Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Example from Rick Strahl's book
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00424233
Message ID:
00424647
Vues:
13
>>>Set oIisthingie = GetObject("IIS://LOCALHOST/W3SVC/1/ROOT/STRAHLBOOK")
>
>>>Server object error 'ASP 0196 : 80040154'
>>>
>>>Cannot launch out of process component
>
>>>The first part of the script is given by Rick specifically to prevent the error reported by the second part. The result "TrueTrue" tells me that it should have worked. I suspect it has something to do with paths but I can't guess what.
>
>Is the page you are currently running running under the default web site and in the folder specified? IOW, You did allow out-of-proc components for 1/ROOT/STRAHLBOOK, but is that the context you're running under?

Let's see... I type http://localhost/strahlbook/testasp2.asp in my browser to run the page. "Strahlbook" is a virtual folder under "Default Web Site" in my Microsoft Management Console. I don't really understand what "IIS://LOCALHOST/W3SVC/1/ROOT/STRAHLBOOK" really refers to, or why I need to GetObject from there. Taking "STRAHLBOOK" out of that phrase and making it just "IIS://LOCALHOST/W3SVC/1/ROOT" (as in the original example) made no difference. But I can well imagine that "W3SVC/1/ROOT" has something to do with the problem since I don't know what it is.

Any more words of wisdom? TIA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform