|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
Hi there:
Im building an internal web site for the Co. where I work. Please explain me this proyect step by step Im New in this. If you have time. This is my E-mail: southern38special@yahoo.com And I downloaded a API source by Google but I dont know if it is the correct one. Even I undersatd the code but like I said Im new in this. Thank You So Much.
Jose
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
1. What should be the contents of GoogleWebService.cs after creating that file under bin directory.
2. Can anybody give me full path from where to download the API of Webservice.
I have got hanged plz help me out
Regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi..
I have visual studio 2003 and I am trying to use Google Search Web Service(C#).But I got the error:
DataBinder.Eval: 'EProjects.googleapi.ResultElement' does not contain a property with the name title.
The source code of the Web Form that should display the Google Search Results:
using googleapi; /// <summary> /// Summary description for GoogleResults. /// </summary> public class GoogleResults : System.Web.UI.UserControl { protected System.Web.UI.WebControls.ImageButton imgPrev; protected System.Web.UI.WebControls.ImageButton imgNext; protected System.Web.UI.WebControls.DataList lGoogle; public EProjects.googleapi.GoogleSearchResult gsR; public EProjects.googleapi.GoogleSearchService gcs;
private void Page_Load(object sender, System.EventArgs e) { gcs=new googleapi.GoogleSearchService(); gsR=gcs.doGoogleSearch(licenceKeyString,Request.QueryString["Query"], 0, 1,true, "", true, "", "", ""); PopulatelGoogle(gsR); }
#region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer. // InitializeComponent(); base.OnInit(e); } /// <summary> ///Required method for Designer support - do not modify ///the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Load += new System.EventHandler(this.Page_Load);
} #endregion
private void PopulatelGoogle(GoogleSearchResult gsR) { lGoogle.DataSource=gsR.resultElements; lGoogle.DataBind(); } } }
The HTML code of the same page:
<table height="100%" width="100%"> <tr> <td colSpan="2"> <asp:datalist id="lGoogle" runat="server"> <ItemTemplate> <span style="font-size:17px;font-weight:bold;"> <%#DataBinder.Eval(Container.DataItem,"title")%> </span></br> <%#DataBinder.Eval(Container.DataItem,"snipper")%> </br> <a href='<%#DataBinder.Eval(Container.DataItem,"URL")%>'> <%#DataBinder.Eval(Container.DataItem,"URL")%> </a> </ItemTemplate> <SeparatorTemplate> </p> </SeparatorTemplate> </asp:datalist></td> </tr> <tr> <td align="left"><asp:imagebutton id="imgPrev" Runat="server"></asp:imagebutton></td> <td align="right"><asp:imagebutton id="imgNext" Runat="server"></asp:imagebutton></td> </tr> </table>
I tried to solve this problem for a long time but I couldnt please help.
I am too late but i will never give up
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
Hello,
in our example only the Headline of the Search Result is given Back from google. The Summary isnt displayed!
I´ve testet the script:
ResultElement[] resul t= res.resultElements
The Summary String in res.resultElements is always empty!
Where is the Problem? I dont want to use google api if only the headlines will be displayed!
if anyone have a solution for this problem please mail me:
p.schweizer@wachter.de
Thx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Hi All, We are migrating our application to ASP .NET and have released the code on Remote Servers in two different environments. We use Http Remoting to communicate between the Webserver and the Appserver. In one of the environments, when we try to run the application and load the page, it gives an error message "Underlying Connection was Closed. Unable to connect to remote server" . I think this message is indicative that the webserver is not properly able to communicate with the Appserver.But, we are not getting any such message for the servers in the other environment and the application is working fine. We tried restarting both Web & App servers and also verified the code used for Httpremoting. But, the problem dosen't seem to get resolved. Can somebody sugggest some reasons that might have caused the problem ? Even though the application loads completely in the other environment, we still facing a problem here. For one of the links, we get an error message "Server unavailable. Please contact system administrator" even though all other parts of the application are using the same server and same approach. For resolving this problem, we tried recreating the Virtual Directory on the IIS used for this link & also restarting the IIS on the server. However, no success. Could somebody put some light on this issue too. Thanks & Regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hi! I had this problem to but now! This is the solution for you: don't use proxy 
Member:dathq
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I am having an ASP.NET application wher i need to get the name of the default printer of the client machine.Can any body tell me how i would do this?
Thanks in advance,
Rajesh
|
| Sign In·View Thread·PermaLink | 1.80/5 (5 votes) |
|
|
|
 |
|
|
I've got the sample file, I am getting the following Exception!!
The underlying connection was closed: Unable to connect to the remote server. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server.
Any Idea??
|
| Sign In·View Thread·PermaLink | 1.75/5 (6 votes) |
|
|
|
 |
|
|
This may be a configuration issue with your ISA server. We had the same problem and had to firstly run the ASP.NET application on the ISA 2000 server, and then create a new IP packet filter. To do this, follow my guide below.
- Open ISA 2000 management console
- Expand Servers and Arrays
- Expand your server
- Expand Access Policy
- Select IP Packet Filters
- Right click IP Packet Filters and choose New, Filter.
- Enter a suitable name like HTTP (out). Press Next.
- Choose Allow packet transmission. Press Next.
- Choose Custom. Press Next.
- Choose:
- IP Protocol:TCP
- Direction: Outbound
- Local port: All ports
- Remote port: Fixed port
- Remote port number: 80
- Press Next.
- Choose Default IP addresses for each external interface on the ISA Server computer. Press Next.
- Choose All remote computers. Press Next.
- Press Finish.
Good luck
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I'm dead serious. This is not a loaded question in any way.
I am for the most part a PHP person, but just started learning ASP.NET because that's what we use at work, and I like it a lot (much to my surprise). I do web work strictly on the side, and I am in no way a pro of any kind. So, that said, here's the question:
To impliment a google web lookup like this in PHP would take me maybe a dozen lines of code, and probably less. So, why is the same operation so darn convoluted in VB/C#? Scalability? Security? ??
Again, this is a totally innocent question.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I think Web Look up and Web Services are totally different concepts. I have no idea about PHP. So, my answer would be innocent. 
satan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
when am testing it it have gave me "Exception from service object: Invalid authorization key: get the licence key for the google "
what to do ..?
thanx and realy nice work
cloudnum_9@hotmail.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
when am testing it it have gave me "Exception from service object: Invalid authorization key: get the licence key for the google "
what to do ..?
thanx and realy nice work
|
| Sign In·View Thread·PermaLink | 1.33/5 (2 votes) |
|
|
|
 |