Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 310654 - Last Review: February 22, 2007 - Revision: 4.6
IIS Lock Down Tool may break RDA or Replication that uses Anonymous authentication
This article was previously published under Q310654
If you
install the Microsoft Internet Information Server (IIS) Lock Down Tool with all
the default options, it may break a working Microsoft SQL Server 2000 Windows
CE (SQL Server CE) or Microsoft SQL Server 2005 Compact Edition Remote Data Access (RDA) or Replication application that
uses Anonymous authentication.
The default Setup of the IIS Lock Down Tool sets the
following option:
"Set file permissions to prevent anonymous IIS users from writing to content directories."
SQL Server CE or SQL Server Compact Edition Replication and RDA rely on three
modes of IIS authentication:
- Anonymous authentication
- HTTP Basic authentication
- Integrated Windows authentication
SQL Server CE RDA and replication components communicate by
using Web protocols. The SQL Server CE Client Agent on the Windows CE device
uses HTTP to communicate with the SQL Server CE Server Agent ISAPI DLL on the
Web server.
Steps to reproduce the problem
To reproduce the problem, use these steps:
- Set up the SQL Server CE Northwind_RDA sample as described
in SQL Server CE 2000 Books Online.
- Run the setup for the IIS Lock Down tool.
- Click to select SERVER TEMPLATE (click Other Server).
- Click to select WEB SERVICE (HTTP).
- Select Scripts maps (disable all support).
- Click to select Additional Security (default).
- Clear this option:
"Set file permissions to prevent anonymous IIS users from writing to content directories."
- Click to select Install URL scan filter.
- Run the SQL Server CE Northwind_RDA application and note
that it still works ok.
- Run the IIS Lock Down setup again to undo the previous
installation. Run the setup to keep the default option:
"Set file permissions to prevent anonymous IIS users from writing to content directories."
The SQL Server CE Northwind_RDA application fails
with a 80070005 error message.
IIS Lock Down Tool Books Online
APPLIES TO
- Microsoft SQL Server 2000 Windows CE Edition 2.0
- Microsoft SQL Server 2000 Windows CE Edition
- Microsoft SQL Server 2000 Windows CE Edition 1.1
- Microsoft SQL Server 2005 Compact Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please