PDA

View Full Version : سوال: خطا در ايجاد Login page در محيط Asp.net



shiran
شنبه 21 خرداد 1390, 18:16 عصر
سلام
من از Visualstudio 2010 و SQL Server 2008 استفاده می کنم. در محيط Asp يک صفحه Login ايجاد کردم و مراحل Administer Website را کامل اجراء کردم. يعني يوزر ها و سطح دسترسی و ... را ايجاد کردم. به صورت کامل.
اما وقتي برنامه رو Build مي کنم و در محيط IE وارد Login میشم و يوزر و پسورد را مي زنم , خطا می ده و به هيچ روشی هم حل نمي شه. لازم توضيح بدم چون من SQL Server 2008 دارم نمي تونستم از SQL Express استفاده کنم.
خطائي که مي ده رو در زير آوردم:
Failed to generate a user instance of SQL Server due to a failure in reading registry keys. 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: Failed to generate a user instance of SQL Server due to a failure in reading registry keys. 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.

Stack Trace:


[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to a failure in reading registry keys. The connection will be closed.]
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +6244425