473,785 Members | 2,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6172

"Simone" <oi****@hotmail .comwrote in message
news:11******** **************@ y5g2000hsa.goog legroups.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.c omwrote:
"Simone" <oim...@hotmail .comwrote in message

news:11******** **************@ y5g2000hsa.goog legroups.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
3353
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. But when i print the same report from the application developed in VB.Net the report is printed in potrait. I need to change the default setting to landscape everytime i Print the report. Do i need to pass orientation for each report in front...
0
1173
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 VS.NET and came to the conclusion it's no longer available (If so, that's a big step backward IMHO). Anyway, so be it if it is. But I was talking to some guy in the bookstore the other day and he said he does it all the time. I wasn't sure if...
1
1578
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 Crystal reports for Visual studio .NE
3
6917
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
5025
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. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
0
1128
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 design. Can anybody help me to do that in Visual Studio 2005? Thank you. AB
0
1097
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 when I preview the report in VS2005, instead of showing my test data, it shows some other information such as color names and etc. Does anyone have an idea why it is so? Thanks in advance.
1
1275
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 manually, but how to hide it and what is the use of it?
3
3827
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 dataset and link it to a reportviewer than any Crystal Report book will do. I use vb.net but im assuming most books would show you vb and c
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9952
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3654
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.