Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Invalid length for a Base-64 char array error
jtbob
#1 Posted : Friday, 5 August 2011 3:16:58 PM(UTC)
Rank: Member

Joined: 7/02/2008(UTC)
Posts: 26
Location: La Jolla, CA

Hi,

I got a bunch (160) email messages from GSP (2.3.3750) saying "Invalid length for a Base-64 char array". I checked image gallery and it appears to be working perfectly. Any ideas on what could be causing this error?

Thanks,
Robert

This error report was generated by Gallery Server Pro.

Error: Invalid length for a Base-64 char array.

Error Summary

Url: http://temp.com/ImageGal...moBvgWoHy%2BYjDXCTA9a1k

Timestamp: 8/5/2011 12:34:11 PM

Exception Type: System.FormatException

Message: Invalid length for a Base-64 char array.

Source: mscorlib

Target Site: Byte[] FromBase64String(System.String)

Stack Trace:
at System.Convert.FromBase64String(String s)
at GalleryServerPro.Business.HelperFunctions.Decrypt(String encryptedText) in C:\My Documents\Programs\ASP.NET\Gallery Server Pro\GSP2.3.3750\TIS.GSP.Business\HelperFunctions.cs:line 683
at GalleryServerPro.Web.handler.getmediaobject.ExtractQueryStringParms(String queryString) in C:\My Documents\Programs\ASP.NET\Gallery Server Pro\GSP2.3.3750\Website\gs\handler\getmediaobject.ashx.cs:line 139
at GalleryServerPro.Web.handler.getmediaobject.InitializeVariables(HttpContext context) in C:\My Documents\Programs\ASP.NET\Gallery Server Pro\GSP2.3.3750\Website\gs\handler\getmediaobject.ashx.cs:line 100
at GalleryServerPro.Web.handler.getmediaobject.ProcessRequest(HttpContext context) in C:\My Documents\Programs\ASP.NET\Gallery Server Pro\GSP2.3.3750\Website\gs\handler\getmediaobject.ashx.cs:line 74

App Error ID: -2147483648

Gallery ID: 1

ASP.NET_SessionId: x0yzhp55cgmkugj0sbksonbs

ALL_HTTP:
HTTP_CONNECTION:close
HTTP_ACCEPT:*/*
HTTP_HOST:temp.com

ALL_RAW:
Connection: close
Accept: */*
Host: temp.com

APPL_MD_PATH: /LM/W3SVC/1/Root/ImageGallery

CONTENT_LENGTH: 0

GATEWAY_INTERFACE: CGI/1.1

HTTPS: off

INSTANCE_ID: 1

INSTANCE_META_PATH: /LM/W3SVC/1

PATH_INFO: /ImageGallery/gs/handler/getmediaobject.ashx

PATH_TRANSLATED: D:\temp_home\GS\gs\handler\getmediaobject.ashx

QUERY_STRING: WdN6LQPyOyRh5eKdXaORez0bbLoGKT4SedYTqI5EmnUqVNdT5UXrWW5NDXpGyCFkRBOkC%2F 5nA6rik61sKZB2KGxaX1MSBh1wB5ATA5O7zemQYZR5uzoDJDtEcJOF4QQ4h5sDPntUYj%2F uhY7RM3tlggCwxpeelwZ3sxmoBvgWoHy%2BYjDXCTA9a1k

REMOTE_ADDR: 216.177.232.58

REMOTE_HOST: 216.177.232.58

REMOTE_PORT: 59917

REQUEST_METHOD: GET

SCRIPT_NAME: /ImageGallery/gs/handler/getmediaobject.ashx

SERVER_NAME: temp.com

SERVER_PORT: 80

SERVER_PORT_SECURE: 0

SERVER_PROTOCOL: HTTP/1.0

SERVER_SOFTWARE: Microsoft-IIS/6.0

URL: /ImageGallery/gs/handler/getmediaobject.ashx

HTTP_CONNECTION: close

HTTP_ACCEPT: */*

HTTP_HOST: temp.com
Roger Martin
#2 Posted : Friday, 5 August 2011 4:57:18 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

This is someone (probably a search engine or robot) requesting media files from a cached list. At some point after the cache was created, the gallery was modified to either enable or disable the encryption of media URLs. This can occur during an upgrade, as I disabled encryption on recent versions of GSP.

You can safely ignore this error, as it is not really valid to be requesting URLs made under a different context.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.