473,405 Members | 2,261 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,405 software developers and data experts.

Microsoft Reporting

Hello NG,

i want to use the ReportViewer Component to display Reports with ASP.NET
2.0.
Loacally all works perfect, but when I copy the code to the server I get the
errormessage Request failed.

An empty Datatable is positioned in the Reports Subdirectory
The Testreport.rdlc File is in the same location.

This is the code i use

If Not Page.IsPostBack Then

Try

ReportViewer1.ProcessingMode = ProcessingMode.Local
Dim rep As LocalReport = ReportViewer1.LocalReport

rep.ReportPath = Server.MapPath(".\Reports\Testreport.rdlc")

Dim ds As DataSet = getMietobjekteData()

Dim dsMietobjekte As New ReportDataSource()
dsMietobjekte.Name = "Mietobjekte_tblMietobjekte"
dsMietobjekte.Value = ds.Tables(0)

rep.DataSources.Add(dsMietobjekte)

Catch ex As Exception

Response.Write(ex.Message & ex.StackTrace.ToString)

End Try

End If

Any ideas?
Thanks in advance for your help.

Stefan


Mar 26 '07 #1
1 1552
I found a better errormessage

Request failed.One or more data sources is missing credentials

No Idea how this can happen ...

Stefan
"Stefan Mähr" <st**********@schweighofer.comschrieb im Newsbeitrag
news:et**************@TK2MSFTNGP04.phx.gbl...
Hello NG,

i want to use the ReportViewer Component to display Reports with ASP.NET
2.0.
Loacally all works perfect, but when I copy the code to the server I get
the errormessage Request failed.

An empty Datatable is positioned in the Reports Subdirectory
The Testreport.rdlc File is in the same location.

This is the code i use

If Not Page.IsPostBack Then

Try

ReportViewer1.ProcessingMode = ProcessingMode.Local
Dim rep As LocalReport = ReportViewer1.LocalReport

rep.ReportPath = Server.MapPath(".\Reports\Testreport.rdlc")

Dim ds As DataSet = getMietobjekteData()

Dim dsMietobjekte As New ReportDataSource()
dsMietobjekte.Name = "Mietobjekte_tblMietobjekte"
dsMietobjekte.Value = ds.Tables(0)

rep.DataSources.Add(dsMietobjekte)

Catch ex As Exception

Response.Write(ex.Message & ex.StackTrace.ToString)

End Try

End If

Any ideas?
Thanks in advance for your help.

Stefan


Mar 26 '07 #2

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

Similar topics

1
by: lak | last post by:
Hi, I am evaluating Microsoft Reporting Services against Business Objects as a reporting tool against SQL Server. I am primarily a BOBJ developer and am finding RS not easy to use. Can anyone...
0
by: rattanan | last post by:
Dear All, I am pursing a Master's degree from Monash University. Currently, I am in the final stage of my program. I am doing a research project examining the impact of Microsoft's Reporting...
0
by: rattanan | last post by:
Subject: A Student Needs Your Help with Research Dear All, I am pursing a Master’s degree from Monash University. Currently, I am in the final stage of my program. I am doing a research...
3
by: Mohammad S Khan | last post by:
I am currently doing some research on reporting features provided / compatible with dotnet features. Our current application has excel reprots that are emailed both with an without scheduling...
1
by: Brian Barnes | last post by:
I've been searching using google trying to find a way to display Access Reports via ASP.NET and only finding commericial products which appear to require that the report needs to be converted every...
3
by: Paul Say | last post by:
I have a asp.net application that will need to create a document/report from data in a database. The user will fill out a form supplying various criteria for parameters. I would like the...
0
by: Billy Cormic | last post by:
Hello, I just installed Reporting Services. It seems to be a pretty cool and usefull tool. I would like to use it for an upcomming project but I need Reporting Services to be able to...
0
by: YellowFin Announcements | last post by:
Whitepaper: "Yellowfin Reporting" enables Embedded Business Intelligence -------------------------------------------------------------------------------- Embedded reports are a standard...
0
by: =?Utf-8?B?TmVkaW0=?= | last post by:
I have a asp.net application that uses Microsoft Local Reporting. The application was recently migrated to 64bit Windows Server and apparently the DLLs that are needed for that reporting no longer...
0
by: JTP PR | last post by:
Business Intelligence software company, Yellowfin today announced its successful foray into the Asia Pacific telecommunications sector through its expanding partner network. Two organisations,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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...
0
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...
0
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...

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.