I am trying to interface R with C# web application.I tried many solutions being provided but couldn't get it through. Error I am getting is: Exception from HRESULT: 0x80040013

Steps I followed were:
======================

1. Installing R 2.15.1 for windows xp (32 bit)
2. Installed R\_Scilab\_DCOM3.0-1B5
3. Loaded rscproxy\_1.3-1 package in the R/R.15.1/library
4. Set the System Variable path to C:/Program Files/R/R.15.1/bin
5. Added 3 COM references-STATCONNECTORCLNTLib,StatConnectorCommonLib,STATCONNECTORSRVLib
Code:

private StatConnectorClass \_statconnector = new STATCONNECTORSRVLib.StatConnectorClass();
\_statconnector.Init("R");--> Line shows the **Exception from HRESULT: 0x80040013**