File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
eFormAPI/Installation/CustomActions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -716,7 +716,8 @@ private static void AddImageHandlers(string siteName)
716716 }
717717 //MessageBox.Show("configurationElementpng is " + obj.ToString());
718718
719- handlersCollection . Remove ( toRemoveCe ) ;
719+ handlersCollection . Clear ( ) ;
720+ //handlersCollection.Remove(toRemoveCe);
720721 handlersCollection . Add ( configurationElementpng ) ;
721722 } catch ( Exception ex )
722723 {
@@ -735,7 +736,6 @@ private static void AddImageHandlers(string siteName)
735736 configurationElementjpg [ "type" ] = @"System.Web.Handlers.TransferRequestHandler" ;
736737 configurationElementjpg [ "preCondition" ] = "integratedMode,runtimeVersionv4.0" ;
737738 configurationElementjpg [ "responseBufferLimit" ] = 0 ;
738-
739739 handlersCollection . Add ( configurationElementjpg ) ;
740740 }
741741 catch ( Exception ex )
You can’t perform that action at this time.
0 commit comments