Quantcast
Channel: My Errors & My Solutions
Viewing all 123 articles
Browse latest View live

TableData 2000000001 does not exist.

$
0
0

My Errors & My Solutions My Errors & My Solutions - It Could Happen To You

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

TableData 2000000001 does not exist.

TableData 2000000001 does not exist.

Cause:
You’re trying to open a database using Microsoft Dynamics NAV Development Environment but the user hasn’t the Role Member db_owner for the database in SQL.

Solution:
Grand the user to db owner using SQL Server Management Studio.

db_owner

TableData 2000000001 does not exist. Sergio Castelluccio


HOW TO verify the Windows PowerShell version installed

$
0
0

My Errors & My Solutions My Errors & My Solutions - It Could Happen To You

You can verify that Windows PowerShell version installed by completing the following check:

  1. Click Start, click All Programs, click Accessories, click Windows PowerShell, and then click Windows PowerShell.
  2. In the Windows PowerShell console, type the following command at the command prompt and then press ENTER:
    Get-Host | Select-Object Version
  3. You will see output that looks like this:
    Version
    -------
    3.0

Windows PowerShell version

You can download Windows PowerShell 3.0 using the following link:
Windows Management Framework 3.0

NOTE: Windows PowerShell 3.0 is an external prerequisite to install Microsoft Dynamics NAV 2013 R2

External programs prerequisite Windows PowerShell 3.0

Did my HOW TO help you? Leave a reply.

HOW TO verify the Windows PowerShell version installed Sergio Castelluccio

The currently selected Visio driver is not compatible with the data source

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

—————————
Microsoft Visio
—————————
The currently selected Visio driver is not compatible with the data source.
—————————
OK
—————————

I created a new Data Source using the installed Microsoft SQL Server VISIO drivers: SQL Server Native Client 11.0 but when I try to use it appears the following error message:

The currently selected Visio driver is not compatible with the data source

The currently selected Visio driver is not compatible with the data source

Solution:
Use the Generic OLE DB Provider

Did my solution solve your problem? Leave a reply.

The currently selected Visio driver is not compatible with the data source
Sergio Castelluccio

Microsoft Dynamics NAV Administration does not work after installation of NAV 2013 R2

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

After I installed NAV 2013 R2 if I try to run Microsoft Dynamics NAV Administration tool of NAV 2013 I receive the following error message:

—————————
Microsoft.Dynamics.Nav.ManagementUI.dll
—————————
MCC has detected an error in snap-in and will unload it.

- Report this error to Microsoft, and then shut down MCC
- Unload the snap-in and continue running
—————————
OK
—————————

MCC has detected an error in snap-in and will unload it

If I run Microsoft Dynamics NAV Admin tool of NAV 2013 R2, it works only for the instance of the R2 version and if I try to Start/Restart/Stop a server instance of a previous version I receive the following error message:

Error
—————————

The Microsoft Dynamics NAV Admin tool can only manage version 7.1 or later. The ServerInstance ‘{ServerInstance}’ is Version ‘{ServerVersionNo}’.
—————————
OK
—————————

The Microsoft Dynamics NAV Admin tool can only manage version 7.1 or later

Cause:
NAV 2013 and NAV 2013 R2 use different common registry keys, so after installation of NAV 2013 R2 a part of these registry keys are updated with the information of the new installation the main difference are in the path the folder 70 changed with 71 and the version number from 7.0.0.0 to 7.1.0.0.

Microsoft Dynamics NAV Administration does not work after installation of NAV 2013 R2

Idea:

  1. Restore the key with the previous values to fix the functionality of Microsoft Dynamics NAV Administration tool of NAV 2013
  2. Create a new key (as copy of the previous) valid only for NAV 2013 R2

This is the current status in the Registry Editor (click on the image to show more details):
Before FIX Microsoft Dynamics NAV 2013 Administration Keys Status

Solution:

Create a .reg file, using a text editor like Notepad with the following lines:

