Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADSI problems in Windows 2000
Message
De
17/11/2000 15:07:37
 
 
À
17/11/2000 14:42:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00442310
Message ID:
00443216
Vues:
15
>>>>I have written code that will create a Virtual web site and virtual directories underneath. I'm having difficulty accessing the newly created web server.
>>>
>>>>oWebServer = GetObject( "IIsWebServer", < "Site Number" > )
>>>
>>>What is the exact syntax you're trying to use?
>>
>>I apologize for being unclear.
>>Below is the code that I am using to create the web site and virtual root. The code is written in VFP but the VB code is very similar. This code works.
>>
>>I then create another web site but I create it manually from within the Microsoft Management Console and call the site TestWeb2.
>>
>>The first in this test is given Site number '11'.
>>The second in this test is given Site number '12'.
>>
>>I then run the following test.
>>oWebServer1 = GetObject( "IIS://LocalHost/W3SVC/11" )
>>oWebServer2 = GetObject( "IIS://LocalHost/W3SVC/12" )
>>
>
>Hmm. I'm not sure either. I have an ADSI browser utility that I use to browse the IIS Metabase for stuff like this- would you like me to send it to you?

Yes, please.

Send it to Dan.
Have you teste the above code and seen the same results?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform