I am using IIS 6.0 and have customized application wildcard mapping to
ASP.NET 2.0 aspnet_isapi.dll. I need this for Form Auth. to work with all
kind of files.

My problem is, that when using this wildcard mapping, IIS does not serve PDF
files with & in the filename any longer (e.g.
(http://mydomain/miles&more.pdf)) any longer - I am receiving "Bad request".
When removing the wildcard mapping, the accessing files with & in their name
is possible again.

Any suggestions?
Dieter

RE: Request for PDF with & in filename fails (when using wildcard mapp by v-yren

v-yren
Wed Feb 22 01:30:08 CST 2006

Hi Dieter,

Thanks for your post!

This issue is caused by the ASPNET_WP.exe process not allowing URLs with
the following characters: *, %, and &.

There is a workaround for the issue as below:
1. In Regedit, locate HKEY_LOCAL_MACHINE\Software\Microsoft\ASP.NET
2. Add a new "Dword" called "VerificationCompatibility" and give it a
value of 1
3. Run IISReset to recycle the ASPNET_WP.exe process and to pick up the
setting change

We were able to verify that making this change allowed the URLs to browse
correctly on your server.

Thanks for your understanding!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================


RE: Request for PDF with & in filename fails (when using wildcard by dpomt

dpomt
Wed Feb 22 01:40:19 CST 2006

Hello Yuan,

thanks for your reply and the workaround.

Best regards,
Dieter


RE: Request for PDF with & in filename fails (when using wildcard by v-yren

v-yren
Wed Feb 22 03:06:44 CST 2006

Hi Dieter,

You are welcome:)

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================