We have had a few clients running into issues with the Stock Quote Web Part, I am working on an updated documentation/troubleshooting guide but for now here are a few issues you might run into (especially if you are wanting to hit your own local web service to pull stock information which is faster).
1. Within your WSS\ directory you will want to modify your web.config. There is a line that looks like 2. Within your WSS\wpresources\ directory there is another web.config file. You will want to modify this web.config and remove the lines at the top relating to the .asmx files ( I believe its something like... ) This is necessary in order for the web service to work on your local system. 3. If the web service works on your system (you can test by navigating to http://yoursite/wpresources/stockquote/dataspringsstocksearch.asmx) but its still not working on your within the web part then make sure you enable anonymous access to a user (with very little rights). This is done in IIS, open the properties within IIS for the WSS site, go to directory security, and enable anonymous access to the default user or a user with limited rights. You can still have windows authentication enabled. -Chad
2. Within your WSS\wpresources\ directory there is another web.config file. You will want to modify this web.config and remove the lines at the top relating to the .asmx files ( I believe its something like... ) This is necessary in order for the web service to work on your local system.
3. If the web service works on your system (you can test by navigating to http://yoursite/wpresources/stockquote/dataspringsstocksearch.asmx) but its still not working on your within the web part then make sure you enable anonymous access to a user (with very little rights). This is done in IIS, open the properties within IIS for the WSS site, go to directory security, and enable anonymous access to the default user or a user with limited rights. You can still have windows authentication enabled.
-Chad
This did not show up correctly so I am uploading the 'How to' as a txt file.
Thanks for the hints.
I would like to get it working on the internal. At the moment it gives me an error 403 (forbidden). I have anonymous enabled, but was unable to find anything in either web.config to do with asmx files.
Not sure what you were referring to for #1 above (first post) as there is nothing there, maybe it was dropped off the post. ie, looks like ????
same with #2, something like ...
Thankms
Wish I could delete what I posted. Anyway, I got different error now. This is when I have mode off and using local server. I have to get local working, other method is too slow (about 1-2 minutes).
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'outthebox.web.services.YahooQuoteWebService'. Source Error:
<pre><font color="#ff0000">Line 1: </font>Line 2: Line 3: Imports System.Web</pre>