Member Avatar for Member 164344

Dear all,
how to dynamically build an XML document with IIS6 and 404 error custom handler?
At the moment if I dinamically create an XML page with Response.Write(<xml code here>) I cannot remove header "404 errorpagepath" that IIS adds automatically. How to remove that header from Response object?
Thank you
Rob

Rob,
are you using something similar to the following before you start building the XML body?

Response.ContentType = "text/xml; charset=utf-8"

Can you provide us with a snippet of your code?

Kim

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.