c# - An error occurred creating the configuration section handler error in .NET 4.5 -
i have problem... nobody else can wonder if here can?
i have web service project (originally in .net 2.0 upgraded .net 4.5) working morning. have winforms project connects web services.
when building winforms app, build successful, when running it, error:
an error occurred creating configuration section handler applicationsettings/windows.main.properties.settings: not load file or assembly 'application, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089' or 1 of dependencies. system cannot find file specified.
i have looked through , other sites cannot find specific shows cause of error. i've tried downgrading .net frameworks , upgrading them again - running on 4.5 - fails on:
[global::system.configuration.applicationscopedsettingattribute()] [global::system.diagnostics.debuggernonusercodeattribute()] [global::system.configuration.specialsettingattribute(global::system.configuration.specialsetting.webserviceurl)] [global::system.configuration.defaultsettingvalueattribute("http://localhost:53442/configurationservice.asmx")] public string windows_main_bnconfigurationservice_configurationservice { { return ((string)(this["windows_main_bnconfigurationservice_configurationservice"])); }
i've checked through load of code cannot seem find cause of problem.
this easy fix in know, i'm not in know on error however! help?!
fixed! webservice solution set on .net 2.0. referenced ok in windows.main app. webservice framework subsequently updated 4.5 references in windows app didn't update - after deleting , re-adding them. i've upgraded web services wcf , looks good! input guys!!! steered me in right direction! :)
Comments
Post a Comment