سلام دوستان
پروژه من بعد از اضافه کردن owin دیگه اجازه اجرای هیچ کدوم از Action ها رو نمیده و اررور زیر رو میده .
مشکل از کجاست؟
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.ComponentModel.Win32Exception: The specified module could not be found
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:
[Win32Exception (0x80004005): The specified module could not be found]
[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server.
فایل Sturtup از owin را ایجاد کردید ؟
برای چه استفاده ای owin را اضافه کردید ؟
برای لاگین و احراز هویت استفاده کردم.
خود پروژه mvc این کلاس رو داشت منم دیگه از همون استفاده کردم.
بار اول اجرا شد به درستی هم کار میکرد اما ی دفعه کل پروژه ریخت به هم و الان اصلا اجرا نمیشه و همین ارورو میده کلی هم تنظیمات رو تغییر دادم توی Sql manager و همه چیز enable هست و ظاهرا مشکلی نداره.
ولی با همین تغییرات مشکلم رفع نشد.
از طریق nuget تمام pachage های Owin را بروز رسانی کنید
به احتمال زیاد درست میشه
همه package ها update هستند.
متشکرم اقای مدائنی این مشکل با برداشتن defaultconnection از تگ <connectionstring> فایل web.config حل شد.
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)