Problem with gallery

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/1/2013 12:34:42 PM
Nik
Gravatar
Total Posts 36
mojoportal.net.ua - Russian community of mojoportal

Problem with gallery

Good day.

Today I upgraded mojoportal to version 2.3.9.7 and tried to test new upload function in gallery.

I uploaded some images. After there I couldn't delete these files. When I clicked to "edit image" or "add image", I saw Error page.

My last log:

2013-05-01 18:16:55,799 ERROR my IP - ru-RU - /ImageGallery/EditImage.aspx?ItemID=12&mid=57&pageid=82 - mojoPortal.Web.Global - my IP /ImageGallery/EditImage.aspx?ItemID=12&mid=57&pageid=82 Referrer(http://my_site/галерея-изображений.aspx) useragent Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.15
System.Web.HttpParseException (0x80004005): Could not load file or assembly 'Brettle.Web.NeatUpload' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Brettle.Web.NeatUpload' or one of its dependencies. The system cannot find the file specified.
File name: 'Brettle.Web.NeatUpload'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)
at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)
at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)
at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

at System.Web.UI.TemplateParser.ProcessException(Exception ex)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

I don't understand, why system searchs file "Brettle.Web.NeatUpload". 

5/1/2013 12:41:15 PM
Gravatar
Total Posts 18439

Re: Problem with gallery

It sounds like you did not upload all of the files. Specifically it does not seem like you uploaded the new version of /ImageGallery/EditImage.aspx

​I would try uploading the files again.

Hope that helps,

Joe

5/1/2013 1:14:54 PM
Nik
Gravatar
Total Posts 36
mojoportal.net.ua - Russian community of mojoportal

Re: Problem with gallery

Thanks a lot.

5/1/2013 1:34:44 PM
Gravatar
Total Posts 163

Re: Problem with gallery

i have the same exactly problem..  i'm sure to reload /ImageGallery/EditImage.aspx

 

this is my log:

 

 

2013-05-01 20:45:13,332 ERROR 79.45.220.177 - it-IT - /website3/ImageGallery/EditImage.aspx?mid=153&pageid=43 - mojoPortal.Web.Global - 79.45.220.177 /website3/ImageGallery/EditImage.aspx?mid=153&pageid=43 Referrer(http://www.mysite.it/website3/album-di-famiglia.aspx) useragent Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
System.Web.HttpParseException (0x80004005): Impossibile caricare il file o l'assembly 'Brettle.Web.NeatUpload' o una delle relative dipendenze. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Impossibile caricare il file o l'assembly 'Brettle.Web.NeatUpload' o una delle relative dipendenze. The system cannot find the file specified.
Nome file: 'Brettle.Web.NeatUpload'
   in System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   in System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   in System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   in System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   in System.Reflection.Assembly.Load(String assemblyString)
   in System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)
   in System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail)
   in System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)
   in System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)
   in System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(TagNamespaceRegisterEntry nsRegisterEntry)
   in System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
   in System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
   in System.Web.UI.PageParser.ProcessDirective(String directiveName, IDictionary directive)
   in System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   in System.Web.UI.TemplateParser.ProcessException(Exception ex)
   in System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
   in System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)

 

 

any solution ??

5/1/2013 1:47:14 PM
Gravatar
Total Posts 18439

Re: Problem with gallery

Hi,

I just looked and the file EditImage.aspx has this control declaration at the top that I did not realize was there:

<%@ Register TagPrefix="NeatUpload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>

If you remove that it should fix the problem. I will update the release packages to fix this asap.

Hope that helps,

Joe

5/1/2013 2:00:25 PM
Gravatar
Total Posts 163

Re: Problem with gallery

thanks joe, 

now running perfectly

 

great joe..

 

5/2/2013 12:09:25 AM
Nik
Gravatar
Total Posts 36
mojoportal.net.ua - Russian community of mojoportal

Re: Problem with gallery

Everything works. Thanks, Joe.

You must sign in to post in the forums. This thread is closed to new posts.