تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[SQL] مشكلة في قاعدة البيانات
#1
السلام عليكم ورحمة الله وبركاته 

عندي مشكلة في قاعدة البيانات اريد حل بارك الله فيكم shoonbr.com

Server Error in '/' Application.



Cannot open database "DB_A48866_prodCopy" requested by the login. The login failed.
Login failed for user 'shoon02'.

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 "DB_A48866_prodCopy" requested by the login. The login failed.
Login failed for user 'shoon02'.

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): Cannot open database "DB_A48866_prodCopy" requested by the login. The login failed.
Login failed for user 'shoon02'.]
  System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) +947
  System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +342
  System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
  System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +726
  System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +91
  System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +438
  System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +79
  System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +201
  System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +156
  System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +22
  System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +92
  System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +219
  System.Data.SqlClient.SqlConnection.Open() +101
  Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection() +49
  Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Func`2 func) +50
  Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action) +71
  Hangfire.SqlServer.SqlServerStorage.Initialize() +53
  Hangfire.SqlServer.SqlServerStorage..ctor(String nameOrConnectionString, SqlServerStorageOptions options) +85
  Hangfire.SqlServerStorageExtensions.UseSqlServerStorage(IGlobalConfiguration configuration, String nameOrConnectionString) +65
  shooun.Startup.Configuration(IAppBuilder app) in D:\Working\shoon\shooun\Startup.cs:16

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
  System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
  System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +168
  System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +105
  Owin.Loader.<>c__DisplayClass12.<MakeDelegate>b__b(IAppBuilder builder) +66
  Owin.Loader.<>c__DisplayClass1.<LoadImplementation>b__0(IAppBuilder builder) +123
  Microsoft.Owin.Host.SystemWeb.<>c__DisplayClass2.<InitializeBlueprint>b__0(IAppBuilder builder) +71
  Microsoft.Owin.Host.SystemWeb.OwinAppContext.Initialize(Action`1 startup) +462
  Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build(Action`1 startup) +40
  Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +70
  System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) +119
  Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
  System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +552
  System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181
  System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228
  System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10087352
  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
  System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4380.0
الرد }}}
تم الشكر بواسطة: asemshahen5
#2
اظن السبب من جملة الاتصال connectionstring
بالعادة هم يزودونك بالجملة المناسبة .
الرد }}}
تم الشكر بواسطة: asemshahen5
#3
حياك الله اخي سعود
والحل لو تكرمت ؟
الرد }}}
تم الشكر بواسطة: asemshahen5
#4
(25-10-21, 01:46 PM)gazy1984 كتب : حياك الله اخي سعود
والحل لو تكرمت ؟

الله يحييك 
انا متعود على موقع somee.com وهم يجهزون جملة اتصال كاملة تنسخها وتلصقها بالكود دون تغيير.
الرد }}}
تم الشكر بواسطة: asemshahen5
#5
الله يعطيك العافية بس هم بيقولوا القاعدة معطوبة احترنا حتى باك اب ما ينزل
الرد }}}
تم الشكر بواسطة: asemshahen5
#6
السلام عليكم
اخي تأكد من كلمة السر للمستخدمshoon02
وماذا يعني بقاعدة البيانات معطوبه هل ممكن ترفعها هنا وارجو ان يكون الاصدار 2008

بالتوفيق
محاسب / أحمد عبد العليم

الى اللقاء ان شاء الله Heart
الرد }}}
تم الشكر بواسطة: asemshahen5



التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم