PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در نصب اسکریپت ASp



saeed.spore
January 26th, 2015, 00:25
سلام به دوستان گل من یک اسکریپت از دستان گرفتم میخوام نصب کنم
فایل های MDF را در پایگاه داده
ریستور کردم
فایل web.config
هم ادیت کردم و یوزر پسورد ورد ها را زدم به شکل زیر
connectionString="Data Source=IPADDRESS;Initial Catalog=NAME Database; User ID=USERNAME DB;Password=Password databse;Integrated Security=False;MultipleActiveResultSets=True"/>
و کنترل پنل بنده وبسایت پنل
ولی این ارور میده در هنگام بار گذاری سایت



#-o


Server Error in '/' Application. Keyword not supported: 'initialcatalog'. 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.ArgumentException: Keyword not supported: 'initialcatalog'.

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:



[ArgumentException: Keyword not supported: 'initialcatalog'.]
System.Data.Common.DbConnectionOptions.ParseIntern al(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +5374780
System.Data.Common.DbConnectionOptions..ctor(Strin g connectionString, Hashtable synonyms, Boolean useOdbcRules) +95
System.Data.SqlClient.SqlConnectionString..ctor(St ring connectionString) +59
System.Data.SqlClient.SqlConnectionFactory.CreateC onnectionOptions(String connectionString, DbConnectionOptions previous) +24
System.Data.ProviderBase.DbConnectionFactory.GetCo nnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +167
System.Data.SqlClient.SqlConnection.ConnectionStri ng_Set(DbConnectionPoolKey key) +61
System.Data.SqlClient.SqlConnection.set_Connection String(String value) +66
System.Data.EntityClient.EntityConnection.ChangeCo nnectionString(String newConnectionString) +325

[EntityException: The underlying provider failed on ConnectionString.]
System.Data.EntityClient.EntityConnection.ChangeCo nnectionString(String newConnectionString) +391
System.Data.EntityClient.EntityConnection..ctor(St ring connectionString) +43
System.Data.Entity.Internal.LazyInternalConnection .InitializeFromConnectionStringSetting(ConnectionS tringSettings appConfigConnection) +78
System.Data.Entity.Internal.LazyInternalConnection .TryInitializeFromAppConfig(String name, AppConfig config) +33
System.Data.Entity.Internal.LazyInternalConnection .Initialize() +128
System.Data.Entity.Internal.LazyInternalConnection .CreateObjectContextFromConnectionModel() +13
System.Data.Entity.Internal.LazyInternalContext.In itializeContext() +274
System.Data.Entity.Internal.InternalContext.GetEnt itySetAndBaseTypeForType(Type entityType) +18
System.Data.Entity.Internal.Linq.InternalSet`1.Ini tialize() +52
System.Data.Entity.Internal.Linq.InternalSet`1.get _InternalContext() +15
System.Data.Entity.Infrastructure.DbQuery`1.System .Linq.IQueryable.get_Provider() +37
System.Linq.Queryable.Join(IQueryable`1 outer, IEnumerable`1 inner, Expression`1 outerKeySelector, Expression`1 innerKeySelector, Expression`1 resultSelector) +96
TSDAL.MosabegheRep.Get2(Mosabeghe b) in e:\Portfolios\TakShoot\TSDAL\Repository\MosabegheR ep.cs:63
TSBL.Bl.MosabegheBl.GetByDate() in e:\Portfolios\TakShoot\TSBL\Bl\MosabegheBl.cs:45

[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.UnsafeInvokeIn ternal(Object obj, Object[] parameters, Object[] arguments) +192
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +155
System.Web.UI.WebControls.ObjectDataSourceView.Inv okeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +486
System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteSelect(DataSourceSelectArguments arguments) +1609
System.Web.UI.WebControls.Repeater.GetData() +55
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean useDataSource) +89
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +61
System.Web.UI.WebControls.Repeater.DataBind() +50
System.Web.UI.WebControls.Repeater.EnsureDataBound () +49
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +15
System.Web.UI.Control.PreRenderRecursiveInternal() +83
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974





Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209



لطفا اگه میشه کمک کنید

pakradm
January 26th, 2015, 01:53
عرض سلام و احترام:53:

این خطا گویای این است که در جایی از Connection String خود به جای عبارت initial catalog عبارت initialcatalog را به کار برده اید، یعنی Space بین این دو لغت را نگذاشته اید.
چنانچه مشکل برطرف نشد و مایل بودید دسترسی بدهید تا برایتان بررسی و برطرف نمایم.

saeed.spore
January 26th, 2015, 09:53
سلام اوکی کردم ولی الان این ارور را میده


Server Error in '/' Application. Invalid object name 'yekhich.ir_user.Mosabeghe'. 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 'yekhich.ir_user.Mosabeghe'.

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): Invalid object name 'yekhich.ir_user.Mosabeghe'.]
System.Data.SqlClient.SqlConnection.OnError(SqlExc eption exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1787814
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341674
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +1693
System.Data.SqlClient.SqlDataReader.TryConsumeMeta Data() +61
System.Data.SqlClient.SqlDataReader.get_MetaData() +90
System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +377
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +1421
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +177
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +53
System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method) +137
System.Data.SqlClient.SqlCommand.ExecuteDbDataRead er(CommandBehavior behavior) +41
System.Data.Common.DbCommand.ExecuteReader(Command Behavior behavior) +10
System.Data.EntityClient.EntityCommandDefinition.E xecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +427

[EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.]
System.Data.EntityClient.EntityCommandDefinition.E xecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +497
System.Data.Objects.Internal.ObjectQueryExecutionP lan.Execute(ObjectContext context, ObjectParameterCollection parameterValues) +729
System.Data.Objects.ObjectQuery`1.GetResults(Nulla ble`1 forMergeOption) +131
System.Data.Objects.ObjectQuery`1.System.Collectio ns.Generic.IEnumerable<T>.GetEnumerator() +36
System.Data.Entity.Internal.Linq.InternalQuery`1.G etEnumerator() +72
System.Data.Entity.Infrastructure.DbQuery`1.System .Collections.Generic.IEnumerable<TResult>.GetEnumerator() +40
System.Collections.Generic.List`1..ctor(IEnumerabl e`1 collection) +369
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
TSBL.Bl.MosabegheBl.GetByDate() in e:\Portfolios\TakShoot\TSBL\Bl\MosabegheBl.cs:45

[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.UnsafeInvokeIn ternal(Object obj, Object[] parameters, Object[] arguments) +192
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +155
System.Web.UI.WebControls.ObjectDataSourceView.Inv okeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +486
System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteSelect(DataSourceSelectArguments arguments) +1609
System.Web.UI.WebControls.Repeater.GetData() +55
System.Web.UI.WebControls.Repeater.CreateControlHi erarchy(Boolean useDataSource) +89
System.Web.UI.WebControls.Repeater.OnDataBinding(E ventArgs e) +61
System.Web.UI.WebControls.Repeater.DataBind() +50
System.Web.UI.WebControls.Repeater.EnsureDataBound () +49
System.Web.UI.WebControls.Repeater.OnPreRender(Eve ntArgs e) +15
System.Web.UI.Control.PreRenderRecursiveInternal() +83
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Control.PreRenderRecursiveInternal() +155
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974





Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209

pakradm
January 26th, 2015, 12:00
عرض سلام و ادب:53:

لطفا بفرمایید Mosabeghe و yekhich.ir_user هر کدام نام چه چیزهایی هستند؟؟؟
خطای داده شده به معنی این است که گویا یکی از این دو شی وجود ندارند.
آیا دسترسی Owner به کاربر دیتابیس در MS SQL داده اید؟؟؟