Network mapped drives not available on Windows 10 for some applications

Today i had a problem with mapped network drives for specific users. The windows explorer showed all exist connections but when i openned some applications (For example: P80 – Automation application for HPC), i couldn’t see them.

Without going into too much detail, there is a register that enables the display of these drives in the applications.

To solve, you need to modify the registry.

1. Open regedit

2. HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Policies -> System

3. On the right, you will see:
… etc.

4. click on empty space, ADD DWORD(32bit), then name it “EnableLinkedConnections”. Double click it and set the data to 1.

5. Reboot and you will see the mapped drives in your applications.

This worked for me.


Error 3002: Problem in mapping fragments

This error generally occur when you change database (For example changing the primary key) and after it update project entity model.

You can see that all columns in model table were changed like primary key.

To solve the problem, you can select the columns that are not the primary key and change the field “Entity Key” to false.


Or in the properties



Error in Connection String

If you are creating a DLL using #EntityFramework (EF Designer from database) be careful of your Connection String.

#Entity creates the connection string in DLL and it will compile perfectly. but when you import the DLL in a project never forget to reference the same connection string in project’s “App.config” file too, because at system startup, the DLL’s “App.config” file will be replaced by project’s “App.config” file.

Entity Framework – DBContext

Propriedades do Entity Framework

Entidades de uma aplicação que utiliza o Entity Framework, são administradas por um objeto do tipo DbContext. Esse objeto é  responsável  pelas inserção, remoção, alteração e consulta na Database. Ao definir seu método de contexto, faça herança do DBContext. Veja o exemplo:

namespace MyApplicationTest


         public class MyContext : DbContext