Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Invalid characters

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 5.0 + .SHTML + .PHP  
Author Message
adltorre

External


Since: Oct 01, 2003
Posts: 2



(Msg. 1) Posted: Fri Oct 24, 2003 11:27 am
Post subject: Invalid characters
Archived from groups: microsoft>public>inetserver>iis (more info?)

hi, everybody.

my iis5 is returning the following error when i try to
change a password through IISADMPWD:

"The specified username contains invalid characters".

Of course im not writting any invalid characters. All was
working fine, until last fixes were installed (i think), i
cant precise that.

Ive tried these workarrounds, but nothing:

1) recreate the iisadmpwd virtual directory (Q269082).
2) replace all htr files from a server that is working.
3) run the ism2asp tool.

anybody has another possible solutions?

thank you very much.
Alvaro

 >> Stay informed about: Invalid characters 
Back to top
Login to vote
vickis1

External


Since: Oct 29, 2003
Posts: 2



(Msg. 2) Posted: Wed Oct 29, 2003 4:13 am
Post subject: RE: Invalid characters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Alvaro,

Researching your problem I've found the following regarding the SP4 version
of the ACHG.HTR file:

The SP4 version of ACHG.HTR contains this function:

function IsInvalidUsername(username)
  dim re
  set re = new RegExp
  ' list of invalid characters in a user name.
  re.Pattern = "[/\\""\[\]:<>\+=;,@]"
  IsInvalidUsername = re.Test(username)
end function

If any of these characters in the re.Pattern line exists then the user name
will fail.

From your original posting I understand the following:

You have recreated the iisadmpwd VirDir following the steps in Q269082
You replaced all the htr files from a server that has not been updated and
is currently functioning
You ran the ISM2ASP tool that updates the .htr script mapping to ASP.dll;
I'm assuming per the steps in Q331834

None of these three steps were successful, is this correct?

One thing I'd like to confirm is the current script mapping for the .htr
extension. Please go to the Internet Service Manager console, right-click
on the Server node, click the Edit button across from WWW Services field
and select the Home Directory Tab. From Home Directory click the
Configuration button. Scroll down to the .htr entry, doubleclick and verify
the mapping which should be to "C:\WINNT\system32\inetsrv\asp.dll"

If this is the mapping is as expected, another possibility is that for some
reason it didn't propogate to all the websites. This can be easily fixed by
making a change to the path (i.e. changing asp.dll to asp.dlx) and
attempting to commit the change. Because the path is invalid it will fail.
Change the path back to the original entry and commit. You will be prompted
to propogate to the child nodes (all existing configured website); Click
the Select All button or select only those websites to which this change
should be applied.

Let me know if this works. If not, I'll need to do some more research. I'll
check for a posting from you daily and if nothing is returned by close of
business Friday 10/31, I'll assume that all is OK and the post can be
closed as resolved.

Thank you,

Vicki Stearns [MSFT]
Microsoft IIS
vickis RemoveThis @online.microsoft.com

Please do not send email directly to this alias. This
is our online account name for newsgroup participation only.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Invalid characters 
Back to top
Login to vote
adltorre1

External


Since: Oct 29, 2003
Posts: 2



(Msg. 3) Posted: Wed Oct 29, 2003 8:17 am
Post subject: RE: Invalid characters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Vicky,
the mapping for the .htr extension is correct=20
(C:\WINNT\System32\inetsrv\asp.dll).

Related to my original posting, i want to clarify that all=20
my servers are up to date (SP4 + all current security=20
fixes)

Another thing that i've noted, is that if i disable=20
the "annonymous access" option from Directory Security=20
options the following occurs:

1) integrated authentication enabled only:
domainname\username is displayed with the first letter=20
truncated.

2) basic authentication enabled only or both enabled:
username is displayed with the first letter truncated.

thanks for your support.
Alvaro
adltorre DeleteThis @sadesa.com
=20
 >-----Original Message-----
 >Hi Alvaro,
 >
 >Researching your problem I've found the following=20
regarding the SP4 version=20
 >of the ACHG.HTR file:=20
 >
 >The SP4 version of ACHG.HTR contains this function:
 >
 > function IsInvalidUsername(username)
  > dim re
  > set re =3D new RegExp
  > ' list of invalid characters in a user name.
  > re.Pattern =3D "[/\\""\[\]:<>\+=3D;,@]"
  > IsInvalidUsername =3D re.Test(username)
 > end function
 >
 >If any of these characters in the re.Pattern line exists=20
then the user name=20
 >will fail.=20
 >
 >From your original posting I understand the following:=20
 >
 >You have recreated the iisadmpwd VirDir following the=20
steps in Q269082
 >You replaced all the htr files from a server that has not=20
been updated and=20
 >is currently functioning
 >You ran the ISM2ASP tool that updates the .htr script=20
mapping to ASP.dll;=20
 >I'm assuming per the steps in Q331834
 >
 >None of these three steps were successful, is this=20
correct?=20
 >
 >One thing I'd like to confirm is the current script=20
mapping for the .htr=20
 >extension. Please go to the Internet Service Manager=20
console, right-click=20
 >on the Server node, click the Edit button across from WWW=20
Services field=20
 >and select the Home Directory Tab. From Home Directory=20
click the=20
 >Configuration button. Scroll down to the .htr entry,=20
doubleclick and verify=20
 >the mapping which should be to "C:\WINNT\system32
\inetsrv\asp.dll"=20
 >
 >If this is the mapping is as expected, another=20
