It is currently April 18th, 2024, 1:21 pm

WebParser and Error Codes

Discussions about the documentation, main Rainmeter site and forums.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

WebParser and Error Codes

Post by thatsIch »

Could you maybe add the link to the Error Code the WebParser can throw in the Docs? They might be useful to debug WebParser skins
Last edited by thatsIch on August 24th, 2013, 8:11 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser and Error Codes

Post by jsmorley »

WebParser uses the WinInet functionality in Windows. The error codes that can be returned by WinInet are at:

http://support.microsoft.com/kb/193625

They for the most part pretty internal and are rarely going to point to a skin code problem, but generally a higher-level issue with the system it is run on. Still, they may be of some value, not so much in debugging a skin, but figuring out some connectivity problem on an individual user's system, or in some rare cases an issue with the back-end of the site you are connecting to.

Next time I'm in messing with the docs, I will add a link to this page.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: WebParser and Error Codes

Post by thatsIch »

Thank you very much
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: WebParser and Error Codes

Post by thatsIch »

Just for reference: I for example just got (result=0x800C000D, COM=0x00000000), so 0x800C000D is like 128 + 12 + 0 + 13 = 153 which equals to 12153 ERROR_HTTP_INVALID_HEADER The supplied header is invalid. Is this for a bugreport then, if I get something like this?
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser and Error Codes

Post by jsmorley »

thatsIch wrote:Just for reference: I for example just got (result=0x800C000D, COM=0x00000000), so 0x800C000D is like 128 + 12 + 0 + 13 = 153 which equals to 12153 ERROR_HTTP_INVALID_HEADER The supplied header is invalid. Is this for a bugreport then, if I get something like this?
Yes, to the Webadmin of the site you are connecting to.