On March 19, 2008 10:22 PM
Rich Cooper wrote:

> I finally located the application event log, tried to run
> MySQLInstanceConfig.exe, and got the same result again, which
generated
> an
> error event.  Here is the text from the event:
> ==============================
> Activation context generation failed for "C:\Program Files\MySQL\MySQL
> Server 5.1\bin\MySQLInstanceConfig.exe".Error in manifest or policy
> file
> "C:\Program Files\MySQL\MySQL Server 5.1\bin\MySQLInstanceConfig.exe"
> on
> line 6. The value "asAdministrator" of attribute "level" in element
> "urn:schemas-microsoft-com:asm.v1^requestedPrivileges" is invalid.
> ==============================
> 
> This seems to indicate that I have to be logged in as an administrator
> to
> run this.  I could use "run as adiministrator", which is what I do to
> run
> Delphi, but that's the ugly way.

If starting the program with "run as administrator" would work it
shouldn't be a problem since (judging by the name of the program) that's
a program you'll only run once. Unfortunately I don't think that's going
to fix it since the error you got in the event log looks like a syntax
error in the application's manifest, not a privileges error. You'll
probably get the same error as administrator or as normal user. If
that's the case the best option is to go to the mysql site and update
your MySQL. If that doesn't fix it try finding a way to avoid using
"MySQLInstanceConfig.exe". If that's not possible try fixing the problem
yourself - try replacing the manifest with a good one. Please note I
don't use MySQL so I have no idea if any of my propositions would work.

> Since I am the only one who uses my computer, I guess the simplest fix
> is to
> log in permanently as administrator, but I don't know the default
> password
> for that.  Do you know what the default password is for Vista Home
> Basic
> when logging in as administrator?

You're being asked for the Administrator password when you install
Vista. If you got your computer with Vista preinstalled chances are the
password is the empty string (no password). If none of this work just go
to Control Panel and change the password for the Administrator user to
whatever you want, since you're already an administrator (you can run
Delphi with "run as administrator"). But I guess that's not what you
want, you probably want to turn UAC off (since you're already logged on
as an member of the Administrators group).

--
Cosmin Prund
_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db

Reply via email to