HELP: value should not contain invalid chars Parameter name: photoid

Last post 01-09-2017, 8:48 PM by cw808. 2 replies.
Sort Posts: Previous Next
  •  01-01-2017, 1:14 PM 85274

    HELP: value should not contain invalid chars Parameter name: photoid

    Hi.

    I have the Gallery on a page and was working fine. I tried to upload an image that had the file name "GITM.NYE2016.640px..jpg" and the explorer returned the error:  "value should not contain invalid chars Parameter name: photoid". I renamed the file to "GITM.NYE2016.640px.jpg" but now the page won't load at all and gives the errror that the Gallery explorer originally did. Where are the images and thumbnails stored? Maybe there is something corrupt there now so the page won't load?


    Thanks! 

  •  01-03-2017, 7:05 PM 85276 in reply to 85274

    Re: HELP: value should not contain invalid chars Parameter name: photoid

    Anyone please? This throws an exception when the page loads now....it's completely down. I can't get into the console admin either... The only way the page loads is if I completely remove the Gallery...

    Thanks

     

    Server Error in '/' Application.

    value should not contain invalid chars
    Parameter name: photoid

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: value should not contain invalid chars
    Parameter name: photoid

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: value should not contain invalid chars
    Parameter name: photoid]
       DotNetGallery.GalleryFileSystemDataProvider.g(String A_0, String A_1) +482
       DotNetGallery.GalleryFileSystemDataProvider.GetPhotoInfo(String categoryid, String photoid, String& title, String& comment, Int32& width, Int32& height, Int32& filesize, String& ipaddress, String& propexpr, DateTime& time, Int32& commentcount) +71
       DotNetGallery.GalleryFileSystemDataProvider.LoadPhotoArray(String categoryid) +417
       DotNetGallery.GalleryBrowser.a(GalleryDataProvider A_0, String A_1) +704
       DotNetGallery.GalleryBrowser.GetAllCategoryData() +274
       DotNetGallery.GalleryBrowser.b(HtmlTextWriter A_0) +1687
       DotNetGallery.GalleryBrowser.Render(HtmlTextWriter writer) +292
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +394
       System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +49
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
       System.Web.UI.Page.Render(HtmlTextWriter writer) +40
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363
    
     

  •  01-09-2017, 8:48 PM 85278 in reply to 85276

    Re: HELP: value should not contain invalid chars Parameter name: photoid

     THIS WORKED! THANKS!

     

    Open your image store folder delete all * .config and * .thumbnail.jpg files and try again.

     

    Thanks for asking,

     

    Ken
View as RSS news feed in XML