Displaying 6 results from an estimated 6 matches for "comexception".
Did you mean:
armexception
2010 May 07
4
Use of R in C#
...de:
STATCONNECTORCLNTLib;
StatConnectorCommonLib;
STATCONNECTORSRVLib;
In my code I have:
StatConnector scs = new STATCONNECTORSRVLib.StatConnectorClass();
scs.Init("R");
The init step returns the below error which seems to indicate a connection failure.
System.Runtime.InteropServices.COMException was unhandled
Message="Exception from HRESULT: 0x80040013"
Source="Interop.STATCONNECTORSRVLib"
ErrorCode=-2147221485
Any ideas?
Jeff Abrams
Research Engineer
Auction Analytics, Microsoft
[[alternative HTML version deleted]]
2005 Feb 02
0
How to run R-script from remote VB program
...nk = New StatConnector
RLink.Init("R")
dim str
str = "source(" + """" + "c:\a.R" + """" + ")"
RLink.EvaluateNoReturn(str)
I got an error message :
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred
in MY_VB.exe
Additional information: Object is static; operation
not allowed
"a.R" has codes to load RODBC package and collecting
and running query result to the Oracle DB.
How can I run the R-code script remotely from VB
program ?
I appreciate your help.
Regards,
Tae S...
2005 Feb 03
0
call RODBC function from DCOM
...-------------------
library(RODBC);
con = odbcConnect("dsn", uid = "...", pwd="s...");
tlist = sqlQuery(con, "select tname from cols");
------------------Error message --------------------
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred
in MY_VB.exe
Additional information: Object is static; operation
not allowed
----------------------------------------------------
I need to do more to correctly set up DCOM server for
ODBC ?
Thanks and regards,
Eliot.
2009 Jan 06
0
hi i have a problem with implementing R-Project in C#
Hi,
This is Kiran
I tried to work on r-project through C#.Net
While calling the r-project I got an error that
*System.Runtime.InteropServices.COMException(0x80040013):Exception from
HRESULT:0x80040013 at STATCONNECTORSRVLib.StatConnectorClass.Init(String
bstrConnectorName) at IAG.RD.RcomWrapper.Rcom..ctor() at
demo.DemoForm.RcomExecute()*
Can any one suggest how can I salve this problem
Thanks & regards;
Kiran.
[[alternative HTML versi...
2009 Mar 25
0
R Query
I am using R in C#. I installed R 2.8.1 and R-(D)Com R scilab
DCOM3.0-1B5.exe. I got an error when i run the web application at the line
where R is initilized as
"System.Runtime.InteropServices.COMException was unhandled by user code
Message="Exception from HRESULT: 0x80040013"
Source="Interop.STATCONNECTORSRVLib"
ErrorCode=-2147221485
StackTrace:
at STATCONNECTORSRVLib.StatConnectorClass.Init(String
bstrConnectorName)
at _Default.Page_Load(Object sender, Even...
2012 Apr 18
0
Loudlink Explorer 3.0.0
...e
err:ole:CoUninitialize Mismatched CoUninitialize
Unhandled Exception: System.InvalidOperationException: An error occurred
creating the form. See Exception.InnerException for details. The error
is: Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG) --->
System.Runtime.InteropServices.COMException (0x80040154): Exception from
HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid&
clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms....