Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 7th, 2005, 11:52 AM
Registered User
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS with Authentication causing issues....

I have a webservice that is using Digest Authentication. There is a function in the webservice that takes a string - the string is compressed XML. In the function I am decompressing the XML and doing some database manipulation.

Here's the issue:

This scenario works GREAT when the XML is is ~5MB or so uncompressed. I catch every error that could be thrown, and nothing ever occurs. However, as soon as the XML is ~24 MB uncompressed (compresses down to ~2MB), I get 401 Unauthorized Accessed errors everytime I call the webservice.

When I turn off Digest Authentication and enable 'Anonymous' access everything works great. I have tried Basic Authentication (eww) just for testing and it does the same thing as the Digest.

The first thing the webservice function does is write a text file just saying "HERE!". When the XML string is ~2MB in size and Digest is turned on, the text file is never written. As soon as I disable Digest it works everytime.

Anyone have ideas? I can set up a test bed for anyone who wants to give this a test.


Similar Threads
Thread Thread Starter Forum Replies Last Post
DOM scripting potentially causing issues with SSL davepass Javascript 1 February 17th, 2007 10:50 PM
Form Authentication Help (IIS) jim.sullivan@telus.net VS.NET 2002/2003 5 July 27th, 2004 02:35 PM
IIS Issues - Too Many People rodmcleay ASP.NET 1.0 and 1.1 Basics 1 June 14th, 2004 11:16 PM
ADSI authentication issues ianderso Classic ASP Components 2 June 4th, 2003 02:50 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.