Something tells me that you're trying to use the SOAP API with an AJAX API key. The two don't work together. And in fact, the SOAP API has been deprecated (i.e., they're not handing out any more keys) and will be retired in August of this year. Look in the AJAX API documentation to use Google search services in your application:
http://code.google.com/apis/ajaxsearch/documentation/index.html#fonje http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Apr 3, 2009, at 12:49 PM, pritam wrote: > > Hi i generated new key and tryign to use the AJAX search API in C# > windows app but i get Invalid key message.Any help? > > my code is like this- > WebService1.com.google.api.GoogleSearchResult gr = new > WebService1.com.google.api.GoogleSearchResult(); > WebService1.com.google.api.GoogleSearchService svr = new > WebService1.com.google.api.GoogleSearchService(); > gr = svr.doGoogleSearch > ("ABQIAAAAwjmixmmfjHK_BykLvcddQhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRRPVLnIigYUYufBSxBGaTn3S7Zug > > ", > "pritam", 0, 10, false, "", true, "", "", ""); > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
