It is currently June 25th, 2019, 6:25 am

WebParser and Error Codes

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

WebParser and Error Codes

thatsIch » August 24th, 2013, 9:12 am

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: 19268
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser and Error Codes

jsmorley » August 24th, 2013, 11:06 am

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: 464
Joined: August 7th, 2012, 9:18 pm

Re: WebParser and Error Codes

thatsIch » August 24th, 2013, 8:10 pm

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

Re: WebParser and Error Codes

thatsIch » August 25th, 2013, 4:45 am

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: 19268
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser and Error Codes

jsmorley » August 25th, 2013, 11:04 am

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.