Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Changing metabase records with list datatypes

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Related Topics:
iis4 doesn't return all records - I wonder if you guys can help... I have an asp page served from IIS4 on NT4 Server. The page queries an Access database and should return 2000+ lines and each line has a listbox that is populated from another table with ten records. When the page is..

Strange records IN IIS Log file - These are some records from my IIS 5.0 log file. All IP addresses from my INTERNAL Network. I don't have any viruses in my network. - XP Domain - Exchange Server..

no records updated w/submission form - Hi. I am using the Frontpage templates for creating date forms. I believe I have a good database but I can't update data using the form. I get a page thanking me for the but no records are entered..

metabase - what is iis metabase? whats the purpose of it?

List all WebSites - How to list (I assuming using ADSI) all web sites on machine virtual pathes of them)? -- Tamir Khason You want dot.NET? Just ask: "
Next:  IIS: Application pool with domain account & anonymous access di..  
Author Message
tonyshirt

External


Since: May 21, 2004
Posts: 3



(Msg. 1) Posted: Mon Jul 19, 2004 10:51 am
Post subject: Changing metabase records with list datatypes
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi:

I'm trying to change the httpErrors metabase record with adsutil. This
has a list data type that has been giving me fits.

the commands I'm using is:

C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/1/Root/HttpErrors
"400,*,FILE,C:\WINNT\help\iisHelp\common\400.htm"
"401,1,FILE,C:\WINNT\help\iisHelp\common\401-1.htm"
"401,2,FILE,C:\WINNT\help\iisHelp\common\401-2.htm"
"401,3,FILE,C:\WINNT\help\iisHelp\common\401-3.htm"
"401,4,FILE,C:\WINNT\help\iisHelp\common\401-4.htm"
"401,5,FILE,C:\WINNT\help\iisHelp\common\401-5.htm"
"403,1,FILE,C:\WINNT\help\iisHelp\common\403-1.htm"
"403,2,FILE,C:\WINNT\help\iisHelp\common\403-2.htm"
"403,3,FILE,C:\WINNT\help\iisHelp\common\403-3.htm"
"403,4,FILE,C:\WINNT\help\iisHelp\common\403-4.htm"

When I run this I get :

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Subscript out of range
ErrNumber: 9 (0x9)
Error Trying To SET the Property: HttpErrors

can anyone help?

 >> Stay informed about: Changing metabase records with list datatypes 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 2) Posted: Tue Jul 20, 2004 8:50 pm
Post subject: Re: Changing metabase records with list datatypes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tested with IIS6, it only allow to have 9. anything more than that you will
get invalid argument Sad

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"TonyShirt" <tonyshirt.RemoveThis@hotmail.com> wrote in message
news:52d54c07.0407190651.6b3678b1@posting.google.com...
 > Hi:
 >
 > I'm trying to change the httpErrors metabase record with adsutil. This
 > has a list data type that has been giving me fits.
 >
 > the commands I'm using is:
 >
 > C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/1/Root/HttpErrors
 > "400,*,FILE,C:\WINNT\help\iisHelp\common\400.htm"
 > "401,1,FILE,C:\WINNT\help\iisHelp\common\401-1.htm"
 > "401,2,FILE,C:\WINNT\help\iisHelp\common\401-2.htm"
 > "401,3,FILE,C:\WINNT\help\iisHelp\common\401-3.htm"
 > "401,4,FILE,C:\WINNT\help\iisHelp\common\401-4.htm"
 > "401,5,FILE,C:\WINNT\help\iisHelp\common\401-5.htm"
 > "403,1,FILE,C:\WINNT\help\iisHelp\common\403-1.htm"
 > "403,2,FILE,C:\WINNT\help\iisHelp\common\403-2.htm"
 > "403,3,FILE,C:\WINNT\help\iisHelp\common\403-3.htm"
 > "403,4,FILE,C:\WINNT\help\iisHelp\common\403-4.htm"
 >
 > When I run this I get :
 >
 > Microsoft (R) Windows Script Host Version 5.6
 > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
 >
 > Subscript out of range
 > ErrNumber: 9 (0x9)
 > Error Trying To SET the Property: HttpErrors
 >
 > can anyone help?<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Changing metabase records with list datatypes 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]