469,331 Members | 6,494 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

RDLC Object datasource can't get System.Web through webform reportviewer

I am running an RDLC with a object datasource. In the object I try to
access System.Web.Httphandler to get the session, but it is nothing.

The reportviewer running my rdlc from a webform, and it seems as though
there is a setting or something to enable the object datasource access
to the session but I cannot figure it out.

Can someone help?

Nov 21 '05 #1
7 3655

Currently I get this error when it tries to access
System.Web.Httphandler.Current

Microsoft.Reporting.WebForms.AspNetSessionExpiredE xception

Nov 23 '05 #2
lotta typos today, I am accessing:
System.Web.HttpContext.Current.Session("PhysicalWe bPath")
and Current is Nothing

Nov 23 '05 #3
This is not too surprising. The web control uses web services. I am not sure
it has a physical web path. What are you trying to determine?
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

"Greg" <gf*****@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
lotta typos today, I am accessing:
System.Web.HttpContext.Current.Session("PhysicalWe bPath")
and Current is Nothing

Nov 23 '05 #4
Just trying to grab a session value, so if its a web service that the
web control uses, is there an EnableSession true setting I cause use in
my object datasource like I do in a standard webservice to share the
session?

Nov 23 '05 #5
Sorry, can't help you there. I have been using the winform control.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

"Greg" <gf*****@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Just trying to grab a session value, so if its a web service that the
web control uses, is there an EnableSession true setting I cause use in
my object datasource like I do in a standard webservice to share the
session?

Nov 23 '05 #6
On a side note, can I see these webservices? Like does it create a
asmx file or something I can connect to in IE for the object
datasources the reportviewer communicates with?

Nov 23 '05 #7
The webservices are documented and you can use them yourself. Prior to 2005
people would (and still can) roll there own, not using the control. The
previous control (really a sample) used URL integration and so had some
difficulties.

In Books Online look for web services and you will see lots of
documentation.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

"Greg" <gf*****@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
On a side note, can I see these webservices? Like does it create a
asmx file or something I can connect to in IE for the object
datasources the reportviewer communicates with?

Nov 23 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Altman | last post: by
18 posts views Thread by =?Utf-8?B?SGVyYg==?= | last post: by
reply views Thread by =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.