Crystal Report Login Prompt



I have an intermittent problem, when viewing a crystal report. This problem
only happens to some users and some report formats. When they try to view
the report in Microsoft Word format the system prompts them to login (User
name and Password). If they view it in PDF format they do not get the login
prompt. I do not get the login prompt at all. This problem occurs with
users on the Internet and our Intranet. I checked the web site and the
exported (from crystal reports) is in the directory. So Crystal Reports is
accessing the data, generating the report and exporting the report to MS Word


Hi there,

It seems you are exporting physical files. Actually you don’t have to create
these physical report files, unless you need to keep these files. You can
export stream and write stream content to page:

Response.Charset = string.Empty;
Response.Buffer = true;
Response.AddHeader("content-disposition", "inline; filename=fileName");
Response.ContentType = "Application/pdf"; // "Application/msword"
// Create CrReport
MemoryStream memStream =

If you really need to do physical files, to check the security setting of
folder of generated files.


Elton Wang
(e-mail address removed)

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question