-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Praba
Message 2 in Discussion






You
may have to pass the authentication details like this, I think it should work
try it out �


 


 For Each Table
In oReport.<nobr>Database</nobr>.Tables
        



          'Get the TableLogOnInfo
object.

          LogonInfo = Table.LogOnInfo



          'Set the server name,
database name user ID, and password.

          LogonInfo.ConnectionInfo.ServerName
= "server_name"

          LogonInfo.ConnectionInfo.DatabaseName
= "db_name"

          LogonInfo.ConnectionInfo.UserID
= "user_id"

          LogonInfo.ConnectionInfo.Password
= "pwd"        



          'Apply the connection
information to the table.

          Table.ApplyLogOnInfo(LogonInfo)



     Next Table
         


 


Thanks,


Praba


 


-----Original Message-----

From: ViswakParthibanOK
[mailto:[EMAIL PROTECTED] 

Sent: Monday, October 27, 2003
3:50 PM

To: BDOTNET

Subject: Crystal Report in ASP.NET


 





 
  
  

  
  
  
New
  Message on BDOTNET
  
 
 
  
  

  
 





 


Crystal Report in
ASP.NET


 
  
  
Reply

  
  
  
  
   
    
    
 
    
    
    
Reply to Sender   Recommend
    
    
    
    
Message 1 in
    Discussion 
    
   
  
  

  
 
 
  
  
   
    
    
From: ViswakParthibanOK 
    
   
   
    
    
 
    
    
Hi Group,
    
    
    
 
    
    
    
My SQL Database Server is "SERVER-1".
    
    
    
User name is "sa"
    
    
    
Password is "pass".
    
    
    
 
    
    
    
I am using PULL method.
    
    
    
 
    
    
    
when create the rpt file in VS .NET application,
    it is asking for What type of connection, i gave OLE DB Sql Server as
    provider, and above information i gave in that wizard. 
    
    
    
 
    
    
    
after connecting to the database, i drag and
    droped some fields form Field Explorer to Report Design time.
    
    
    
 
    
    
    
i placed a CrystalReport Viewer in my form and Set
    the Databinding Property's Report sourse as my Report Path. then in Form
    load i Called Databind() method.
    
    
    
 
    
    
    
If i run the application it is showing "Logon
    Failed".
    
    
    
 
    
    
    
i donno how to set the password in my report.
    
    
    
 
    
    
    
but when i used UDL file in report for connection,
    the application is runnig properly.
    
    
    
 
    
    
    
Can any one tell me what is problem i am facing
    and how to get rid of it....
    
    
    
 
    
    
    
Thanx in advance,
    
    
    
 
    
    
    
Regards,
    
    
    
Viswak.
    
    
   
  
  

  
 





View other groups in this
category. 







-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to