Skip to content

UnauthorizedAccessException in R(D)COM

2 messages · WeiQiang.Li@seagate.com, Brian Ripley

#
Dear friends,

        I am trying to create a web application to produce some 
statistical result using R. In order to avoid high CPU usage of  web 
server caused by R, I have to create an ASP.NET web service in another 
server to involve R.

        But I am facing the unauthorizedAccessException when I call the 
web service, even I have assigned access and launch permission to everyone 
using DCOMCNFG.exe


        The sample code is shown as below, and the 
unauthorizedAccessException  exception is occurred when myR.Init("R") is 
called.
        myR = New STATCONNECTORSRVLib.StatConnector
        myR.Init("R")


        Does anyone know this solution and please advide me?  Your help is 
appreciated.


With Best Regards,
WeiQiang Li
#
This is the wrong list for R(D)COM, which is not part of R.  It has its
own support list.  Almost all readers of this list have no idea what the
MicroSoft jargon you are using means.

See the `home page'

http://cran.r-project.org/contrib/extra/dcom/RSrv135.html

for more details.
On Mon, 18 Apr 2005 WeiQiang.Li@seagate.com wrote: