Problem Working Navision and .Net Remoting

cloudnine
Member Posts: 25
Hi guys...
I have a problem running an application using .Net Remoting with Navision.
Scenario is i have an API, let say as an interface API...APIone, that will call methods from another API...APItwo...this APItwo will call an adapter that is located remotely...I have created an automation variable in C/SIDE and refer it to APIone...debugging Navision and .NET application, I attached Visual Studio to the process fin.exe...while debugging, it ran to the code in APIone...then call a method in APItwo...when APItwo is now calling the remotely located Adapter...there came the problem...it can't establish a successful connection...something like "tcp" is already registered...something like that...
As a proof of concept...I created an application...a .Net application that will also call APIone who will then implements the methods in APItwo which is remotely calling an Adapter to be considered as successful transaction...It works fine...
The question is...what is happening? i mean calling from a .NET application against calling from Navision...
Thanks in advance guys...
I have a problem running an application using .Net Remoting with Navision.
Scenario is i have an API, let say as an interface API...APIone, that will call methods from another API...APItwo...this APItwo will call an adapter that is located remotely...I have created an automation variable in C/SIDE and refer it to APIone...debugging Navision and .NET application, I attached Visual Studio to the process fin.exe...while debugging, it ran to the code in APIone...then call a method in APItwo...when APItwo is now calling the remotely located Adapter...there came the problem...it can't establish a successful connection...something like "tcp" is already registered...something like that...
As a proof of concept...I created an application...a .Net application that will also call APIone who will then implements the methods in APItwo which is remotely calling an Adapter to be considered as successful transaction...It works fine...
The question is...what is happening? i mean calling from a .NET application against calling from Navision...
Thanks in advance guys...
0
Comments
-
In addition...this is the particular error im encountering...
//
(ex.Message)
Remoting configuration failed with the exception 'System.Runtime.Remoting.RemotingException: The channel 'tcp' is already registered.
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(IChannel chnl, Boolean ensureSecurity)
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(IChannel chnl, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)'.
(ex.StackTrace)
at System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData configData, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfigHandler.DoConfiguration(String filename, Boolean ensureSecurity)
at System.Runtime.Remoting.RemotingConfiguration.Configure(String filename, Boolean ensureSecurity)
at WebworksOS.DynamicPay.API.BaseDynamicPayObject..ctor() in\LOGAN\SOLUTION\DynamicPay\WebworksOS.DynamicPay.API\BaseDynamicPayObject.cs:line 20
//
Im not encountering this when im using my .Net app...
Is Navision already registering the 'tcp' channel before the API actually tries to register the channel?
Thanks guys...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions