Hello,
I have created an application in VB.NET that consume a NAV web services, but when i run the application it generate this error:
" The NAV System has changed while you were performing your activity. Please close your current task and try again. If you are unable to complete the activity, please contact your System Administrator.
Information for developers: Another user has modified CodeUnit 6810. Because the underlying data does not exist or is a different type, the object cannot be compiled correctly until the problem is fixed.
Error details: c:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Codeunit\Codeunit6810.cs(666,43) : error CS1501: No overload for method ‘ToNavAutomation’ takes ‘1’ arguments "
I’am really blocked, can anyone help me ?? Thanks in advance…
If you share your VB.NET code it would be helpful for us to provide you solution
Try this.
Dim gets As New localhost.Gets
gets.UseDefaultCredentials = True
gets.Url = “http://localhost:7047/DynamicsNav/ws/CRONUS%20India%20Ltd/Codeunit/Gets”
Dim upp As String = gets.Getvalue(“Karthik”)
MsgBox(upp)
// localhost – web reference name name on adding the web reference.
//Gets – service name in navision on publishing the code unit.
// gets – instance of webservice.
Thanks Kathi.D
look i will give you the VB.NET code. In fact i would like with this code to create a new “commande line” in an order that i give the number. This is the hol code:
Imports System
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports exemple.line
Public Class WebForm1
Inherits System.Web.UI.Page
…
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim lig As ligne_Service = New ligne_Service
lig.UseDefaultCredentials = True
Dim l1 As ligne = New ligne
l1.Document_Type = 1
l1.Document_No = "1407"
l1.Type = 2
l1.No = "1000"
lig.Create(l1)
EndSub
The error is :
The NAV System has changed while you were performing your activity. Please close your current task and try again. If you are unable to complete the activity, please contact your System Administrator.
Information for developers: Another user has modified CodeUnit 6810. Because the underlying data does not exist or is a different type, the object cannot be compiled correctly until the problem is fixed.
Error details: c:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Codeunit\Codeunit6810.cs(666,43) : error CS1501: No overload for method ‘ToNavAutomation’ takes ‘1’ arguments.
Please help me an thanks in advance…
Thanks Kathi.D
look i will give you the VB.NET code. In fact i would like with this code to create a new “commande line” in an order that i give the number. This is the hol code:
Imports System
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports exemple.line
Public Class WebForm1
Inherits System.Web.UI.Page
…
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim lig As ligne_Service = New ligne_Service
lig.UseDefaultCredentials = True
Dim l1 As ligne = New ligne
l1.Document_Type = 1
l1.Document_No = “1407”
l1.Type = 2
l1.No = “1000”
lig.Create(l1)
EndSub
The error is :
The NAV System has changed while you were performing your activity. Please close your current task and try again. If you are unable to complete the activity, please contact your System Administrator.
Information for developers: Another user has modified CodeUnit 6810. Because the underlying data does not exist or is a different type, the object cannot be compiled correctly until the problem is fixed.
Error details: c:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source\Codeunit\Codeunit6810.cs(666,43) : error CS1501: No overload for method ‘ToNavAutomation’ takes ‘1’ arguments.
Please help me an thanks in advance…