FIX Microsoft Dynamics NAV 2013 Administration.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Dynamics.Nav.Management]
"ApplicationBase"="C:\\Program Files\\Microsoft Dynamics NAV\\70\\Service\\"
"AssemblyName"="Microsoft.Dynamics.Nav.Management, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
"Description"="Microsoft Dynamics Nav Management Snap-in"
"ModuleName"="C:\\Program Files\\Microsoft Dynamics NAV\\70\\Service\\Microsoft.Dynamics.Nav.Management.dll"
"PowerShellVersion"="2.0"
"Vendor"="Microsoft Corporation"
"Version"="7.0.0.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Dynamics.Nav.Management, Version=7.1.0.0]
"ApplicationBase"="C:\\Program Files\\Microsoft Dynamics NAV\\71\\Service\\"
"AssemblyName"="Microsoft.Dynamics.Nav.Management, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
"Description"="Microsoft Dynamics Nav Management Snap-in"
"ModuleName"="C:\\Program Files\\Microsoft Dynamics NAV\\71\\Service\\Microsoft.Dynamics.Nav.Management.dll"
"PowerShellVersion"="2.0"
"Vendor"="Microsoft Corporation"
"Version"="7.1.0.0"

or download the file FIX Microsoft Dynamics NAV 2013 Administration.zip

Alfter you run the file the status in the Registry Editor will be this (click on the image to show more details)
After FIX Microsoft Dynamics NAV 2013 Administration Keys Status

Note: You have to run the file only once, so after running you can remove it from your computer.

Results:

Now you can manage all the instances using the Microsoft Dynamics NAV Administration tool of NAV 2013 and use the new tool of NAV 2013 R2 to manage ONLY the instance of the new version.

Did my solution solve your problem? Leave a reply.

Microsoft Dynamics NAV Administration does not work after installation of NAV 2013 R2
Sergio Castelluccio

ALTER DATABASE failed because a lock could not be placed on database

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

ALTER DATABASE failed because a lock could not be placed on database ‘{DatabaseName}’. Try again later.

Cause:
One or more processes regarding {DatabaseName}, also in sleeping status, are blocking your query

Solution:
Execute

EXEC sp_who2  --or sp_who

to know the list of SPIDs’ processes where DBName is {DatabaseName}
then execute the following command for each of them to kill these processes

KILL {SPIDNumber}  --e.g. KILL 55

Now finally you can execute your query to ALTER the database.

Did my solution solve your problem? Leave a reply.

ALTER DATABASE failed because a lock could not be placed on database
Sergio Castelluccio

HOW TO take offline a database in SQL Server

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

HOW TO take offline a database in SQL Server?

Microsoft Sql Server Management Studio

Right click on the database node > Tasks > Take Offline

T-SQL Script

Execute the following query

ALTER DATABASE [DatabaseName] SET OFFLINE WITH
ROLLBACK IMMEDIATE
GO

If it seems that the command doesn’t work or the execution requires more time or to force to take offline or

if you’ll receive the following error:
ALTER DATABASE failed because a lock could not be placed on database ‘{DatabaseName}’. Try again later.

click on the following link to show the Solution:
ALTER DATABASE failed because a lock could not be placed on database

Did my HOW TO help you? Leave a reply.

HOW TO take offline a database in SQL Server
Sergio Castelluccio

Shortcut Ctrl+Alt+F1 does not work

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

If the shortcut Ctrl+Alt+F1 does not work the problem is not linked with the application that you are using but maybe with the computer that you are using, I noticed that is a problem in Dell machines.

Shortcut Ctrl+Alt+F1 does not work

Solution:

Use Ctrl+Alt+WinKey+F1

NOTE (by Daniele Rebussi): This solution applies also when NAV is used via Citrix/VMWare visualization environments, where Ctrl+Alt+F1 combination covers other functionality.

Did my solution solve your problem? Leave a reply.

Shortcut Ctrl+Alt+F1 does not work
Sergio Castelluccio

The number of records in the table exceeds the maximum number of 5000

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

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

The number of records in the table exceeds the maximum number of 5000. Set a filter to decrease the number of records in the table. Exporting too many records at once can affect system performance.
—————————
OK
—————————

The number of records in the table exceeds the maximum number of 5000

Solution:
Open using your preferred ClientUserSettings.config

  • NAV 2013 R2
    Default location is
    C:\Users\<username>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71
  • NAV 2013
    Default location is
    C:\Users\<username>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\70
  • NAV 2009
    On Windows 7, Windows Vista, or Windows Server 2008, the default location is
    C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV

    On Windows Server 2003 or Windows XP, the default location of this file is

    C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Microsoft Dynamics NAV

