and my connection string is given here
I have an error like "errorKeyword not supported: \u0027metadata\u0027
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
and my connection string is given here
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jan 20, 2023, 1:32 AM EST
Replace all the " with the normal single quote character.
Naimish MakwanaRank #324 · 7.7K reputationPosted Jan 20, 2023, 1:58 AM EST
ConnectionString is of EntityFramework Type. you can remove metaData and then getting the complete connectionString.
Use below connection string.
Thanks
Vishal JoshiRank #377 · 6.7K reputationPosted Jan 20, 2023, 2:40 AM EST
Hello
The error, Keyword not supported: 'metadata' is because you are not passing correct connection string, you are passing Entity framework Connection string that contains a SQL Server connection string in its provider connection string parameter. WebSecurity.InitializeDatabaseConnection expects a valid database connection string.
Please try below connection string it should work.