PDA

View Full Version : مبتدی: خطا در رفتن به صفحه بعدی



programmerzahra
چهارشنبه 12 آذر 1393, 19:52 عصر
سلام دوستان
من یک پروژه کتابخانه آنلاین ، دارم که به دیتابیس SQL هم متصل است، وقتی اجرا می گیرم توی صفحه اول توی بخش ورود اعضا ، کاربر بانام کاربر و رمز عبور می تونه وارد صفحه default بشه اماتوی صفحه default یک LinkLabel دارم که باید وقتی کاربر روی اون کلیک می کنه ،صفحه search براش باز بشه ، اما این اتفاق نمی افته و با این ارور

Description: An unhandled exception occurred during the execution of thecurrent web request. Please review the stack trace for more information aboutthe error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException:Failed to generate a user instance of SQL Server due to a failure in startingthe process for the user instance. 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




مواجه می شوم.
کد LinkLabel_click هم بهصورت زیر است:
protected void LinkButton1_Click1(object sender, EventArgs e)
{
Response.Redirect("searchmember.aspx");
}

چظور میشهاین ارور رو برطرف کرد ، ممنون میشم کمکم کنید