473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to preview the crystal reports in asp.net

Hello
I am new to this :)

I have created a crystal reports and tried using the Crystal Report
Viewer but when I try to preview the report it prompts me for a user
name and password.
I am using a dataset (table adapter) that is linked to a string
connection in my config file that has the user name and password saved
to my sql server.
why is it prompting the login??

I am soo confused. I thought all I had to do is create the crystal
report then use the crystal report viewer to view the report and that
is it?

Your help is greatly appreciated.
Thanks

May 11 '07 #1
2 6141

"Simone" <oi****@hotmail.comwrote in message
news:11**********************@y5g2000hsa.googlegro ups.com...
Hello
I am new to this :)

I have created a crystal reports and tried using the Crystal Report
Viewer but when I try to preview the report it prompts me for a user
name and password.
I am using a dataset (table adapter) that is linked to a string
connection in my config file that has the user name and password saved
to my sql server.
why is it prompting the login??

I am soo confused. I thought all I had to do is create the crystal
report then use the crystal report viewer to view the report and that
is it?
Don't hold me to it, but I think it has to do with the SQL Server
Authentication mode you have SQL Server set to.

http://msdn2.microsoft.com/en-us/lib...9(SQL.80).aspx

Windows NT Authentication means it will take your user-id and psw that you
logged into the computer with, which I think you would have had to setup the
user account with SQL Server's User Administration.

If SQL Server Authentication is being used, then a user-id and psw must be
setup in Sql Server's UI administration screens.

If Mixed Mode Authentication is being used, then SQL Server will use Windows
Authentication or SQL Server Authentication.

I think you have a SQL Server Authentication issue that is presented when
Crystal Report tries to access the database.

May 11 '07 #2
On May 11, 5:40 pm, "Mr. Arnold" <MR. Arn...@Arnold.comwrote:
"Simone" <oim...@hotmail.comwrote in message

news:11**********************@y5g2000hsa.googlegro ups.com...
Hello
I am new to this :)
I have created a crystal reports and tried using the Crystal Report
Viewer but when I try to preview the report it prompts me for a user
name and password.
I am using a dataset (table adapter) that is linked to a string
connection in my config file that has the user name and password saved
to my sql server.
why is it prompting the login??
I am soo confused. I thought all I had to do is create the crystal
report then use the crystal report viewer to view the report and that
is it?

Don't hold me to it, but I think it has to do with the SQL Server
Authentication mode you have SQL Server set to.

http://msdn2.microsoft.com/en-us/lib...9(SQL.80).aspx

Windows NT Authentication means it will take your user-id and psw that you
logged into the computer with, which I think you would have had to setup the
user account with SQL Server's User Administration.

If SQL Server Authentication is being used, then a user-id and psw must be
setup in Sql Server's UI administration screens.

If Mixed Mode Authentication is being used, then SQL Server will use Windows
Authentication or SQL Server Authentication.

I think you have a SQL Server Authentication issue that is presented when
Crystal Report tries to access the database.
I am using windows authentication in my table adapter. when I run the
query it doesn't ask for user id or pass. However the crystal reports
doesn't see that the password and user id are part windows
authentication. I am wondering if this is something that has to be
done with crystal reports itself.

Thanks.

May 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Devesh Aggarwal | last post by:
I developed reports in Crytsal Reports 9.0 in landscape mode. When i print the same from crystal reports it prints perfectly in Landscape even if the printer setting is set to potrait by default. ...
0
by: William Ryan | last post by:
Back in the old days (pre-.NET) when Crystal wasn't bundled in VS, you'd develop a report in the Crystal IDE and you could flip back and forth between design and preview mode. I played with it in...
1
by: V.Boomessh | last post by:
Hai All I am developing a VB application in .NET Version Info as seen in Help --> About of Visual Studio.NE Microsoft Dev. Env 2003 V 7.1.308 Microsoft .NET framework 1.1 (V 1.1.4322...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
0
by: AB | last post by:
Hi, I am a Crystal Reports user shifted to visual studio for creating crystal reports. In Crystal reports we can check the view options in the layout tab in order to see guidelines in the...
0
by: shahoo | last post by:
Hi, I am new to Crystal Reports.NET. I am creating some reports (rpt files) for a project and I have set the design time datasource to an XML file which contains some test information too. Now...
1
by: muddasirmunir | last post by:
I am using Crystal Reports 10. While viewing report at runtime there is a preview control at the top and it takes about 1 inch of the screen, showing nothing but white space. We can reduce its size...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.