TableData does not exist

—————————
Microsoft Dynamics NAV Development Environment
—————————
TableData 404 does not exist.
—————————
OK
—————————

TableData 404 does not exist

TableData does not exist

Cause:
You are trying to import from a fob file an existing table in which was changed the value of the property DataPerCompany.

Solution:

  1. delete the Table with number as from the error message (in my case it was 404)
  2. import the object

Related Post: TableData 2000000001 does not exist.

Did my solution solve your problem? Leave a comment.

Method not found

Microsoft Dynamics NAV
—————————

Method ‘Page43.a60Action123a62_a45_OnAction’ not found.
—————————
OK
—————————

Method not found

Method not found

Solution:

  1. open in Design the Page as from the error message (in my case it was Page 43)
  2. press Ctrl+Alt+F4 or go in View -> Page Actions
  3. delete the value from the column “Name” (in my case it was Release)
  4. exit and save the object

Tips & Tricks: To find what is the action the error message is referring, in the message, after the word “Action” there is the value of the ID property (in my case it was 123)

Did my solution solve your problem? Leave a reply.

7z – “unknown method” or “unknown compression method”

Solution to the errors: “unknown method” or “unknown compression method” with 7 Zip.

When you try to extract a .7z (7-Zip) file show the following errors:

unknown method

Or

unknown compression method

Solution:

Download and install the latest version of the 7-Zip software from

7 zip to solve unknown compression method error
http://www.7-zip.org/download.html

Did my solution solve your problem? Leave a reply.

Windows Phone – “Navigation is not allowed when the task is not in the foreground. Error: -2147220990”

When you debug your Windows Phone application that use a task and call the Show method your app crash with the following error message:

System.InvalidOperationException:
Navigation is not allowed when the task is not in the foreground. Error: -2147220990

Solution:

Add Show method in try/catch block

For example:

private void appBarButton_Click(object sender, EventArgs e)
{
  WebBrowserTask task = new WebBrowserTask();
  task.Uri = new Uri("http://www.myerrorsandmysolutions.com/");
  try
  {
    task.Show();
  }
  catch 
  { }
}

Did my solution solve your problem? Leave a reply.

Visual Studio C#.Net – “A get or set accessor expected”

A get or set accessor expected

in Italian:

È prevista una funzione di accesso get o set

Solution:
You miss the parentheses on the method declaration

private void SampleMethod()
{

}

Did my solution solve your problem? Leave a reply.

Visual Studio C#.Net – “Cannot convert method group ‘ToString’ to non-delegate type ‘string’. Did you intend to invoke the method?”

Cannot convert method group ‘ToString’ to non-delegate type ‘string’. Did you intend to invoke the method?

in Italian:

Impossibile convertire il gruppo di metodi ‘ToString’ nel tipo non delegato ‘string’. Si desiderava richiamare il metodo?

Solution:
You miss the parentheses: ToString()

Did my solution solve your problem?