Re: Can not uninstall .NET Connector 6.7.2 (RemoveProfileProvider fault?)
Posted by: n/a n/a
Date: May 28, 2013 01:37AM

I went deeper and analyzed MySql.Web.Security.CustomInstaller.RemoveProfileProvider from connector C# code. Following code is not properly checked:

XmlNodeList nodes = doc.GetElementsByTagName ("profile");
XmlNode providersNode = nodes [0].FirstChild;
foreach (XmlNode node in providersNode.ChildNodes)
{
string name = node.Attributes ["name"].Value;
if (name == "MySQLProfileProvider")
{

This code expects every XML node below machine.config's <system.web\profile\providers> to have "name" attribute. Otherwise it crashes. It was happening to me, cause I had <clear /> node there (which doesn't make much sense in machine.config, but is valid).

In general .NET Connector installer is very sensitive of machine.config files, which comes from MySql.Web.Security.CustomInstaller class.

Options: ReplyQuote


Subject
Written By
Posted
Re: Can not uninstall .NET Connector 6.7.2 (RemoveProfileProvider fault?)
May 28, 2013 01:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.