Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > a crystall Rep. Problem

Reply
Thread Tools

a crystall Rep. Problem

 
 
Volkan Karaboša
Guest
Posts: n/a
 
      12-08-2003
Hi all...

I have e problem with crystal rep when calling it in .net.
I wrote code below in my aspx but an error accures telling "logon failed"
I cant find enough information msdn that showed How I can show a report with
using crysal report.
Can you help me? or Where Did I somthing wrong below?
thanks...



Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()

Dim oRpt As New ReportDocument
Dim sqlstr As String
Dim sqlr As SqlDataReader

Dim str As New CommonPol
connection_string = str.connect("AkTiFBilgi")

ds_kullanici = MyBase.KullaniciBilgi

sqlstr = " SELECT per01a.unvan_kodu, kariyerSonuc.sonuc,
per56.adi, per01a.ust_amir " + _
" FROM (glaxo.dbo.per01a per01a INNER JOIN
glaxo.dbo.kariyerSonuc kariyerSonuc ON per01a.sicil=kariyerSonuc.sicil)
INNER JOIN glaxo.dbo.per56 per56 ON per01a.unvan_kodu=per56.unvan_kodu " '+
_
'" WHERE per01a.ust_amir='01122' ORDER BY per01a.unvan_kodu"

sqlr = SqlHelper.ExecuteReader(connection_string,
CommandType.Text, sqlstr)

oRpt.Load("C:\\raporlar\\SONUC.rpt")
oRpt.SetDataSource(sqlr)
CrystalReportViewer1.ReportSource = oRpt
CrystalReportViewer1.DataBind()

End Sub


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windbg symbols loading problem for crystall decisions shan ASP .Net 0 07-13-2006 10:31 AM
Passing parameters to a crystall report. Sospeter ASP .Net 1 10-16-2004 02:21 AM
Problem problem problem :( Need Help Mike ASP General 2 05-11-2004 08:36 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57