We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

IIS Prompts for Credentials

I am being prompted for "credentials" (username / password) when using Aspose Cells to send a file via the http response stream.

Note that: I don't have to actually input the credentials (as hitting the cancel button on the credentials prompt still sends the Excel file - and it is viewable, etc).

This does not happen within Visual Studio - it only happens when I run the code on another server (our QA machine).

My browser is IE 8.0 - and the OS is Windows 7 Professional (32bit).

I suspect that there is something within IIS that is causing the issue (but don't know where to look).

We have also tried identity impersonation within the web.config - to no avail.

Here is my code:

Dim wb As Aspose.Cells.Workbook = Nothing

Dim fileName As String = Nothing

wb = generateExcelFile(newDT)

fileName = “foobar.xls”

wb.SaveOptions.AttachedFilesDirectory = “C:\temp”

wb.Save(fileName, FileFormatType.Excel97To2003, SaveType.OpenInBrowser, Me.Response)

Hi,

We also think that there is something to do with your IIS settings/ NTFS file permissions on other server. You need to sort out the things. Moreover, there is nothing to do with Aspose.Cells product, the issue is not concerned with the component. For confirmation, you may try to remove all the code segments regarding Aspose.Cells API and simply export the file by System.IO and Response APIs.

Please see the thread for your further reference:
http://forums.iis.net/t/1156665.aspx


Thank you.