- priority: 5 --> 7
I have recently converted our project from 1.1
to .NET 2.0. I have implemented a Masterpage, and are
using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN" >
I have about 500 nunit-tests on the UI-project, and
when i run them, they suddenly turns red with this
error message:
NUnit.Extensions.Asp.DoctypeDtdException : Problems
with DOCTYPE DTD: <The remote server returned an
error: (403) Forbidden.>. Your DOCTYPE is probably
incorrect. If you're not sure what the DOCTYPE
should be, use <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.0 Transitional//EN" >, Visual Studio .NET's
default.
When I try to go to the link to the doctype, I see
that they have blocked my permissions because of
abuse. It seems like we are spamming them with
requests, since we run som many tests.
Is it possible to solve this? Could the DOCTYPE-
requests be turned off when running the tests?
I can't seem to find a solution anywhere else on the
web.