Getting an error every time you start WWWinamp v4.1?


Are you getting the following error every time you start WWWinamp?

C#:
  1. System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WWWinamp\WWWinamp.exe.Config line 67)
  2. at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
  3. at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
  4. at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
  5. at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
  6. --- End of inner exception stack trace ---
  7. at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
  8. at System.Configuration.ConfigurationManager.GetSection(String sectionName)
  9. at System.Configuration.ConfigurationManager.get_AppSettings()
  10. at ENusbaum.Applications.WWWinamp.Classes.AppConfiguration.get_configWWWinampStartHTTP()
  11. at ENusbaum.Applications.WWWinamp.Forms.frmMain.Form1_Load(Object sender, EventArgs e)

This is WWWinamp's friendly way of saying that you do not have the Microsoft .NET Framework v3.0 installed. You can download it from Microsoft here.

Cheers! :)

  1. #1 by dawolf on December 21, 2007 - 9:46 AM

    I’ve got this message (only line 1-5) and now removed all the sytem.serviceModel settings from the config file and it starts up now.

  2. #2 by eric on December 21, 2007 - 10:15 AM

    Although this could be considered a ‘work around’, it’s not a fix. What you’re doing is removing all the configuration information for the WWWinamp WCF Endpoint, basically making it useless. Also, if you try to enable the WCF endpoint in the future, you will receive another error.

    I still stand by my original suggestion that installing the .NET 3.0 Framework is the best solution to this issue.

(will not be published)

Powered by WP Hashcash