It's access denied. https://stackoverflow.com/questions/45605656/jinterop-access-is-denied-0x00000005 On Wed, Mar 23, 2022, 15:41 Tobias Neubert tobiasneubert@users.sourceforge.net wrote: Hi and thank you for your answer. I think I managed to find the property that controlls the authentication level: rpc.ntlm.sign. This property is false by default, I changed it to true. That way, the NtlmConnection creates a Type1 message (whatever this is) with the NtlmFlags.NTLMSSP_NEGOTIATE_SIGN set and a AuithenticationVerifier...
Hi, Check the JIServer classes , I think. It's been a while since I had a look at the code , but it's there somewhere. Best regards, Vikram On Tue, Mar 22, 2022, 19:24 Tobias Neubert tobiasneubert@users.sourceforge.net wrote: Hi everybody, my opc da server logs into the Windows Event Log the following message: The server-side authentication level policy does not allow the user OPCDASRV\user SID (...) from address x.x.x.x to activate DCOM server. Please raise the activation authentication level at...
Really, it works 😀 ? My friend , it's an exception from the server. Technically we should report it and not proceed. However, if it works , it works ... Best regards, Vikram On Thu, Apr 15, 2021, 19:29 Tobias Neubert tobiasneubert@users.sourceforge.net wrote: Ok, I have patched the lib by changing not throwing an exception in JIRemActivation.read(ndr) as follows: hresult = ndr.readUnsignedLong(); if (hresult != 0) { //System.out.println("EXCEPTION FROM SERVER ! --> " + "0x" + Long.toHexString(hresult).substring(8));...
Dear Tobias, Does this help ? https://docs.microsoft.com/en-us/answers/questions/146551/wmic-stopped-working-on-windows-10-2004.html Best regards, Vikram On Tue, Apr 13, 2021, 20:05 Tobias Neubert tobiasneubert@users.sourceforge.net wrote: I am sorry, the title does not reflect the right windows 10 version. So I created a new topic because I do not know how to change the title. Cannot connect to Windows 10 Enterprise 1909 https://sourceforge.net/p/j-interop/discussion/840678/thread/cb242a8c51/?limit=25#5477...
Hi There, It's on SF site itself. The latest trunk is that itself. Best regards, Vikram On Tue, Aug 25, 2020, 00:37 Chris Collins unsta@users.sourceforge.net wrote: Hello! If there's been no release since 2013, but the trunk has a fix in it, where is the source for that trunk to compile from? Thanks! java.lang.ArrayIndexOutOfBoundsException: 16 Exception https://sourceforge.net/p/j-interop/discussion/840678/thread/159fc36f/?limit=25#960e Sent from sourceforge.net because you indicated interest in...
Dear Justin, We do maintain it. It's just work is done only on a consulting basis. Best regards, Vikram On Mon, May 14, 2018, 00:57 Justin Megawarne edutilos@users.sourceforge.net wrote: Is j-interop still under active maintenance? If not, is it possible to pay the original maintainer for support? If not, does anyone know of an alternative Java DCOM library? Active maintenance? https://sourceforge.net/p/j-interop/discussion/600729/thread/53e2ba9a/?limit=25#c281 Sent from sourceforge.net because you...
Hi, The JIAutomationException has more information in it. Please check that for the exact thing that went wrong here. best regards, Vikram On Tue, Mar 20, 2018 at 4:41 PM, Dilip Rai dilipbhumca@users.sourceforge.net wrote: Hi Vikram, I'm trying to convert C# code into Java code. Below is C# code. var objProjectList = objServer.Enumerator; int numDataSources; var objDataSource = objProjectList.ItemByProjectName("XXX", out numDataSources); objDataSource.Init(); var mysession = objDataSource.CreateSession();...
Hi Tejas, Please compile and use the trunk, that has the fix. Best regards, Vikram On Dec 27, 2017 13:49, "Tejas Sawant" tejas13@users.sf.net wrote: Following exception occuring java.lang.ArrayIndexOutOfBoundsException: 16 at jcifs.util.Encdec.dec_uint32le(Encdec.java:90) at ndr.NdrBuffer.dec_ndr_long(NdrBuffer.java:146) at ndr.NetworkDataRepresentation.readUnsignedLong(NetworkDataRepresentation. java:64) at org.jinterop.dcom.core.JIRemoteSCMActivator$RemoteCreateInstance.read( JIRemoteSCMActivator.java:642)...
Hi, It's an automation exception. Please catch it accordingly. That exception has...
Hi, There is a big in the library, it's fixed on the trunk though. Please download...
Hi, Can you also let me know which is the source machine and which is the target...
Hi, Capture full traffic. For inspection you can use "dcerpc" but please make sure...
Hi, Can you verify that with packet capture ? I can then have a look to see what...
Hi, Unfortunately, I think it best if you would ask Utguard developers (Jens Reinmann)...
Hi Ryan, Unfortunately, I would not be able to get to this anytime soon, totally...
Hi, This seems okay. Please use the IJIUnsigned interface instead of "new Long(size)"...
Hi, Can you show me the method signature and definition of createFixedVHD("D:\VirtualHardDisks\New...
Hi, This exception means that the COM server does not recognize the function name...
Hi, If its running locally then its probably not DCOM. Could you please change this...
Hi, It would be helpful to check with native COM components and see if they work...
Hi, When you use "automatic" you would be using a Native library to work with Windows...
Hi, I have one question here. Why the JISystem.setAutoRegisteration(true) does not...
Hi, By "registration", it means that (among other things) OS knows the identifier,...
Hi, Is the WBEM Scripting Locator registered on the target machine ? best regards,...
It would be nice to know what's "null" :) ... Could you please debug this and let...
Hi, Unfortunately, I cannot see anything obvious. This could be a bug. Can you debug...
Hi, You have to be more specific. Which line are you getting this exception from...
Hi, Please send me your mail Id. thanks, best regards, Vikram On Sun, Nov 22, 2015...
Hi, I am afraid the only faster way is to use WMI APIs directly. I am on leave now...
Dear Andrew, I have been meaning to do so for some time now. Just that one thing...
Yes please check the ntlm security settings using local security manager. I have...
Please use the SVN repo at SF.net site for j-interop and create a new build for yourself....
Can you clarify? I did not get you. On Sep 29, 2015 7:31 PM, "maria" emeeye@users.sf.net...
Please check the windows DLL loading order (folders). You can also provide the location...
Hi, You need to download the ntlmauth DLL from jtds project. With this the local...
Hi, You need to check if "interactive user" is selected. Please refer to this post...
Hi, Win7 onwards only the "trusted installer" can write to the registry. You have...
Hi Tristan, For [out] param, you will need to supply an Empty Variant. For reference,...
Log a request on jcifs Support. Alternatively visit the jcifs website, contact details...
Hi, The project owner of jcifs (Mike) is quite responsive and I am sure he would...
Hi Madhuri, Unfortunately, we are overloaded at the moment and I am not available...
Hi, I am afraid you might not be able to use j-interop with this. This is a layer...
Hi, . So pls bear with me if you see some stupid questions. That's okay, in my experience...
Hi Steffi, This is a bug. Its been fixed on the trunk (src). Please take the sources...
Hi, That did not materialize. best regards, Vikram On Mon, Nov 17, 2014 at 11:28...
Hi Steffi, You can do this but this will be native way (JNI). The JISession.createSession()...
Please study the diff. It has all info. On Nov 5, 2014 5:53 PM, "Madhur" madhurchaini@users.sf.net...
Hi, Merge with jinterop sources. No timeline for the next release at the moment....
Hi, There is a getExcepInfo() within the AutomationException , can you please check...
Hi, This is contributed code, I am sure the 3rd party developers worked on it well...
Dear Himanshu, Season's Greetings ! I am not sure of the version of BouncyCastle...
Yes Jacob is jni and hence runs with the auth of the logged in user. Best regards,...
Hi, We make changes to the registry via jcifs (SMB). This is ofcourse non native,...
Hi, Is this user which you are connecting with the same as that used by openVAS ?...
Well then that's that :) ... you will have to debug this and see which account is...
Its the security settings. LSA settings -> "Network Access: Sharing and security...
Okay, what about "guest" user ? Is that enabled or disabled ? best regards, Vikram...
Hi, Since you used the native code here (when you used the jisession with parameters)...
Hi, Yes its a configuration issue. The account you are using us disabled and hence...
Hi, Jinterop can help you to read. But you would still need a mechanism to deploy...
Dear Steve, Your code is correct. And, unfortunately for you, you do understand the...
Hi, I apologize but I don't follow you entirely. Is it about data latency (you not...
Hi, If it is on the same machine I suggest you use Jacob instead of j-interop. Since...
Sorry I could not be of much help. We are tied down as well. Best regards, Vikram...
Hi, Yes that is correct and, no need to build jcifs , you can use its binary. Best...
Hi, At the moment please use the sources and create your own jar. Best regards, Vikram...
Hi, If you are through till getting the Dispatch interface, I can say with reasonable...
Can you paste your entire code ? On Aug 20, 2014 8:12 PM, "M.A." ahrman@users.sf.net...
Hi, Okay, I think I know. You are calling the getProperty on "server", I think it...
Hi, Its an automation exception, there is a helper method getExepinfo (I think) within...
Hi, The latest Windows line of OS restricts access and configuration of the registry...
Hi Ron, Yes this could be one of the factors. Each new session is a new COM instance,...
Hi, No it was never resolved. This can only happen when the client (j-interop) is...
Hi Mark, Did you turn on security (packet level encryption) on j-interop ? At times...
Hi, This seems okay. A valid pointer was also returned. It clearly should have gone...
It seems you are using an older library version .. Could you take a build from the...
Okay and matrikon also connects to the same , I presume ? Can you use dcomcnfg and...
No that isn't critical (same hostname, I.P would do) ... which CLSID is this f822de8f-207c-11d1-bad4-006097385023...
Can you check the attached image ? Which is PERCY_PC here ? In the last PCAP of Matrikon...
Credentials being used are different. j-Interop is using "Administrator" of the target...
Can you share the wire copy of that (pcap file). Also have you checked if the target...
Hi, When you say you can access the server from Windows OPC tools, are you doing...
Dear Mike, It depends upon the way COM server is implemented. All COM Servers are...
Dear Tristan, Apologies for the delayed reply. I am swamped with issues :( ... well,...
Hi, I would need more information before forming a hypothesis. What is the data type...
Hi, Sorry we have been extremely busy in the past days. Did you try increasing the...
Hi, The list size is exactly equal to the COM server references taken up by your...
Hi, Could you please provide log file for this (log level Finest) ... Best regards,...
Hi, This could be a bug, if the ipids are dereferenced, they should be cleaned up...
Hi, No plans yet. Please use the trunk. It is stable. Best regards, Vikram On Apr...
Hi, No plans yet for ipv6. Best regards, Vikram On Apr 12, 2014 7:33 PM, "Sameer...
Not sure but could be , MS does not usually change schema ... Cannot be of much help...
Please look at the member variables/methods ... best regards, Vikram On Fri, Apr...
Please have a look at the detailed information from the exception. There are methods...
Dear Florian, You need to reach the openScada guys for this. They made a bunch of...
Hi, Can you try this JISession.setGlobalSocketTimeout, set it to something like 5...
Hi, Can you try this JISession.setGlobalSocketTimeout, set it to something like 5...
Hi Nic, Since this is a local install tool (always running on Windows), I suggest...
Hi, Wow :) ... Never thought I would see this one. Can you explain the scenario ?...