Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADSI problems in Windows 2000
Message
From
17/11/2000 15:07:37
 
 
To
17/11/2000 14:42:51
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00442310
Message ID:
00443216
Views:
20
>>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform