حل ارور Update-Database
سلام خسته نباشید من وقتی تویserver.database database Connection String را پاک کردم و ,Update-database را نوشتم این ارور
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) را می دهد
پاسخ ها
محمد اشرافی
سلام ، آدرس sql تون رو اشتباه وارد کردین
با این ساختار Connection بسازید :
"Server=.;Database=CodeYad_Blog;Integrated Security=true;MultipleActiveResultSets=true"
برای ثبت پاسخ باید خود شوید