سلام خسته نباشید . من سایت خودمو بروی هاست ویندوز آپلود کردم چند تا ارور داد که رفع شد ولی این ارور رفع نمیشد میشه کمکم کنید ؟
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: Cannot open database "SamaneDB" requested by the login. The login failed.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
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.
رشته اتصال به بانک مشکل دارد
به پشتیبانی هاست تیکت بزنید نمونه رشته اتصال را به شما میدهند از اون استفاده کنید
سلام به پشتیبانی تیکت زدم اینو برام فرستادند
connectionString="Data Source=mahan.winhost.pw;Initial Catalog=database name"
کانکشن استیرینگ منم اینه
<add name="SamaneDBEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.;Initial Catalog=SamaneDB;Integrated Security=True;MultipleActiveResultSets=True;Application Name=EntityFramework "" providerName="System.Data.EntityClient" />
میشه راهنمایی کنید تا خطای هاست رفع بشد
add name="SamaneDBEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="Data Source=mahan.winhost.pw;Initial Catalog=SamaneDB;Integrated Security=True;MultipleActiveResultSets=True;Application Name=EntityFramework "" providerName="System.Data.EntityClie
;کانکشن و وارد کردم ولی خطای زیر میدد
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: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
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.
Integrated Security=True جای این باید نام کاربری و کلمه عبور بانک ساخته شده در هاست رو قرار دهید
سلام خسته نباشید با عرض شرمندگی من بازم به خطا زیر مواجه شدم
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: Invalid object name 'dbo.tbl_Users'.
دیتابیس ی که داخل هاست گذاشتم هر کاری میکنم که داخل اس کیو ال تغییر کنه به یوزر داخل هاست نمیشد و با خطا زیر مواجه میشم
Msg 2812, Level 16, State 62, Line 3
Could not find stored procedure 'SamaneDB.SamaneDB1.sp_fulltext_database'.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
هر کاری میکنم داخل اس کیو ال این خطا را داره و داخل هاست هم خطای بالا ممنون میشم کمک کنید
میگه اون جدول رو نداره
بکاپ بانک رو مجدد در سرور restore کنید
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)