Hi Stephane, The only reason I could think of is a NullReferenceException on this line: https://github.com/googleads/googleads-adwords-dotnet-lib/blob/master/src/AdWords/Util/Reports/ReportUtilities.cs#L285. But that happens only if the Http connection failed without any response from the server. Could you try setting up Fiddler as explained on https://github.com/googleads/googleads-adwords-dotnet-lib/wiki/How-to-capture-SOAP-messages and see what response you are getting back from the API server?
Cheers, Anash P. Oommen, AdWords API Advisor. On Tuesday, December 31, 2013 2:56:06 PM UTC-5, Stephane wrote: > > Hi, > > We ran into a weird problem. We use the report definition service to > update some reports. While it's working pretty well when we use localhost, > it stopped working on our production servers few days ago. > > The error is: > > "Object reference not set to an instance of an object." > > "stackTrace": " at > Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String > > downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream > outputStream) > at > Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReportInternal(String > > downloadUrl, String postBody, Boolean returnMoneyInMicros) > > We use C# and the latest v201309. > > How can it work in localhost, but not in our production servers? > > We refreshed our production files many times, restarted the web server and > so on with no luck. We think the problem is elsewhere. > > Any idea? > > Thanks, > > Stéphane > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" 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/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