Where

<username>

is the name of the user.

Change MaxNoOfXMLRecordsToSend property value from 5000 to 2147483647

<add key="MaxNoOfXMLRecordsToSend" value="2147483647" />

If you’ll insert a number bigger that 2147483647 you’ll receive the following error message:

—————————
Microsoft Dynamics NAV
—————————
The MaxNoOfXMLRecordsToSend configuration setting must have a value between -2,147,483,648 and 2,147,483,647.
—————————
OK
—————————

Reference: Configuring the Windows Client

Did my solution solve your problem? Leave a reply.

The number of records in the table exceeds the maximum number of 5000
Sergio Castelluccio


Microsoft .NET Framework 3.5 SP1 An error occurred during installation. NAV 2013

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

During the installation of NAV 2013 on Windows 8 or Windows 8.1 or Windows Server 2012 or Windows Server 2012 R2 you receive the following error message:

Microsoft .NET Framework 3.5 SP1
An error occurred during installation.

Solution:

  1. Insert the installation CD or mount the ISO on your drive (in my case it was d:)
  2. Open a Command Prompt window with administrative credentials (that is, choose Run as administrator)
  3. Execute the following command:
    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

Resource: Installing the .NET Framework 3.5 on Windows 8 or 8.1

Did my solution solve your problem? Leave a reply.

Microsoft .NET Framework 3.5 SP1 An error occurred during installation. NAV 2013
Sergio Castelluccio

The company name must be specified if the server and instance are specified

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

—————————
Microsoft Dynamics NAV
—————————
The company name must be specified if the server and instance are specified.
—————————
OK
—————————

The company name must be specified if the server and instance are specified

Cause:
This error is related to (or maybe cause by) my previous post: The client version does not match the server version
You changed the registry key as explained in the solution to work with another version.

Solution:
Execute the .reg file for the version NAV 2013 R2

NAV2013R2.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DYNAMICSNAV\Shell\Open\Command] 
@="C:\\Program Files (x86)\\Microsoft Dynamics NAV\\71\\RoleTailored Client\\Microsoft.Dynamics.Nav.Client.exe -protocolhandler \"%1\""

Did my solution solve your problem? Leave a reply.

The company name must be specified if the server and instance are specified
Sergio Castelluccio

Sorry, Movie Maker can’t start. Make sure your computer meets the minimum system requirements before trying to start Movie maker again, and then try to update the driver for your video card if Movie maker still doesn’t start

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

Sorry, Movie Maker can’t start. Make sure your computer meets the minimum system requirements before trying to start Movie maker again, and then try to update the driver for your video card if Movie maker still doesn’t start.

Sorry, Movie Maker can't start. Make sure your computer meets the minimum system requirements before trying to start Movie maker again, and then try to update the driver for your video card if Movie maker still doesn't start

After the update from Windows 7 to Windows 8, Movie Maker doesn’t start showing the above error.

Solution:
Open the following folder

C:\Program Files (x86)\Windows Live\Photo Gallery\

and change the Compatibility (Right-click -> Properties) of the MovieMaker.exe file with Windows 7 or a previous version.

Did my solution solve your problem? Leave a reply.

Sorry, Movie Maker can’t start. Make sure your computer meets the minimum system requirements before trying to start Movie maker again, and then try to update the driver for your video card if Movie maker still doesn’t start
Sergio Castelluccio

The file {WordDocumentName} cannot be opened because there are problems with the contents

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

The file {WordDocumentName} cannot be opened because there are problems with the contents

The file {WordDocumentName} cannot be opened because there are problems with the contents

Solution:
Click OK in the error message.

Then will appear the following message and click Yes
Word found unreadable content in {WordDocumentName}

Save the file in RTF (Rich Text Format) file format then save it in Word Document format.

Reference: Troubleshooting damaged documents in Word for Windows

Did my solution solve your problem? Leave a reply.

The file {WordDocumentName} cannot be opened because there are problems with the contents
Sergio Castelluccio

This message occurred because a nonzero value was found

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

—————————
Microsoft Dynamics NAV Development Environment
—————————
You cannot delete or change the type of the {FieldName} field (in the {TableName} table) before the value in the field is reduced to 0 (zero) or ” (blank) in all records. This message occurred because a nonzero value was found for the record {PKFieldName}=’{PKFieldValue}’ in company {CompanyName}.
—————————
OK
—————————

