Last post Aug 21, 2019 07:37 PM by mgebhard
Member
6 Points
19 Posts
Aug 21, 2019 07:04 PM|lujain1996m|LINK
Why I get this error while using the command "update-database" in package console manager after using migration
https://imge.to/i/bBY1C
All-Star
53121 Points
23672 Posts
Aug 21, 2019 07:09 PM|mgebhard|LINK
The error indicates the connection string is incorrect.
Aug 21, 2019 07:21 PM|lujain1996m|LINK
mgebhard The error indicates the connection string is incorrect.
How can I correct the connection string ???
Aug 21, 2019 07:34 PM|lujain1996m|LINK
Thank you, it works now ^_^
Aug 21, 2019 07:37 PM|mgebhard|LINK
lujain1996m How can I correct the connection string ???
You've posted this question in an Access DB forum. If you are working with an MS Access DB then you'll need to install an appropriate DB provider.
https://www.nuget.org/packages/JetEntityFrameworkProvider/6.1.4
You can find MS Access connection string here; https://www.connectionstrings.com/access/
If this is not the case then you'll need to provide a bit more information about your project.
Member
6 Points
19 Posts
Error while using migration
Aug 21, 2019 07:04 PM|lujain1996m|LINK
Why I get this error while using the command "update-database" in package console manager after using migration
All-Star
53121 Points
23672 Posts
Re: Error while using migration
Aug 21, 2019 07:09 PM|mgebhard|LINK
The error indicates the connection string is incorrect.
Member
6 Points
19 Posts
Re: Error while using migration
Aug 21, 2019 07:21 PM|lujain1996m|LINK
How can I correct the connection string ???
Member
6 Points
19 Posts
Re: Error while using migration
Aug 21, 2019 07:34 PM|lujain1996m|LINK
Thank you, it works now ^_^
All-Star
53121 Points
23672 Posts
Re: Error while using migration
Aug 21, 2019 07:37 PM|mgebhard|LINK
You've posted this question in an Access DB forum. If you are working with an MS Access DB then you'll need to install an appropriate DB provider.
https://www.nuget.org/packages/JetEntityFrameworkProvider/6.1.4
You can find MS Access connection string here; https://www.connectionstrings.com/access/
If this is not the case then you'll need to provide a bit more information about your project.