Hi,

Can you share a packet capture of the requests you are sending? I
think comparing the working request to the non-working one should
hopefully shed some light on what exactly is going wrong. I recommend
using Wireshark.

Also you may want to look in the Docs API group:

http://groups.google.com/group/Google-Docs-Data-APIs/

Cheers,
-Jeff

On Jun 8, 3:53 pm, Salem5 <[EMAIL PROTECTED]> wrote:
> If I try to run following example to test Google Spreadsheets API
> for .NET on my xsp2 maschines, i always get an 404 Error.
>
> in the aspx part:
>
> #################################
>
> <%@ Page Language="C#" AutoEventWireup="true"
> CodeFile="Default.aspx.cs" Inherits="_Default" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head runat="server">
>     <title>Unbenannte Seite</title>
> </head>
> <body>
>
> <asp:Label ID="asd" runat="server" />
>
>     <form id="form1" runat="server">
>     <div>
>
>     </div>
>     </form>
> </body>
> </html>
> ################################
>
> and in the aspx.cs part:
>
> #################################
> using System;
> using System.Configuration;
> using System.Data;
> //using System.Linq;
> using System.Web;
> using System.Web.Security;
> using System.Web.UI;
> using System.Web.UI.HtmlControls;
> using System.Web.UI.WebControls;
> using System.Web.UI.WebControls.WebParts;
> //using System.Xml.Linq;
>
> using Google.GData.Client;
> using Google.GData.Extensions;
> using Google.GData.Spreadsheets;
>
> public partial class _Default : System.Web.UI.Page
> {
>     private SpreadsheetsService theService;
>     public string test = "";
>     protected void Page_Load(object sender, EventArgs e)
>     {
>
>         theService = new SpreadsheetsService("Spreadsheet-GData-Sample-
> App");
>         theService.setUserCredentials("myusermail", "mypassword");
>
>         Google.GData.Spreadsheets.SpreadsheetQuery query = new
> Google.GData.Spreadsheets.SpreadsheetQuery();
>         SpreadsheetFeed feed = theService.Query(query);
>         test = "";
>
>         foreach (SpreadsheetEntry entry in feed.Entries)
>         {
>             test += "blubber\r\n<br>";
>         }
>
>         asd.Text = "test";
>
>     }
> ############################################
>
> This works only on the ASP.Net Development Server but not on xsp2.
> I've tested it on the same maschine, in a virtual Maschine running
> Ubuntu Desktop, and on my little server with Ubuntu Server.
>
> The error is:
>
> ====================
> The remote server returned an error: (404) Not Found.
>
> Description: HTTP 500. Error processing request.
>
> Stack Trace:
>
> System.Net.WebException: The remote server returned an error: (404)
> Not Found.
>   at System.Net.HttpWebRequest.CheckFinalStatus
> (System.Net.WebAsyncResult result) [0x00000]
>   at System.Net.HttpWebRequest.SetResponseData
> (System.Net.WebConnectionData data) [0x00000]
>
> ===============
>
> I've searched the Web but still have no clue why this happens, I
> really would appreciate help.
> Would it help, if I run this example on auth sub instead of client
> login?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to