possibility is that for some=20
 >reason it didn't propogate to all the websites. This can=20
be easily fixed by=20
 >making a change to the path (i.e. changing asp.dll to=20
asp.dlx) and=20
 >attempting to commit the change. Because the path is=20
invalid it will fail.=20
 >Change the path back to the original entry and commit.=20
You will be prompted=20
 >to propogate to the child nodes (all existing configured=20
website); Click=20
 >the Select All button or select only those websites to=20
which this change=20
 >should be applied.
 >
 >Let me know if this works. If not, I'll need to do some=20
more research. I'll=20
 >check for a posting from you daily and if nothing is=20
returned by close of=20
 >business Friday 10/31, I'll assume that all is OK and the=20
post can be=20
 >closed as resolved. =20
 >
 >Thank you,
 >
 >Vicki Stearns [MSFT]
 >Microsoft IIS
 >vickis@online.microsoft.com
 >
 >Please do not send email directly to this alias. This=20
 >is our online account name for newsgroup participation=20
only.
 >
 >This posting is provided "AS IS" with no warranties, and=20
confers no rights.=20
 > You assume all risk for your use. =A9 2001 Microsoft=20
Corporation. All rights=20
 >reserved.
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Invalid characters 
Back to top
Login to vote
adltorre1

External


Since: Oct 29, 2003
Posts: 2



(Msg. 4) Posted: Wed Oct 29, 2003 8:24 am
Post subject: RE: Invalid characters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Vicky,
i forgot this: the truncated letter issue occurs on all of=20
my servers.

 >-----Original Message-----
 >Hi Vicky,
 >the mapping for the .htr extension is correct=20
 >(C:\WINNT\System32\inetsrv\asp.dll).
 >
 >Related to my original posting, i want to clarify that=20
all=20
 >my servers are up to date (SP4 + all current security=20
 >fixes)
 >
 >Another thing that i've noted, is that if i disable=20
 >the "annonymous access" option from Directory Security=20
 >options the following occurs:
 >
 >1) integrated authentication enabled only:
 >domainname\username is displayed with the first letter=20
 >truncated.
 >
 >2) basic authentication enabled only or both enabled:
 >username is displayed with the first letter truncated.
 >
 >thanks for your support.
 >Alvaro
 >adltorre@sadesa.com
 > =20
  >>-----Original Message-----
  >>Hi Alvaro,
  >>
  >>Researching your problem I've found the following=20
 >regarding the SP4 version=20
  >>of the ACHG.HTR file:=20
  >>
  >>The SP4 version of ACHG.HTR contains this function:
  >>
  >> function IsInvalidUsername(username)
   >> dim re
   >> set re =3D new RegExp
   >> ' list of invalid characters in a user name.
   >> re.Pattern =3D "[/\\""\[\]:<>\+=3D;,@]"
   >> IsInvalidUsername =3D re.Test(username)
  >> end function
  >>
  >>If any of these characters in the re.Pattern line exists=20
 >then the user name=20
  >>will fail.=20
  >>
  >>From your original posting I understand the following:=20
  >>
  >>You have recreated the iisadmpwd VirDir following the=20
 >steps in Q269082
  >>You replaced all the htr files from a server that has=20
not=20
 >been updated and=20
  >>is currently functioning
  >>You ran the ISM2ASP tool that updates the .htr script=20
 >mapping to ASP.dll;=20
  >>I'm assuming per the steps in Q331834
  >>
  >>None of these three steps were successful, is this=20
 >correct?=20
  >>
  >>One thing I'd like to confirm is the current script=20
 >mapping for the .htr=20
  >>extension. Please go to the Internet Service Manager=20
 >console, right-click=20
  >>on the Server node, click the Edit button across from=20
WWW=20
 >Services field=20
  >>and select the Home Directory Tab. From Home Directory=20
 >click the=20
  >>Configuration button. Scroll down to the .htr entry,=20
 >doubleclick and verify=20
  >>the mapping which should be to "C:\WINNT\system32
 >\inetsrv\asp.dll"=20
  >>
  >>If this is the mapping is as expected, another=20
 >possibility is that for some=20
  >>reason it didn't propogate to all the websites. This can=20
 >be easily fixed by=20
  >>making a change to the path (i.e. changing asp.dll to=20
 >asp.dlx) and=20
  >>attempting to commit the change. Because the path is=20
 >invalid it will fail.=20
  >>Change the path back to the original entry and commit.=20
 >You will be prompted=20
  >>to propogate to the child nodes (all existing configured=20
 >website); Click=20
  >>the Select All button or select only those websites to=20
 >which this change=20
  >>should be applied.
  >>
  >>Let me know if this works. If not, I'll need to do some=20
 >more research. I'll=20
  >>check for a posting from you daily and if nothing is=20
 >returned by close of=20
  >>business Friday 10/31, I'll assume that all is OK and=20
the=20
 >post can be=20
  >>closed as resolved. =20
  >>
  >>Thank you,
  >>
  >>Vicki Stearns [MSFT]
  >>Microsoft IIS
  >>vickis@online.microsoft.com
  >>
  >>Please do not send email directly to this alias. This=20
  >>is our online account name for newsgroup participation=20
 >only.
  >>
  >>This posting is provided "AS IS" with no warranties, and=20
 >confers no rights.=20
  >> You assume all risk for your use. =A9 2001 Microsoft=20
 >Corporation. All rights=20
  >>reserved.
  >>
  >>.
  >>
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Invalid characters 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (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 ]