Mega Search
23.2 Million


Sign Up

Make a donation  
rs.exe utility : Could not connect to server...  
News Group: microsoft.public.sqlserver.reportingsvcs

I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports 
and I get this error:
Could not connect to server: 
http://myserver.com/reportserver/ReportService.asmx

When I access http://myserver.com/reportserver/ReportService.asmx with IE6, 
I get an XML file displayed on the browser (I presume the content of 
ReportService.asmx).

I type following command on cmd :
rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s 
http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"

Any advice to make it work ?
Thanks

Macfly

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 7-Dec-2005, at 6:56 AM EST
From: =?Utf-8?B?TWFjRmx5?=
 
RE: rs.exe utility : Could not connect to server...  
News Group: microsoft.public.sqlserver.reportingsvcs
I am also getting same error but this used to work with the CTP version. 

My error says
"Could not connect to server: 
http://myserver.com/reportserver/ReportService2005.asmx".

Please let me know, if this problem is resolved.
Thanks,


"MacFly" wrote:

> I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports 
> and I get this error:
> Could not connect to server: 
> http://myserver.com/reportserver/ReportService.asmx
> 
> When I access http://myserver.com/reportserver/ReportService.asmx with IE6, 
> I get an XML file displayed on the browser (I presume the content of 
> ReportService.asmx).
> 
> I type following command on cmd :
> rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s 
> http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> 
> Any advice to make it work ?
> Thanks
> 
> Macfly

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 27-Feb-2006, at 2:44 PM EST
From: =?Utf-8?B?SkRT?=
 
RE: rs.exe utility : Could not connect to server...  
News Group: microsoft.public.sqlserver.reportingsvcs
No sorry, I'm still looking for a solution...


"JDS" wrote:

> I am also getting same error but this used to work with the CTP version. 
> 
> My error says
> "Could not connect to server: 
> http://myserver.com/reportserver/ReportService2005.asmx".
> 
> Please let me know, if this problem is resolved.
> Thanks,
> 
> 
> "MacFly" wrote:
> 
> > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports 
> > and I get this error:
> > Could not connect to server: 
> > http://myserver.com/reportserver/ReportService.asmx
> > 
> > When I access http://myserver.com/reportserver/ReportService.asmx with IE6, 
> > I get an XML file displayed on the browser (I presume the content of 
> > ReportService.asmx).
> > 
> > I type following command on cmd :
> > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s 
> > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> > 
> > Any advice to make it work ?
> > Thanks
> > 
> > Macfly

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Feb-2006, at 12:49 AM EST
From: =?Utf-8?B?TWFjRmx5?=
 
RE: rs.exe utility : Could not connect to server...  
News Group: microsoft.public.sqlserver.reportingsvcs
I found the culprit, it was our McAfee virus scan which was blocking the 
rs.exe to connect. When I switched the rule off then the rs is working like a 
champ.

Use>>  rs -s  -i  -t
 -T is the switch to trace. This would give more info on why it is not 
connecting. 

Check with the Firewall and Virus scan whether the rs.exe is been blocked.

Hope this helps!.

"MacFly" wrote:

> No sorry, I'm still looking for a solution...
> 
> 
> "JDS" wrote:
> 
> > I am also getting same error but this used to work with the CTP version. 
> > 
> > My error says
> > "Could not connect to server: 
> > http://myserver.com/reportserver/ReportService2005.asmx".
> > 
> > Please let me know, if this problem is resolved.
> > Thanks,
> > 
> > 
> > "MacFly" wrote:
> > 
> > > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports 
> > > and I get this error:
> > > Could not connect to server: 
> > > http://myserver.com/reportserver/ReportService.asmx
> > > 
> > > When I access http://myserver.com/reportserver/ReportService.asmx with IE6, 
> > > I get an XML file displayed on the browser (I presume the content of 
> > > ReportService.asmx).
> > > 
> > > I type following command on cmd :
> > > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s 
> > > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> > > 
> > > Any advice to make it work ?
> > > Thanks
> > > 
> > > Macfly

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Feb-2006, at 7:46 AM EST
From: =?Utf-8?B?SkRT?=
 
RE: rs.exe utility : Could not connect to server...  
News Group: microsoft.public.sqlserver.reportingsvcs
Thanks a lot for this advice, I will try it as soon as possible !

Macfly


"JDS" wrote:

> I found the culprit, it was our McAfee virus scan which was blocking the 
> rs.exe to connect. When I switched the rule off then the rs is working like a 
> champ.
> 
> Use>>  rs -s  -i  -t
>  -T is the switch to trace. This would give more info on why it is not 
> connecting. 
> 
> Check with the Firewall and Virus scan whether the rs.exe is been blocked.
> 
> Hope this helps!.
> 
> "MacFly" wrote:
> 
> > No sorry, I'm still looking for a solution...
> > 
> > 
> > "JDS" wrote:
> > 
> > > I am also getting same error but this used to work with the CTP version. 
> > > 
> > > My error says
> > > "Could not connect to server: 
> > > http://myserver.com/reportserver/ReportService2005.asmx".
> > > 
> > > Please let me know, if this problem is resolved.
> > > Thanks,
> > > 
> > > 
> > > "MacFly" wrote:
> > > 
> > > > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports 
> > > > and I get this error:
> > > > Could not connect to server: 
> > > > http://myserver.com/reportserver/ReportService.asmx
> > > > 
> > > > When I access http://myserver.com/reportserver/ReportService.asmx with IE6, 
> > > > I get an XML file displayed on the browser (I presume the content of 
> > > > ReportService.asmx).
> > > > 
> > > > I type following command on cmd :
> > > > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s 
> > > > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> > > > 
> > > > Any advice to make it work ?
> > > > Thanks
> > > > 
> > > > Macfly

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 28-Feb-2006, at 7:50 AM EST
From: =?Utf-8?B?TWFjRmx5?=