This message occurred because a nonzero value was found

Cause:
To change the definition of a field this doesn’t have to contain data.

Solution:
Delete all the values in the {FieldName} column (of the {TableName} table) for all the companies.
Note: the error message will show the first value the system will find, remember that you have to delete values also in the other companies.

HOW TO change data for all Companies?

If you want you can create a new field as a copy, create a Report for service to move data in the new field before to delete all the data and change the definition of the field. Then you could restore the original data in the original field.

Did my solution solve your problem? Leave a reply.

This message occurred because a nonzero value was found
Sergio Castelluccio

HOW TO know the SQL Server version installed

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

There are different methods how to know the SQL Server version installed.

My preferred, for me the easiest to remember, is run the following query:

Select @@version

An example of the output of this query is as follows:

Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)   Mar 29 2009 10:11:52   Copyright (c) 1988-2008 Microsoft Corporation  Express Edition (64-bit) on Windows NT 6.1  (Build 7600: )

For further info, please, use the reference link.

Reference: How to determine the version and edition of SQL Server and its components

Did my HOW TO help you? Leave a reply.

HOW TO know the SQL Server version installed
Sergio Castelluccio

The .NET Framework object System.IO.Directory cannot run on this client

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

The .NET Framework object System.IO.Directory cannot run on this client.

The .NET Framework object System.IO.Directory cannot run on this client.

in a computer running NAV 2013 client.

Solution 1 (suggested by me):
Install the Microsoft .NET Framework 4.5 then restart the Client.

Solution 2 (suggested by Microsoft):
How to: Set .NET Framework Types to Run on the Microsoft Dynamics NAV Windows Client or Microsoft Dynamics NAV Server Computers

I suggest always to read the official documentation about the requirements for the product you are want use:
Requirements for Microsoft Dynamics NAV 2013

Did my solution solve your problem? Leave a reply.

The .NET Framework object System.IO.Directory cannot run on this client
Sergio Castelluccio


Shortcut to disable touchpad on DELL does not work

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

In a pc DELL Inspiron 5520 with Windows 8 or Windows 8.1 the shortcut (Fn+F3) to disable touchpad does not work.

Shortcut to disable touchpad on DELL does not work?

Solution:
Download and install the following official Touchpad driver, then restart the system.

This solution should work for the following DELL models:

  • Vostro 3560
  • Inspiron 15R 5520
  • Inspiron 15R SE 7520

Did my solution solve your problem? Leave a reply.

Shortcut to disable touchpad on DELL does not work
Sergio Castelluccio

HOW TO create NAV Instances with multiple builds in the same machine

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

The concepts described in this post are applicable to different versions/builds, for the examples I will use an installation of NAV 2013 R2 (7.1.35473) and I will create one or more instances also for the build 7.1.36703 (Cumulative Update 7 – May 2014) in the same server.

HOW TO create NAV Instances with multiple builds in the same machine?

We have to distinguish two different operations:

  1. Creation of the first instance for a different build
  2. Add more instances for this build

HOW TO create the first instance for a different build?

Prerequisites:

After you installed NAV 2013 R2 Server side’s files will be inside the following path:

C:\Program Files\Microsoft Dynamics NAV\71\

Copy the folder 71 in a new folder 71 – Build 36703

C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\

Copy and replace all files from the NST folder, in the Cumulative Update package, to the Service folder in the following path:

C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\

Run Microsoft Dynamics NAV 2013 R2 Administration Shell and execute the following PowerShell CmdLet:

New-Service 'MicrosoftDynamicsNAVServer$NewInstanceName' -BinaryPathName '"C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\Microsoft.Dynamics.Nav.Server.exe" $NewInstanceName /config "C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\Microsoft.Dynamics.NAV.Server.exe.config"' -DependsOn 'HTTP' -Description 'Service handling requests to Microsoft Dynamics NAV application.' -DisplayName 'Microsoft Dynamics NAV Server [NewInstanceName]' -StartupType Manual

Note: you can replace NewInstanceName with your preferred name (there are 3 references) or use another name for the folder “71 – Build 36703″ (there are 2 references)

In case of error, to delete this service use the following PowerShell CmdLet:

