From: Tobi on 3 Sep 2006 12:26 When adding the webservice http://localhost/ReportServer$SQL2005D_1/ReportExecution2005.asmx to my asp.net application it seems that i can never change it. Even though the following key <add key="ReportExecution2005.ReportExecution2005" value="http://localhost/ReportServer$SQL2005D_1/ReportExecution2005.asmx" /> is added to the web.config file when I cange this to a production server i get a Bad Request 400 i.e. URL does not exist. How do you dynamically change the web service URL in an asp.net 2.0 appliaction. If i use a classy library it creates a confiuration settings section and put the url in there and I can change it and the it works. But it does not work when the web service is declared inside a web application and the seeting is under appsettings in the web.config. Any Ideas Thanks Toby.
|
Pages: 1 Prev: Reporting Services Error Next: Exception deserializing LocalProcessingException |