From the looks of it, you're trying to use the old SOAP Search API or  
wsdl service. This service was deprecated in December 2006 and  
discontinued earlier this month. You will not be able to use it. The  
AJAX Search API's cursor.estimatedResultCount is generally not  
accurate, but it is the best you can legally, programmatically obtain  
from Google.

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 Sep 24, 2009, at 12:12 AM, Goel wrote:

>
> Hi
>
>  I need to get the number of result of any text.for example
> we are searching as ".net developement process"
>
> so result need - number of result = 2300 for example
>
>  I am using the below code
>
> GoogleSearchService GSS = new GoogleSearchService();
>
>         //Create new Google Search Result
>         string licensekey =
>
> "ABQIAAAApAfKvHnlgudb6B4RAth3rBRqMtI6TmfFpjE_nNUIeqypmSKrtRRTKBwDljKNad1AaF
> bG4zn4R1SlqQ";
>
>         string firsttxtbox = txtboxFirst.Text.Trim();
>         string secondtxtbox = txtboxSecond.Text.Trim();
>         string searchPhrase = firsttxtbox ;
>         GoogleSearchResult GSR = GSS.doGoogleSearch(licensekey,
> searchPhrase, 1, 10, false, string.Empty, true, string.Empty,
> string.Empty, string.Empty);
>
>         // Store the number of total results
>         int resNum = GSR.estimatedTotalResultsCount;
>
> but at execution time  show this error on the below line
>
>    GoogleSearchResult GSR = GSS.doGoogleSearch(licensekey,
> searchPhrase, 1, 10, false, string.Empty, true, string.Empty,
> string.Empty, string.Empty);
>
> Error:
> unable to automatically step into the server. connecting to the
> server
> machine 'www.google.com'failed. The debugger cannot connect to the
> remote computer. This may be because the remote computer does not
> exists or a firewall may be preventing
>
> Please suggest me.
>
> Thanks
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to