سلام استاد من دیروز یک هاست گرفتم و سایت رو برگزاری کردم ولی هر کاری که میکنم باز هم ارور میده و بالا نمیاد
بخش لاگ زدن در web.config رو فعال کردم و هرکاری میکنم همش این ارور رو به من میده:
fail: Microsoft.EntityFrameworkCore.Database.Connection[20004]
An error occurred using the connection to database 'MyContext' on server '.'.
fail: Microsoft.EntityFrameworkCore.Query[10100]
An exception occurred while iterating over the results of a query for context type 'ZIP_Project.Context.MyContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
و سایت هم این ارور رو میده:
سلام اگر که میشه جواب بدید من الان سه روزه درگیر این موضوع هستم
سلام دوست من وقتتون بخیر
رشته اتصال به دیتابیستون درست نیست
لطفا یکبار به پشتیبانی هاست تیکت بزنید و بگید رشته اتصال دیتابیس رو براتون ارسال کنه
با تشکر از شما