Server Error in '/clonedeploy' Application.

  1. last year

    Its been a long time since i have used clonedeploy

    i was wondering if anyone can help me out with this issue i am experiencing - no errors on the installation but i encounter this error when opening clonedeploy

    thank you and more power

    Access denied for user 'root'@'localhost' (using password: YES)

    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: MySql.Data.MySqlClient.MySqlException: Access denied for user 'root'@'localhost' (using password: YES)

    Source Error:

    Line 57:
    Line 58: if (filter != null)
    Line 59: query = query.Where(filter);
    Line 60:
    Line 61: if (orderBy != null)

    Source File: c:\Program Files (x86)\clonedeploy\web\App_Code\DAL\GenericRepository.cs Line: 59

    Stack Trace:

    [MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: YES)]
    MySql.Data.MySqlClient.MySqlStream.ReadPacket() +344
    MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +40

    [MySqlException (0x80004005): Authentication to host '127.0.0.1' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: YES)]
    MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) +218
    MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +109
    MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) +377
    MySql.Data.MySqlClient.NativeDriver.Open() +861
    MySql.Data.MySqlClient.Driver.Open() +36
    MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +335
    MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +318
    MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +148
    MySql.Data.MySqlClient.MySqlPool.GetConnection() +57
    MySql.Data.MySqlClient.MySqlConnection.Open() +1293
    MySql.Data.MySqlClient.MySqlProviderServices.GetDbProviderManifestToken(DbConnection connection) +181
    System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection) +116

    [ProviderIncompatibleException: The provider did not return a ProviderManifestToken string.]
    System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection) +377
    System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection) +24

    [ProviderIncompatibleException: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See http://go.microsoft.com/fwlink/?LinkId=386386 for information on DbContext and connections. See the inner exception for details of the failure.]
    System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection) +101
    System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +84
    System.Data.Entity.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) +89
    System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) +63
    System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) +91
    System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input) +227
    System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +898
    System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +25
    System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +77
    System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +21
    System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +59
    System.Linq.Queryable.Where(IQueryable`1 source, Expression`1 predicate) +61
    DAL.GenericRepository`1.GetFirstOrDefault(Expression`1 filter, Func`2 orderBy) in c:\Program Files (x86)\clonedeploy\web\App_Code\DAL\GenericRepository.cs:59
    BLL.Setting.GetSetting(String settingName) in c:\Program Files (x86)\clonedeploy\web\App_Code\BLL\Setting.cs:14
    Helpers.Settings.get_ForceSsL() in c:\Program Files (x86)\clonedeploy\web\App_Code\Helpers\Settings.cs:44
    views.login.Default.Page_Load(Object sender, EventArgs e) in c:\Program Files (x86)\clonedeploy\web\views\login\login.aspx.cs:21
    System.Web.UI.Control.OnLoad(EventArgs e) +97
    System.Web.UI.Control.LoadRecursive() +154
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4746

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

  2. clonedeploy

    14 Feb 2017 Administrator

    Check the mysql password in c:\Program Files (x86)\clonedeploy\web\web.config to make sure it matches what you used during installation

 

or Sign Up to reply!