sc.exe delete 'MicrosoftDynamicsNAVServer$NewInstanceName'

Note: don’t remove the instance using Microsoft Dynamics NAV 2013 R2 Administration because, this is the Default instance for this build and it will be removed the Service folder from the 71 – Build 36703 folder.

HOW TO add more instances for this build?

In my example the name will be SecondInstanceName

Using Microsoft Dynamics NAV 2013 R2 Administration tool create a new instance with name SecondInstanceName.

Copy the SecondInstanceName folder from

C:\Program Files\Microsoft Dynamics NAV\71\Service\Instances\

to

C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\Instances\

Note: if the subforder Instances doesn’t exist create it.

Using Microsoft Dynamics NAV 2013 R2 Administration tool delete the instance with name SecondInstanceName.

Run Microsoft Dynamics NAV 2013 R2 Administration Shell and execute the following PowerShell CmdLet:

New-Service 'MicrosoftDynamicsNAVServer$SecondInstanceName' -BinaryPathName '"C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\Microsoft.Dynamics.Nav.Server.exe" $SecondInstanceName /config "C:\Program Files\Microsoft Dynamics NAV\71 - Build 36703\Service\Instances\SecondInstanceName\SecondInstanceName.config"' -DependsOn 'HTTP' -Description 'Service handling requests to Microsoft Dynamics NAV application.' -DisplayName 'Microsoft Dynamics NAV Server [SecondInstanceName]' -StartupType Manual

The difference with the previous command is only that now we will refer to the config file inside the Instances folder.

Note: you can replace SecondInstanceName with your preferred name (there are 5 references) or use another name for the folder “71 – Build 36703″ (there are 2 references)

The last step is to correct the config files inside the SecondInstanceName folder:

  • SecondInstanceName.config – correct the paths in appsettings and tenants node replacing “71″ with “71 – Build 36703″
  • CustomSettings.config – insert the correct values and ports and don’t foget to refer to the Default instance for this build in the following key:
    <add key="DatabaseInstance" value="NewInstanceName" />

Did my HOW TO help you? Leave a reply.

HOW TO create NAV Instances with multiple builds in the same machine
Sergio Castelluccio

HOW TO capture menu using Snipping Tool

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

Since Microsoft included this feature in Windows I started to use it.
I didn’t know how to capture menus and DropDown controls because when I click on the button New the control lost focus and closd automatically.

HOW TO capture menu using Snipping Tool?

Open the Snippng Tool, click Cancel so that the toll will be still opened.
Then, when you want capture a menu or a drop down control activated, use Ctrl+PrtScn.

If you want capture a new one, press again New then Cancel and use Ctrl+PrtScn.

Did my HOW TO help you? Leave a reply.

HOW TO capture menu using Snipping Tool
Sergio Castelluccio

Application Blocked by Security Settings

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

When you try to access a website, containing a script Java, using Google Chrome appears the following error message:

Application Blocked by Security Settings

Solution:

  1. Go to Control Panel
  2. Java
  3. in the Security tab click the “Edit Site List…” button
  4. click Add button
  5. insert the URL of the website that you want access in (URL should begin with http:// or https://)
  6. click Add button
  7. click OK button
  8. click OK button

Note: you could find an icon Java (32-bit) rather than Java.

If you won’t find in Control Panel a Java icon but you are sure that Java is installed, open a text editor and create a file with name exception.sites containing the URL of the website that you want access in (URL should begin with http:// or https://) and save it in the following path:

C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security

where

<username>

is the name of the user.

Further information on How can I configure the Exception Site List?

Did my solution solve your problem? Leave a reply.

Application Blocked by Security Settings
Sergio Castelluccio

HOW TO delete VPN connection

$
0
0

My Errors & My Solutions
My Errors & My Solutions - It Could Happen To You

In this post I provide you a step by step guide about

HOW TO delete VPN connection

Your VPN connections are installed in the following location:

Control Panel\Network and Internet\Network Connections

To remove/delete one:

  1. go to Control Panel
  2. click the Network and Sharing Center icon
  3. click Change adapter settings on the left panel
  4. right-click on the VPN connection and select Delete

Did my HOW TO help you? Leave a reply.

HOW TO delete VPN connection
Sergio Castelluccio

Viewing all 123 articles
Browse latest View live