0
Answered

Identity Broker 4 - error:Configuration file is not well-formed XML

André van der Westhuizen 7 years ago • updated by anonymous 4 years ago 2

I have installed Identity Broker Service v4.0 RTM x64 and Web Service v4.0 RTM x64. I have configure the for use with IIS as per https://unifysolutions.jira.com/wiki/display/IDB40/Configuring+for+use+with+IIS. When I browse to "http://localhost:8008/" I receive an error to add defaultRedirect="mycustompage.htm to the web.config file. I have add the line to the web.cnofig, run a IISRESET.

When I browse to "http://localhost:8008/" I receive the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error Configuration file is not well-formed XML
Config File \\?\D:\Program Files\UNIFY Solutions\Identity Broker\StandaloneWeb\web.config
Requested URL http://localhost:8008/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source
44:
45: <httpRuntime maxQueryStringLength="16384" />
46:
Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information »

Affected Versions:
Fixed by Version:

André,

I suggest looking at the edits you made to web.config and see if they have made it invalid XML.

After a restart I try again to access the site, but was still unsuccessful. Have noted that the IdB services has not started. Re-enter the service account details and grant the user read and write permissions on the Database. Change the IIS binding to port 8200 and restart the service. Could log successfully onto http://localhost:8008.