Hi All,
There is anyone that have a sample code (working) that show how to use the
LogonUser API?
Thank youdarkeagle wrote:
> There is anyone that have a sample code (working) that show how to
> use the LogonUser API?
Via SOAP?
regards
Frank|||Hi,
Thank you,
Consider this example:
// instantiate a new Web service proxy
RSClient rs = new RSClient();
// Pass credentials from the user
NetworkCredential creds = rs.GetCredentials();
rs.LogonUser(creds.UserName, creds.Password, null);
RSClient is a webservice instance pointing to a reporting services
enterprise edition server.
When i call rs.LogonUser I obtain: "This function is not supported from this
version of reporting services" But the enerprise edition support this API
Call!
I found a sample at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_3d7q.asp
Thank you
"Frank Matthiesen" <fm@.xax.de> ha scritto nel messaggio
news:3bv4s3F6h2087U1@.individual.net...
> darkeagle wrote:
>> There is anyone that have a sample code (working) that show how to
>> use the LogonUser API?
> Via SOAP?
> regards
> Frank
>|||Make sure you have Enterprise (or Developer) edition. Standard edition does
not support custom security extensions. Go to the <whereever you installed
RS>\LogFiles folder. Open one of the <ReportServerService__...>.log files
and look for a line like this:
ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i INFO:
Reporting Services starting SKU: Enterprise
Make sure you don't have standard. Also, notice what BOL states about
LogonUser:
LogonUser must be called over SSL. The method fails if it is not called
securely.
--
Adrian M.
MCP
"darkeagle" <darkeagle@.nospam.it> wrote in message
news:ulmDMooPFHA.2604@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Thank you,
> Consider this example:
> // instantiate a new Web service proxy
> RSClient rs = new RSClient();
> // Pass credentials from the user
> NetworkCredential creds = rs.GetCredentials();
> rs.LogonUser(creds.UserName, creds.Password, null);
> RSClient is a webservice instance pointing to a reporting services
> enterprise edition server.
> When i call rs.LogonUser I obtain: "This function is not supported from
> this version of reporting services" But the enerprise edition support this
> API Call!
> I found a sample at:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_3d7q.asp
> Thank you
> "Frank Matthiesen" <fm@.xax.de> ha scritto nel messaggio
> news:3bv4s3F6h2087U1@.individual.net...
>> darkeagle wrote:
>> There is anyone that have a sample code (working) that show how to
>> use the LogonUser API?
>> Via SOAP?
>> regards
>> Frank
>>
>|||Hi,
Thank you for your response
> ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i
> INFO: Reporting Services starting SKU: Enterprise
This is OK,
> LogonUser must be called over SSL. The method fails if it is not called
> securely.
Ah, it is. I'm not sure if I calling LogonUser over SSL... Have you a sample
code to give me?
Thank you very much.
D|||Hi,
As you can see from my next log file, the release of reporting services is
the enterprise and after the logonuser call come the generation of the
OperationNotSupportedException
This is a dump of my report server log file:
aspnet_wp!resourceutilities!bbc!4/11/2005-17:26:54:: i INFO: Reporting
Services starting SKU: Enterprise
aspnet_wp!runningjobs!bbc!4/11/2005-17:26:54:: i INFO: Database Cleanup (Web
Service) timer enabled: Cycle: 600 seconds
aspnet_wp!runningjobs!bbc!4/11/2005-17:26:54:: i INFO: Running Requests
Scavenger timer enabled: Cycle: 60 seconds
aspnet_wp!runningjobs!bbc!4/11/2005-17:26:54:: i INFO: Running Requests DB
timer enabled: Cycle: 60 seconds
aspnet_wp!runningjobs!bbc!4/11/2005-17:26:54:: i INFO: Memory stats update
timer enabled: Cycle: 60 seconds
aspnet_wp!crypto!b94!4/11/2005-17:27:54:: i INFO: Initializing crypto as
user: DINO\ASPNET
aspnet_wp!crypto!b94!4/11/2005-17:27:54:: i INFO: Exporting public key
aspnet_wp!crypto!b94!4/11/2005-17:27:54:: i INFO: Performing sku validation
aspnet_wp!crypto!b94!4/11/2005-17:27:54:: i INFO: Importing existing
encryption key
aspnet_wp!library!974!04/11/2005-17:36:10:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException:
This operation is not supported in this edition of Reporting Services, ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException:
This operation is not supported in this edition of Reporting Services
aspnet_wp!library!c60!4/11/2005-17:36:54:: i INFO: Cleaned 0 batch records,
0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running
jobs
aspnet_wp!library!974!04/11/2005-17:37:00:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException:
This operation is not supported in this edition of Reporting Services, ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedException:
This operation is not supported in this edition of Reporting Services
"Adrian M." <absolutelynospam@.nodomain_.com> ha scritto nel messaggio
news:%23Dgs0JpPFHA.2252@.TK2MSFTNGP15.phx.gbl...
> Make sure you have Enterprise (or Developer) edition. Standard edition
> does not support custom security extensions. Go to the <whereever you
> installed RS>\LogFiles folder. Open one of the
> <ReportServerService__...>.log files and look for a line like this:
> ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i
> INFO: Reporting Services starting SKU: Enterprise
> Make sure you don't have standard. Also, notice what BOL states about
> LogonUser:
> LogonUser must be called over SSL. The method fails if it is not called
> securely.
> --
> Adrian M.
> MCP
>
> "darkeagle" <darkeagle@.nospam.it> wrote in message
> news:ulmDMooPFHA.2604@.TK2MSFTNGP10.phx.gbl...
>> Hi,
>> Thank you,
>> Consider this example:
>> // instantiate a new Web service proxy
>> RSClient rs = new RSClient();
>> // Pass credentials from the user
>> NetworkCredential creds = rs.GetCredentials();
>> rs.LogonUser(creds.UserName, creds.Password, null);
>> RSClient is a webservice instance pointing to a reporting services
>> enterprise edition server.
>> When i call rs.LogonUser I obtain: "This function is not supported from
>> this version of reporting services" But the enerprise edition support
>> this API Call!
>> I found a sample at:
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_3d7q.asp
>> Thank you
>> "Frank Matthiesen" <fm@.xax.de> ha scritto nel messaggio
>> news:3bv4s3F6h2087U1@.individual.net...
>> darkeagle wrote:
>> There is anyone that have a sample code (working) that show how to
>> use the LogonUser API?
>> Via SOAP?
>> regards
>> Frank
>>
>>
>|||The code stays the same. This just requires a certificate be installed on
the Reporting Services server.
You will have to modify the SecureConnectionLevel setting in the
RSReportServicer.config file. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_prog_soapapi_dev_2xiq.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sslsetup.asp
to get you started.
--
Adrian M.
MCP
"darkeagle" <darkeagle@.nospam.it> wrote in message
news:uRXvx7pPFHA.3076@.tk2msftngp13.phx.gbl...
> Hi,
> Thank you for your response
>> ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i
>> INFO: Reporting Services starting SKU: Enterprise
> This is OK,
>> LogonUser must be called over SSL. The method fails if it is not called
>> securely.
> Ah, it is. I'm not sure if I calling LogonUser over SSL... Have you a
> sample code to give me?
> Thank you very much.
> D
>|||Hi,
Thank you for your response.
I already had SecureConnectionLevel =0 in my config file and I tryed to call
LogonUser over a non SSL connection.
In fact, if you read my last post, the error returned from rs is a
OperationNotSupportedException!!!
You know why this error? I have installed the enterprise edition...!
"Adrian M." <absolutelynospam@.nodomain_.com> ha scritto nel messaggio
news:%23OkYi91PFHA.2972@.TK2MSFTNGP14.phx.gbl...
> The code stays the same. This just requires a certificate be installed on
> the Reporting Services server.
> You will have to modify the SecureConnectionLevel setting in the
> RSReportServicer.config file. See:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_prog_soapapi_dev_2xiq.asp
> and
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sslsetup.asp
> to get you started.
> --
> Adrian M.
> MCP
>
> "darkeagle" <darkeagle@.nospam.it> wrote in message
> news:uRXvx7pPFHA.3076@.tk2msftngp13.phx.gbl...
>> Hi,
>> Thank you for your response
>> ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i
>> INFO: Reporting Services starting SKU: Enterprise
>> This is OK,
>> LogonUser must be called over SSL. The method fails if it is not called
>> securely.
>> Ah, it is. I'm not sure if I calling LogonUser over SSL... Have you a
>> sample code to give me?
>> Thank you very much.
>> D
>|||No. I don't know why you are getting that error. Sounds like a bad
install. My suggestion is to un-install and re-install. The Enterprise
edition does support security extensions (I know, I've used it).
--
Adrian M.
MCP
"darkeagle" <darkeagle@.nospam.it> wrote in message
news:OP3MlE4PFHA.1932@.tk2msftngp13.phx.gbl...
> Hi,
> Thank you for your response.
> I already had SecureConnectionLevel =0 in my config file and I tryed to
> call LogonUser over a non SSL connection.
> In fact, if you read my last post, the error returned from rs is a
> OperationNotSupportedException!!!
> You know why this error? I have installed the enterprise edition...!
>
> "Adrian M." <absolutelynospam@.nodomain_.com> ha scritto nel messaggio
> news:%23OkYi91PFHA.2972@.TK2MSFTNGP14.phx.gbl...
>> The code stays the same. This just requires a certificate be installed
>> on the Reporting Services server.
>> You will have to modify the SecureConnectionLevel setting in the
>> RSReportServicer.config file. See:
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_prog_soapapi_dev_2xiq.asp
>> and
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/sslsetup.asp
>> to get you started.
>> --
>> Adrian M.
>> MCP
>>
>> "darkeagle" <darkeagle@.nospam.it> wrote in message
>> news:uRXvx7pPFHA.3076@.tk2msftngp13.phx.gbl...
>> Hi,
>> Thank you for your response
>> ReportingServicesService!resourceutilities!c50!4/11/2005-02:54:42:: i
>> INFO: Reporting Services starting SKU: Enterprise
>> This is OK,
>> LogonUser must be called over SSL. The method fails if it is not called
>> securely.
>> Ah, it is. I'm not sure if I calling LogonUser over SSL... Have you a
>> sample code to give me?
>> Thank you very much.
>> D
>>
>
Showing posts with label sample. Show all posts
Showing posts with label sample. Show all posts
Wednesday, March 21, 2012
Monday, March 12, 2012
logoff method not working
I am using RS form authentication(from RS sample), after calling Logoff
method, the other RS methods are still working! it seems Logoff method will
not invalid the client cookie! I've tried this on SSL site, not working
either! thanks guys!I know I can just set response.cookie["cookiename"].value = "" to make RS
call failing, just wondering if anyone use logoff method before and how it
works! thanks!
method, the other RS methods are still working! it seems Logoff method will
not invalid the client cookie! I've tried this on SSL site, not working
either! thanks guys!I know I can just set response.cookie["cookiename"].value = "" to make RS
call failing, just wondering if anyone use logoff method before and how it
works! thanks!
Subscribe to:
Posts (Atom)