Host 'myserver' is not allowed to connnect to this MySQL server

cdlciddit used Ask the Experts™
I don't know what happened.  I have a windows server 2008 R2 enterprise running .net and wordpress websites.  I just installed the Wordpress stuff on the server.  Now when I go to a site that is .net I get This error:

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Host '' is not allowed to connect to this MySQL server

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config    Line: 177

Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491

I don't know what to do about this.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Wordpress doesn't use .net  it is written in PHP.  Which server holds mysql?
What I actually ended up doing was going into my machine.config file and deleting the entry that WordPress made when I installed it using the Web Platform Installer in IIS. This fixed my problem but didn't fix the issue.


After deleting the entry that WordPress made in my machine.config file my .net stuff started working again.  But it may have mess up something on one of my WordPress sites.  I don't know yet. ??????

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial