9 messages in com.googlegroups.google-base-data-apiRe: error: Excution of reuest failed ...
FromSent OnAttachments
hmus...@gmail.com20 Mar 2007 10:51 
hmus...@gmail.com20 Mar 2007 15:42 
Frank Mantek20 Mar 2007 23:52 
hmus...@gmail.com21 Mar 2007 14:09 
Frank Mantek21 Mar 2007 23:56 
hmus...@gmail.com22 Mar 2007 08:17 
Stephane Zermatten22 Mar 2007 11:05 
hmus...@gmail.com23 Mar 2007 09:24 
hmus...@gmail.com24 Mar 2007 17:05 
Subject:Re: error: Excution of reuest failed : http://www.google.com/base/feeds/item
From:hmus...@gmail.com (hmus@gmail.com)
Date:03/22/2007 08:17:54 AM
List:com.googlegroups.google-base-data-api

Yes,i am running the version 1.0.9.4.

One more thing I would like to know is,once I insert the data when wil be that data available to public and how to see the uploaded data?

Thanks Hemanth

On Mar 22, 12:56 am, "Frank Mantek" <fman@gmail.com> wrote:

In regard to the floatunit issue...

There was a fix made in version 1.0.9.4.. is that the version you are running?

And the key should only be used for your application, not per seat, so you should be fine (although i am no expert witness on the developer keys...)

Frank Mantek

On 3/21/07, hmus@gmail.com <hmus@gmail.com> wrote:

Thanks for your reply Frank.

I am getting the follwoing errors <error type="data" field="Price" reason="Invalid type specified ('float') for field 'price'. Please omit type or specify type 'floatunit'." />

And some times I am getting the follwoing error.But this error is inconsistant. org.xml.sax.SAXParseException: The entity name must immediately follow the &#39;&amp;&#39; in the entity reference. String

the price I am converting it to single ,which is equivalent to float, in VB.net.The only price is giving this type of error.I am using some other float variables(bedrooms,bathrooms etc) ,they are working fine.I am setting the price like entry.GBaseAttributes.AddFloatAttribute("Price", Convert.ToSingle(propDr("price"))).

All this programming I have done is in my localbox with http::// localhost. Do I need to get separate key if I want to use this program in our production box?

Thanks Hemanth

On Mar 21, 12:52 am, "Frank Mantek" <fman@gmail.com> wrote:

Authsub support:

We are working on a sample, but it's not there yet. If someone has sample code to provide, send it my way...

In regard to your error, can you let us know what the actual error response (ResponseText property, also see:

http://code.google.com/p/google-gdata/wiki/ErrorHandling) is?

Regards

Frank Mantek

On 3/20/07, hmus@gmail.com <hmus@gmail.com> wrote:

And also could some body post the sample program for google authentication for web application in .net

On Mar 20, 11:51 am, "hmus@gmail.com" <hmus@gmail.com> wrote:

Hi, I am trying to upload the vacation rental properties to google base from our website. We are using asp.Net. I got the key for the webapphttp://localhost. I followed the guidlines given in API .When I run the program it gives an error like Excution of reuest failed :http://www.google.com/base/feeds/itemat the line service.insert(....). Could you somebody tell what is the wrong with my code. here is my code: Dim dtList As DataTable Dim cmd As New SqlCommand Dim service As GBaseService Dim entry As GBaseEntry Dim myEntry As GBaseEntry Dim key As String key = "ABQIAAAAm22Ll- M5piGrQmAaUJ8y3BT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTaDqQ7wo6_qnZT- QxdmG0GFBP09Q" service = New GBaseService("Vacation Rentals", key) service.setUserCredentials("hmusthuri", "sriram123") Dim i As Integer Dim propDr As DataRow

Try cmd.Parameters.Add("@CustomerIDFK", SqlDbType.Int).Value = mintCustomerIDFK dtList = clsUSADB.ExecuteSP(cmd, "uspExportToGoogleBase").Tables(0) If Not dtList Is Nothing And dtList.Rows.Count > 0 Then

For i = 0 To dtList.Rows.Count - 1 propDr = dtList.Rows(0) entry = New GBaseEntry() entry.Title.Text = propDr("TITLE") entry.Content.Content = propDr("description") entry.GBaseAttributes.ItemType = propDr("property_type") entry.GBaseAttributes.AddFloatAttribute ("Sleeps", propDr("numofsleeps"))

entry.GBaseAttributes.AddFloatAttribute("bathrooms", propDr("bathrooms")) entry.GBaseAttributes.AddFloatAttribute("Price", propDr("price"))

entry.GBaseAttributes.AddFloatAttribute("bedrooms", propDr("bedrooms")) entry.GBaseAttributes.AddImageLink("image_link") entry.GBaseAttributes.AddUrlAttribute("Link", propDr("Link")) entry.GBaseAttributes.ExpirationDate = "2007-08-25" 'CDate(propDr("expirationdate"))

entry.GBaseAttributes.AddTextAttribute("Professionally Managed By", propDr("CustomerNumber")) entry.GBaseAttributes.Location = "2701 Alcott street,Denver,Colorado" myEntry = service.Insert(GBaseUriFactory.Default.ItemsFeedUri, entry) Next End If Catch ex As Exception Throw New Exception( System.Reflection.MethodBase.GetCurrentMethod.Name.ToString, ex) End Try

End Sub

Could you somebody tell what is the wrong with my code.

Thanks hmusthuri- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -