با سلام
ببخشید من یک سایت با mvc نوشتم و دیتابیسش هم entity framework هست
امروز اون رو آپلود کرردم و وقتی کانکشن استرینگ رو براش ست کردم (توی فایل web.config هاست) هنگام نمایش سایت این ارور رو میده
تمام نت رو هم سرچ کردم هیچ راه حلی جواب نداد. لطفا راهنمایی کنید ممنون
این هم کد connection string :
<connectionStrings> <add name="ShopDbEntities" connectionString="Data Source=454848656\SQL2016,2016;Initial Catalog=MainDB;User ID=admin;Password=1234567" providerName="System.Data.EntityClient" /> </connectionStrings>
و متن ارور :
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Keyword not supported: 'data source'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
این لینک رو مطالعه کنید
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)