Suddenly my EF/MVC/MySQL Visual Studio 2012 project stopped working (Windows 7), EDMX designer is crashing with message "The specified store provider cannot be found in the configuration, or is not valid."
I decided to uninstall Connector, but I can not. NET Connector 6.7.2. MSI starts, then before finishing it rolls back the action.
MSI log says (full log here: http://pastebin.com/Tpyc5LeU):
MSI (s) (B0:24) [00:29:08:265]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI3F51.tmp, Entrypoint: CAQuietExec
CAQuietExec: Entering CAQuietExec in C:\Windows\Installer\MSI3F51.tmp, version 3.7.1224.0
CAQuietExec: "C:\Windows\Microsoft.NET\Framework\v4.0.30319\installUtil.exe" /LogToConsole=false /LogFile= /u "C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll"
CAQuietExec: Copyright (c) Microsoft Corporation. All rights reserved.
CAQuietExec:
CAQuietExec: (Exception message in Polish)
CAQuietExec: Error 0xffffffff: Command line returned an error.
CAQuietExec: Error 0xffffffff: CAQuietExec Failed
CustomAction ManagedWebUnInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 00:29:08: InstallFinalize. Return value 3.
MSI (s) (B0:74) [00:29:08:553]: User policy value 'DisableRollback' is 0
MSI (s) (B0:74) [00:29:08:553]: Machine policy value 'DisableRollback' is 0
MSI (s) (B0:74) [00:29:08:555]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1119617956,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (B0:74) [00:29:08:555]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B0:74) [00:29:08:555]: Executing op: DialogInfo(Type=1,Argument=MySQL Connector Net 6.7.2)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90a.rbf)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90b.rbf)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90c.rbf)
Action 00:29:08: Rollback. Rolling back action:
Rollback: Unregistering web providers from machine.config
MSI (s) (B0:74) [00:29:08:557]: Executing op: ActionStart(Name=ManagedWebUnInstall,Description=Unregistering web providers from machine.config,)
MSI (s) (B0:74) [00:29:08:558]: Executing op: ProductInfo(ProductKey={9E445D51-ABC8-4013-9019-ED2F7E8170E5},ProductName=MySQL Connector Net 6.7.2,PackageName=mysql-connector-net-6.7.2.msi,Language=1033,Version=101122050,Assignment=1,ObsoleteArg=0,,,PackageCode={BBFF6854-46EA-4FC3-9B65-F4654087FA13},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2)
Rollback: Unregistering data provider from machine.config
So I ran "C:\Windows\Microsoft.NET\Framework\v4.0.30319\installUtil.exe" /LogToConsole=false /LogFile=c:\log_a.txt /u "C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll"
Got:
Odinstalowywanie zestawu 'C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll'.
Uwzględnione parametry to:
logtoconsole = false
logfile = c:\log_a.txt
assemblypath = C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll
Podczas dezinstalacji instalatora MySql.Web.Security.CustomInstaller wystąpił wyjątek.
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
Basically it got System.NullReferenceException.
So I've debugged it using VS2012 and intercepted the exception:
Exception: System.NullReferenceException
Source: MySql.Web
StackTrace: in MySql.Web.Security.CustomInstaller.RemoveProfileProvider(XmlDocument doc)
I did remove all MySQL related entries from all of my machine.configs, but still no luck and I'm stuck.
Any idea where to go now?
I decided to uninstall Connector, but I can not. NET Connector 6.7.2. MSI starts, then before finishing it rolls back the action.
MSI log says (full log here: http://pastebin.com/Tpyc5LeU):
MSI (s) (B0:24) [00:29:08:265]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI3F51.tmp, Entrypoint: CAQuietExec
CAQuietExec: Entering CAQuietExec in C:\Windows\Installer\MSI3F51.tmp, version 3.7.1224.0
CAQuietExec: "C:\Windows\Microsoft.NET\Framework\v4.0.30319\installUtil.exe" /LogToConsole=false /LogFile= /u "C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll"
CAQuietExec: Copyright (c) Microsoft Corporation. All rights reserved.
CAQuietExec:
CAQuietExec: (Exception message in Polish)
CAQuietExec: Error 0xffffffff: Command line returned an error.
CAQuietExec: Error 0xffffffff: CAQuietExec Failed
CustomAction ManagedWebUnInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 00:29:08: InstallFinalize. Return value 3.
MSI (s) (B0:74) [00:29:08:553]: User policy value 'DisableRollback' is 0
MSI (s) (B0:74) [00:29:08:553]: Machine policy value 'DisableRollback' is 0
MSI (s) (B0:74) [00:29:08:555]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1119617956,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (B0:74) [00:29:08:555]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B0:74) [00:29:08:555]: Executing op: DialogInfo(Type=1,Argument=MySQL Connector Net 6.7.2)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90a.rbf)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90b.rbf)
MSI (s) (B0:74) [00:29:08:556]: Executing op: RegisterBackupFile(File=C:\Config.Msi\49b90c.rbf)
Action 00:29:08: Rollback. Rolling back action:
Rollback: Unregistering web providers from machine.config
MSI (s) (B0:74) [00:29:08:557]: Executing op: ActionStart(Name=ManagedWebUnInstall,Description=Unregistering web providers from machine.config,)
MSI (s) (B0:74) [00:29:08:558]: Executing op: ProductInfo(ProductKey={9E445D51-ABC8-4013-9019-ED2F7E8170E5},ProductName=MySQL Connector Net 6.7.2,PackageName=mysql-connector-net-6.7.2.msi,Language=1033,Version=101122050,Assignment=1,ObsoleteArg=0,,,PackageCode={BBFF6854-46EA-4FC3-9B65-F4654087FA13},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2)
Rollback: Unregistering data provider from machine.config
So I ran "C:\Windows\Microsoft.NET\Framework\v4.0.30319\installUtil.exe" /LogToConsole=false /LogFile=c:\log_a.txt /u "C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll"
Got:
Odinstalowywanie zestawu 'C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll'.
Uwzględnione parametry to:
logtoconsole = false
logfile = c:\log_a.txt
assemblypath = C:\Program Files (x86)\MySQL\MySQL Connector Net 6.7.2\Assemblies\v2.0\MySql.Web.dll
Podczas dezinstalacji instalatora MySql.Web.Security.CustomInstaller wystąpił wyjątek.
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
Basically it got System.NullReferenceException.
So I've debugged it using VS2012 and intercepted the exception:
Exception: System.NullReferenceException
Source: MySql.Web
StackTrace: in MySql.Web.Security.CustomInstaller.RemoveProfileProvider(XmlDocument doc)
I did remove all MySQL related entries from all of my machine.configs, but still no luck and I'm stuck.
Any idea where to go now?