This project has moved. For the latest updates, please go here.

Xml Declaration erros

Apr 27, 2013 at 9:34 PM
Edited Apr 27, 2013 at 9:35 PM
I get a lot of these errors:
Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.
When downloading data for movies and peoples.


Exception type is System.Xml.XmlException

Error stack:
1) Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.

Stack trace:
1)
at WatTmdb.V3.Tmdb.ProcessRequest[T](RestRequest request) in c:\working\WatTmdb\WatTmdb\trunk\WatTmdb\Tmdb\Tmdb.Sync.cs:line 50
at WatTmdb.V3.Tmdb.GetMovieKeywords(Int32 MovieID) in c:\working\WatTmdb\WatTmdb\trunk\WatTmdb\Tmdb\Tmdb.Sync.cs:line 444
at HSoft.MovieCatalog.Controls.Searching.DataGetting.TmDbDataGetter.GetMovieKeywords(Int32 movieId, Int32 movieTmdbId) in C:\Files\MyProject_HSoft\MovieCatalog\Controls\Searching\DataGetting\TmDbDataGetter.cs:line 281


These error comes randomly and if I get data again then it can be ok. Sometimes I get a lot of them while other times I get few.

Regards,
Haraldur