System.Configuration.SettingsPropertyNotFoundException: when attempting to access SSRS report execution service -
i have .net 4.0 project has web reference report execution service. when run test code against works fine. when migrate machine calls service fail with:
system.configuration.settingspropertynotfoundexception: settings property 'mynamespace_localhost_reportexecutionservice' not found.
my settings.settings file looks this:
[global::system.configuration.applicationscopedsettingattribute()] [global::system.diagnostics.debuggernonusercodeattribute()] [global::system.configuration.specialsettingattribute(global::system.configuration.specialsetting.webserviceurl)] [global::system.configuration.defaultsettingvalueattribute("http://localhost:8080/reportserver/reportexecution2005.asmx")] public string mynamespace_localhost_reportexecutionservice { { return ((string)(this["mynamespace_localhost_reportexecutionservice"])); } }
the app.config looks this:
<applicationsettings> <mynamespace.properties.settings> <setting name="mynamespace_localhost_reportexecutionservice" serializeas="string"> <value>http://localhost:8080/reportserver/reportexecution2005.asmx</value> </setting> </mynamespace.properties.settings> </applicationsettings>
as far can tell, correct. have tried dropping , recreating web service reference no effect. out of ideas @ point. again, works on dev machine. issue occurs when put assembly on server. execution service running on server can through url.
does know issue might be?
Comments
Post a Comment