We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Issue in Network Credentials for ReportServiceURL

Thread ID:

Created:

Updated:

Platform:

Replies:

119522 Jul 3,2015 11:54 AM UTC Jul 6,2015 02:47 PM UTC ASP.NET Web Forms 1
loading
Tags: ReportViewer
Ankit Shah
Asked On July 3, 2015 11:54 AM UTC

Hello,

When i am trying to pass my network credentials in the "reportOption.ReportModel.ReportServerCredential = new System.Net.NetworkCredentia("username","pwd")" it is throwing exception of 401 i.e. unauthorized user. I have compared it with the InvoiceTemplate Report as well. I was able to open the Invoice Template report but not able to open my report.

I am able to open my Report in the sql reporting server.

I am also able to open the report using the Microsoft report viewer. However, in this tool as there is addition property of setting the "ReportServiceUrl" i am facing issues with the network credential stuff. 

I have attached the error as well for your reference.

Ankit Shah

Attachment: Error_9093f98d.zip

Venkatesan Pandian [Syncfusion]
Replied On July 6, 2015 02:47 PM UTC

Hi Ankit

Thanks for your response.

When i am trying to pass my network credentials in the “reportOption.ReportModel.ReportServerCredential =new System.Net.NetworkCredentia("username","pwd")" it is throwing exception of 401 i.e. unauthorized user. I am also able to open the report using the Microsoft report viewer.
We regret to inform you that we have tested multiple scenario to reproduce the mentioned issue but we are unable to reproduce the mentioned issue. This error occurred when we specify the invalid ReportServerCredential. So we request you to ensure the provided ReportServerCredential information in your sample?.

For your convenience, we have prepared the sample based on this and it can be downloaded from the following location.
http://www.syncfusion.com/downloads/support/forum/119522/ReportViewerASP.Net-1356505273.zip

If you still face any issues on this, then could you please revert us sample along with replication procedure, it will be helpful for us to provide a solution earlier.
However, in this tool as there is addition property of setting the "ReportServiceUrl" i am facing issues with the network credential stuff.

The reported issue occurred when we specify the invalid ReportServerCredential information and this issue is not related to ReportServiceUrl. The ReportServiceUrl requires for handle the server side report related processing using WebAPI IReportController. So we need the ReportServiceUrl for invoking WebAPI actions.


Please let me know if you have any questions.

Regards,
Venkatesan P

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;