Bug Issue with image save in Photo Gallery. Save Error.

Bug Issue with image save in Photo Gallery. Save Error.

This question is not answered

We are a large non-profit Museum. We have a project that needs finished ASAP and we are having an issue with Community Server.

We are having an issue with our image gallery in the Media Gallery.

I signed in as a Registered test user. We set up the admin so Registered Users can upload images to a photo gallery.  We have it set so the Admin has to approve and publish the images before the images go out to the gallery "live". 

The issue is that when a Registered User uploads an image and goes to save it they get an error page.
The upload page itself works fine but right after the upload save, the page gives us an error.

This is our error With Custom Error "Off"
Value cannot be null.
Parameter name: format
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.ArgumentNullException: Value cannot be null.
Parameter name: format

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:
[ArgumentNullException: Value cannot be null.
Parameter name: format]
   System.String.Format(IFormatProvider provider, String format, Object[] args) +2902399
   CommunityServer.Urls.UrlsData.FormatUrl(String name, Object[] parameters) +44
   CommunityServer.Controls.GoToSiteUrlAction.Execute(Control sender, Object parameter) +1148
   CommunityServer.Controls.Actions.Execute(Control sender, Object parameter) +122
   CommunityServer.MediaGalleries.Controls.CreateEditMediaGalleryPostForm.SubmitButton_Click(Object sender, EventArgs e) +1054
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 

With Custom Error "On" Gives us this Message:

Sorry, there was a problem with your last request!
Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.

We go into the admin and the image is there for us to approve but on the user's side they get the Error page which is VERY BAD!

This is the Message we get in our Event Log

427  CS.Web Started  Application  1/14/2009 8:36:39 AM  DMNS-INET-WEB1  200  Information  -1 
426  CS.Web

Stopped CS.Web Stopped _shutDownMessage=Directory rename change notification for 'F:\WebSites\community'. community dir change or directory rename HostingEnvironment initiated shutdown HostingEnvironment caused shutdown Directory rename change notification for 'F:\WebSites\community'. community dir change or directory rename Directory rename change notification for 'F:\WebSites\community'. community dir change or directory rename Directory rename change notification for 'F:\WebSites\community'. community dir change or directory rename Directory rename change notification for 'F:\WebSites\community'. community dir change or directory rename _shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdown() at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) at System.Web.HttpRuntime.OnCriticalDirectoryChange(Object sender, FileChangeEvent e) at System.Web.FileChangesMonitor.OnSubdirChange(Object sender, FileChangeEvent e) at System.Web.DirectoryMonitor.FireNotifications() at System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback) at System.Web.Util.WorkItem.OnQueueUserWorkItemCompletion(Object state) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

It is as if the redirect after saving an image does not work correctly.  Like I said, we get the image in our admin but on the User side the error shows and it does not redirect to where it needs to go.

Please reply ASAP! This is an issue that should be addressed.

Please direct us to a fix.


Thanks

All Replies
  • Hey,

    Did you find any solution for this?

    Thanks

    Veer