Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 19, 2006 04:09 PM by mikebridge
May 09, 2006 02:34 PM|LINK
May 09, 2006 05:10 PM|LINK
There is a known issue where you can get into this state if the settings.settings file ever gets deleted, or is missing, and dynamic urls are used. The fix is to open the Settings.settings file (just double-click it). You should see entries similar to the
following for you dynamic urls.
Name Type Scope Value
MyApp_localhost_Service (Web Service URL) User http://localhost:2305/WebSite8/Service.asmx
Notice the type field - it needs to be set to "(WebService URL)" - one of the choices in the type dropdown. Most likely it is set to be of type String and this what causes the error.
Can you try this? We are looking at getting this fixed for SP1 of Visual Studio (it is an issue in the core VS code base so WAP cannot fix it directly.)
May 09, 2006 07:53 PM|LINK
May 09, 2006 09:36 PM|LINK
May 09, 2006 10:23 PM|LINK
btw: this post highlights some of the differences is proxy generation and web.config settings between VS03 WAP and Web Sites.
Hope this helps,
May 10, 2006 09:31 AM|LINK
May 10, 2006 06:51 PM|LINK
May 10, 2006 07:40 PM|LINK
May 10, 2006 09:03 PM|LINK
When you opened your settings file, did it tell you that new values from app.config (actually web.config) will be added? Try one more thing. Dynamic url information is stored in web.config as well. You will see an entry like the following:
Back up your web.config and then do the following:
1) Delete settings.settings
2) Open web.config and Delete the entry that look like: <section
3) Further down in the web.config you should will see the following, with one <Setting> per web reference. Remove all the web references from there.
May 11, 2006 08:29 AM|LINK