Showing posts with label credentials. Show all posts
Showing posts with label credentials. Show all posts

Wednesday, March 21, 2012

Reporting Services - Web Service Credentials

Dim objRptServ As New ReportingService
'Assign default credentials for web service access
objRptServ.Credentials = System.Net.CredentialCache.DefaultCredentials
Guys, I was hoping someone might be able to shed some light on this subject.
The above lines of code made available via an asp.net web form locked down
using windows auth and inpersonate=true set in web.config does not pass
domain user creds to report server.
I'm assuming problem relates to IIS 6.0 security model and application pool
security identity. Here is my therory.
Page works as expected on a WindowsXP development machine running IIS v5.1
and ASP.NET worker process security. When page is copied to IIS v6.0 web
server page no longer works? the only thing that has changed is the version
of IIS ? Your thoughts please? and any suggestions as to how this may be
overcome would be appreciated.
Thanks in advance for your assistance.
-BenHi Ben,
From your descriptions, I understood that it works fine with IIS 5 while
you encounter credentials issue. If I have misunderstood your concern,
please feel free to point it out.
First of all, please reconfirm the configuration of IIS 6 is the same as
IIS 5. It seems you should be using IIS 6 with Windows Server 2003? If so,
please make sure nothing was blocked.
Secondly, please package your Reporting Services log files in a zipped file
send to v-mingqc@.online.microsoft.com (please note that 'online' is only
for SPAM)
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.

Reporting Services - credentials error.

Hi everyone.

I have created a report in RS and it works fine (am invoking from VB.Net - windows forms).

However, I have copied the report into a new one as I need a very similar looking report to be called from the same application, but if I attempt to invoke it in the same way as the first I get the following error:

"An attempt was made to set credentials for a data source '<name>' associated with thre report. Report data source settings are specified in a way that prevens credentials from being submitted to the report server."

I am passing the credentials like so:

Dim cc As New DataSourceCredentials
Dim cred() As DataSourceCredentials = {cc}

cred(0).Password = "*****"
cred(0).UserName = "****"
cred(0).DataSourceName = "**DSNAME**"

Any help would be gratfully recieved, as this is driving me completely nuts.

Thanks in advance.Anyone? Someone must have come across this before.

I am slowly banging my head against a wall here ;-)

Tuesday, March 20, 2012

Reporting Services

Dear sir
When i try to subscribe the report, it gives error "Credentials used to run
this report are not stored".
thanks and regards
arvind
asharma@.techaxes.com
--
asharmahttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/rswork/htm/rms_datasources_v1_87e9.asp
Please go through the above URL. I hope this helps.
Reetesh B. Chhatpar
ShawMan Software Enterprises
www.shawmansoftware.com
Diamond is just another piece of coal that did well under pressure.
"asharma2004" <asharma@.harbingertechaxes.com> wrote in message
news:8A4C67B4-F0FD-4647-AA6D-988E5F7B5F39@.microsoft.com...
> Dear sir
> When i try to subscribe the report, it gives error "Credentials used to
run
> this report are not stored".
> thanks and regards
> arvind
> asharma@.techaxes.com
> --
> asharma|||this works for me
(where "reports" is my web reference to reporting services)
Dim Credentials As reports.DataSourceCredentials()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
rs.render.....blah blah blah
"asharma2004" wrote:
> Dear sir
> When i try to subscribe the report, it gives error "Credentials used to run
> this report are not stored".
> thanks and regards
> arvind
> asharma@.techaxes.com
> --
> asharma