PDA

View Full Version : سوال: Server Error in '/Web' Application



MsMahtab
جمعه 22 دی 1391, 23:36 عصر
با سلام خدمت دوستان گرانقدر
یه برنامه تحت وب رو می خوام اجرا بگیرم این ارور رو می ده .
لطفا راهنمایی فرمایید
Server Error in '/Web' Application.
The user instance login flag is not supported on this version of SQL Server. The connection will be closed.
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.Data.SqlClient.SqlException: The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

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

omid_csh
شنبه 23 دی 1391, 10:40 صبح
سلام
داخل connection string فلگ user instance گذاشتین (تا حالا که خطا اینو میگه)
user instance فقط مخصوص نسخه SQL Server Express هستش، و احتمالا دارید از نسخه دیگه ای غیر از نسخه Express استفاده می کنید که باعث بروز این خطا شده

connection string که استفاده می کنید بذارید و همینطور نسخه SQL Server رو بگید.