I am trying to setup remote debugging of my QActions in Visual Studio.
In Visual Studio 2019, when trying to "Open DataMiner Cube" found on the DIS Inject window, the following error in IE is shown:
System.InvalidOperationException: Cannot accept GET requests.at Skyline.DataMiner.Net.Transport.RemotingHelperServerChannelSink.VerifyRequestDataPresent(ITransportHeaders requestHeaders, Stream requestStream)at Skyline.DataMiner.Net.Transport.RemotingHelperServerChannelSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)at System.Runtime.Remoting.Channels.Http.HttpServerTransportSink.ServiceRequest(Object state)at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
The url is correct and I've checked the port which is also correct with a number of 8004. Would anyone know the source of this error?
Also when inject the QAction DLL which I want to debug the following error is also present (screenshot):
Could these errors be linked?
Thank you,
Ryan
Hi Ryan, would it please be possible to share the settings of the DMA that you've filled in on DIS? Normally you only need to fill in the IP address, without port number. The port number should automatically be detected.
The last error indicates that there is something wrong with the shared folder on the target machine. On the server where DataMiner runs a folder 'c:\DIS\' must be created and shared with name 'dis'. See https://help.dataminer.services/dataminer/#t=DataMinerUserGuide%2Fpart_3%2FDIS%2FPreparing_to_debug_a_QAction_on_a_remote_DataMiner_Agent.htm for more information.
Hi Tom,
Thank you for you response! I have tried both ways filling out the Host details where just the IP is used and also the IP:Host is used. Both don’t work.
I have also checked the shared folder is being created and shared correctly and it can’t access it.
I did follow the instructions provided to get the DIS Inject tool setup.
I think as there is no other immediate solution to this problem it would be best to go through our Dataminer contact to try resolve this issue – unless you have any further suggestions.
Once again thanks for your answer 🙂