I set up a test website on my local box and was able to access sharepoint search using the querySearch web service from SP. After I got it all working properly I transferred the code to the target website that is set up with anonymous access for all
people on the fab floor. However from this website I keep getting the 401 error. It can't be SP because the same code worked from my local website "localhost". Any suggestions? we don't want to have to have the fab people log in so
we can't not have the box anonymous. I would appreciate any suggestions very much!!!
Using WSS 2007 with MOSS.
private void GetDefaultCredentials()
m_where = "get configuration data for credentials";
string userid = ConfigurationManager.AppSettings[ "userid" ];
string password = ConfigurationManager.AppSettings[ "password" ];
string domain = ConfigurationManager.AppSettings[ "domain" ];
m_where = "set search query credentials";
m_query.Credentials = new NetworkCredential ( userid, password
View Complete Post