I'm using swfupload v2.1.0 with swfupload_f9.swf in an ASP.NET 2.0 application for IE7. Things have been working great! However, today I was looking at my website in IIS and noticed I was allowing anonymous access. The final release to my client cannot have anonymous access to the site. So, I unchecked this property. Now, I am hammered by a windows authentication dialog box for every file I attempt to upload.

From what I've read in the forums there are non-IE browser issues, however I'm running IE7. So, I added the browser cookie workaround to my Global.asax file. Still I am prompted.

Can someone please tell me what is going on and how to get around this??

Here is a look at the javascript in my user control... adapted from the ASP.NET sample:

*** Within page script tags ***

var swfuDbfFile;
// Because this user control overrides the window.onload event and multiple user controls need to initialize
// on this event we have changed the signature to initialize.... This MUST be called from the parent page
// in window.onload event.
//window.onload = function() {
//
var initializeDbfFileUpload = function () {
swfuDbfFile = new SWFUpload({
// Backend Settings
upload_url: "DbfFileUploadHandler.axd", // Relative to the SWF file.
post_params : {
"ASPSESSID" : "<%=Session.SessionID %>"
},
// File Upload Settings
file_size_limit : "2048", // 2MB
file_types : "*.dbf",
file_types_description : "DBF files",
file_upload_limit : "0", // Zero means unlimited

// Event Handler Settings - these functions are defined in SWFUploadHandlers.js
// The handlers are not part of SWFUpload but are part of my website and control how
// my website reacts to the SWFUpload events. Obtained from their ASP.NET sample.
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,

// Flash Settings
flash_url : "swf/swfupload_f9.swf", // Relative to this file
custom_settings : {
upload_target : "divDbfFileUploadFileProgressContainer",
toolName : "DbfFileUploadControl"
},
// Debug Settings
debug: true
});
}