NickolajA / ConfigMgrWebService

48 stars 35 forks source link

ConfigMgrWebService web config file issue #1

Open gokularvind05 opened 7 years ago

gokularvind05 commented 7 years ago

4 - Set Application Settings

Open IIS management console, expand Sites and Default Web Site. Select ConfigMgrWebService application and go to Application Settings.

Getting below error's Config File \?\C:\inetpub\ConfigMgrWebService\web.config Config Error Configuration file is not well-formed XML

Thiswebconfig file is present web.release.config. As per instruction I have changed web.config and pasted configmgrwebservice folder under..

gokularvind05 commented 7 years ago

Please mail me any solution

jholl016 commented 7 years ago

My web.config file looks like this, and everything is working fine: <?xml version="1.0" encoding="utf-8"?>

<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->

<configuration> <system.web> <compilation debug="false" targetFramework="4.0" /> <httpRuntime targetFramework="4.0" /> </system.web>

<appSettings> <add key="SiteServer" value="[my primary site server]" /> <add key="SiteCode" value="[my site code]" /> <add key="SecretKey" value="[my secret key]" /> <add key="SQLServer" value="" /> <add key="SQLInstance" value="" /> <add key="MDTDatabase" value="" /> </appSettings> </configuration>

Perhaps you could compare this to your web.config file to see if anything looks wrong?