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 [[alternative HTML version deleted]]
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 [[alternative HTML version deleted]]
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:> 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-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595