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
لطفا اگه میشه کمک کنید
فایل های 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
لطفا اگه میشه کمک کنید