The remote name could not be resolved: 'server' in asp.net

Posted by Cpatil1000 under ASP.NET on 4/4/2015 | Points: 10 | Views : 1515 | Status : [Member] | Replies : 1
Hi,
I am trying to call a ssrs report on asp.net. but is getting errror here..

try
{
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://server/ReportServer");
ReportViewer1.ServerReport.ReportPath = "~/ReportProject1/CategoryReport.rdl";

DataSourceCredentials dsCrendtials = new DataSourceCredentials();
dsCrendtials.Name = "DataSource1";
dsCrendtials.UserId = "";
dsCrendtials.Password = "";
ReportViewer1.ServerReport.SetDataSourceCredentials(new DataSourceCredentials[] { dsCrendtials });

ReportViewer1.ServerReport.Refresh();
}
catch (Exception ex)
{
throw ex;
}




Responses

Posted by: Jitendrasoft09 on: 4/5/2015 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi,

It could be the issue of proxy server, I would suggest you to refer below link-
http://stackoverflow.com/questions/18077946/asp-net-exception-the-remote-name-could-not-be-resolved-apiconnector-com

Jitendra Kumar
If my post helps you, plz mark as an answer.

Cpatil1000, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response