SitecorePowerShell / Console

Sitecore PowerShell Extensions
https://doc.sitecorepowershell.com/
Other
114 stars 70 forks source link

Can't download any results from Show-ListView #912

Closed a3codeDA closed 7 years ago

a3codeDA commented 7 years ago

Hello, By some reason any export buttons, that Show-ListView display, do noting. files can't downloaded.

It is no any error in sitecore log files or etc. Is it any option to detect a problem ?

Thanks

AdamNaj commented 7 years ago

We would need more info to try to solve it.

What's your version of Sitecore and SPE? Is this problem on premise? Azure? What's the Windows PowerShell version on the server?

a3codeDA commented 7 years ago

Sorry my bad, Sitecore.NET 8.2 (rev. 161221) , SPE 4.4 for sitecore 8 log information that I after click export button:

21688 16:34:44 INFO  Executing a script in ScriptSession ''.
21688 16:34:44 INFO  The script execution in ScriptSession '' completed in 2 ms.
21688 16:34:44 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\Platform\Internal\List View\Export\Excel in ScriptSession $scriptSession$|hkrudoahlegtybe002uk4qmz|bbeea0a0-a456-46e2-af18-348fc875ef23.
ManagedPoolThread #8 16:34:44 INFO  Executing a script in ScriptSession '$scriptSession$|hkrudoahlegtybe002uk4qmz|bbeea0a0-a456-46e2-af18-348fc875ef23'.
ManagedPoolThread #8 16:34:44 INFO  The script execution in ScriptSession '$scriptSession$|hkrudoahlegtybe002uk4qmz|bbeea0a0-a456-46e2-af18-348fc875ef23' completed in 257 ms.
13568 16:34:44 INFO  'GET/handle' called by user: ''
21688 16:35:53 INFO  Executing a script in ScriptSession ''.
21688 16:35:53 INFO  The script execution in ScriptSession '' completed in 2 ms.
21688 16:35:53 INFO  Script item set to master:\system\Modules\PowerShell\Script Library\Platform\Internal\List View\Export\Excel in ScriptSession $scriptSession$|hkrudoahlegtybe002uk4qmz|86c37c95-f0ba-4c5f-9ff3-202f2f263b12.
ManagedPoolThread #0 16:35:53 INFO  Executing a script in ScriptSession '$scriptSession$|hkrudoahlegtybe002uk4qmz|86c37c95-f0ba-4c5f-9ff3-202f2f263b12'.
ManagedPoolThread #0 16:35:53 INFO  The script execution in ScriptSession '$scriptSession$|hkrudoahlegtybe002uk4qmz|86c37c95-f0ba-4c5f-9ff3-202f2f263b12' completed in 230 ms.
21204 16:35:53 INFO  'GET/handle' called by user: ''
AdamNaj commented 7 years ago

This looks fine. It sounds like it might be a browser/caching issue. I wonder if you could try it in another browser. What happens when you try it in the Incognito mode?

AdamNaj commented 7 years ago

Also, could you paste what you see when you perform Get-Host in the SPE console?

a3codeDA commented 7 years ago

Name : Sitecore PowerShell Extensions Host 4.4.0.32903 on Windows PowerShell 5.1 & Sitecore 8.2 Version : 4.4.0.32903 InstanceId : 80b2583c-ce62-46d7-820f-d07232c18bb7 UI : System.Management.Automation.Internal.Host.InternalHostUserInterface CurrentCulture : en-US CurrentUICulture : en PrivateData : Cognifide.PowerShell.Core.Host.ScriptingHostPrivateData DebuggerEnabled : True IsRunspacePushed : False Runspace : System.Management.Automation.Runspaces.LocalRunspace

AdamNaj commented 7 years ago

This looks legit. How about the other browser/incognito mode?

a3codeDA commented 7 years ago

I am working at Chrome Incognito normally, but I tried at IE Edge - error message "{id} file couldn't be download". FF is do noting like Chrome

AdamNaj commented 7 years ago

Oh, I see! Are you running as an admin or another user? If you look into the Cognifide.PowerShell.config's <handleDownload> section - this must be enabled for at least one of the groups you're in or you must be an instance administrator. Could this be the problem?

AdamNaj commented 7 years ago

On another note... in your log - have you removed the username or has it logged as an empty user?

a3codeDA commented 7 years ago

I am working as an admin , I do not remove it. (I also mention that value is missed). but Before run a script I enter password at Elevate Session State window. My power shell config is basic:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <commands>
      <command name="item:executescript"
               type="Cognifide.PowerShell.Client.Commands.MenuItems.ExecutePowerShellScript,Cognifide.PowerShell" />
      <command name="item:contextconsole"
               type="Cognifide.PowerShell.Client.Commands.MenuItems.ExecutePowerShellConsole,Cognifide.PowerShell" />
      <command name="item:scriptlibrary"
               type="Cognifide.PowerShell.Client.Commands.MenuItems.ScriptLibraryMenuItem,Cognifide.PowerShell" />
      <command name="powershell:startmenuaction"
               type="Cognifide.PowerShell.Client.Commands.MenuItems.ScriptLibraryMenuItem,Cognifide.PowerShell" />
      <command name="item:editscript"
               type="Cognifide.PowerShell.Client.Commands.MenuItems.EditPowerShellScript,Cognifide.PowerShell" />
      <command name="ise:save" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:saveas" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:execute" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:executeselection" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:open" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:new" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:run" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:abort" type="Cognifide.PowerShell.Client.Commands.AbortQueryState,Cognifide.PowerShell" />
      <command name="ise:reload"
               type="Cognifide.PowerShell.Client.Commands.ItemDefinedQueryState,Cognifide.PowerShell" />
      <command name="ise:editsettingsdropdown"
               type="Cognifide.PowerShell.Client.Commands.EditIseSettingsCombo,Cognifide.PowerShell" />
      <command name="ise:pickcontext"
               type="Cognifide.PowerShell.Client.Commands.GalleryRuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:selectlanguage"
               type="Cognifide.PowerShell.Client.Commands.SelectLanguage,Cognifide.PowerShell" />
      <command name="ise:selectuser"
               type="Cognifide.PowerShell.Client.Commands.SelectUser,Cognifide.PowerShell" />
      <command name="item:new">
        <patch:attribute name="type">Cognifide.PowerShell.Client.Commands.MenuItems.ItemNew, Cognifide.PowerShell</patch:attribute>
      </command>
      <command name="ise:executefieldeditor"
               type="Cognifide.PowerShell.VersionSpecific.Client.Commands.ExecuteFieldEditor, Cognifide.PowerShell.VersionSpecific" />
      <command name="ise:editsettings"
               type="Cognifide.PowerShell.VersionSpecific.Client.Commands.EditIseSettings,Cognifide.PowerShell.VersionSpecific" />
      <command name="powershell:fieldeditor"
               type="Cognifide.PowerShell.VersionSpecific.Client.Applications.FieldEditor, Cognifide.PowerShell.VersionSpecific" />
      <command name="ise:debug" type="Cognifide.PowerShell.Client.Commands.RuntimeQueryState,Cognifide.PowerShell" />
      <command name="ise:debugaction" type="Cognifide.PowerShell.Client.Commands.DebugQueryState,Cognifide.PowerShell" />
      <command name="ise:immediatewindow" type="Cognifide.PowerShell.Client.Commands.DebugQueryState,Cognifide.PowerShell" />
      <command name="ise:iframe" type="Cognifide.PowerShell.Client.Commands.MenuItems.ShowExternalPage" />
      <command name="pslvnav:first" type="Cognifide.PowerShell.Client.Commands.ListViewPagingQueryState,Cognifide.PowerShell" />
      <command name="pslvnav:last" type="Cognifide.PowerShell.Client.Commands.ListViewPagingQueryState,Cognifide.PowerShell" />
      <command name="pslvnav:previous" type="Cognifide.PowerShell.Client.Commands.ListViewPagingQueryState,Cognifide.PowerShell" />
      <command name="pslvnav:next" type="Cognifide.PowerShell.Client.Commands.ListViewPagingQueryState,Cognifide.PowerShell" />
      <command name="pslv:filter" type="Cognifide.PowerShell.Client.Commands.ListViewFilterQueryState,Cognifide.PowerShell" />               
      <command name="webedit:script" type="Cognifide.PowerShell.VersionSpecific.Client.Commands.WebEditScriptCommand,Cognifide.PowerShell.VersionSpecific" />
      <command name="item:elevatescriptedit" type="Cognifide.PowerShell.Core.Settings.Authorization.ElevateSessionState,Cognifide.PowerShell" />
      <command name="item:dropelevatescriptedit" type="Cognifide.PowerShell.Core.Settings.Authorization.DropElevatedSessionState,Cognifide.PowerShell" />
    </commands>
    <events>
      <event name="item:saving">
        <handler type="Cognifide.PowerShell.Core.Settings.Authorization.ScriptItemSecurityEventHandler, Cognifide.PowerShell" method="OnEvent" />
      </event>
    </events>
    <typeMappings>
      <mapping name="IUrlHandleWrapper" type="Cognifide.PowerShell.VersionSpecific.Utility.UrlHandleWrapper, Cognifide.PowerShell.VersionSpecific" />
      <mapping name="IDateConverter" type="Cognifide.PowerShell.VersionSpecific.Utility.DateConverter, Cognifide.PowerShell.VersionSpecific" />
      <mapping name="IImmediateDebugWindowLauncher" type="Cognifide.PowerShell.VersionSpecific.Client.Applications.ImmediateDebugWindowLauncher, Cognifide.PowerShell.VersionSpecific" />
      <mapping name="ISessionElevationWindowLauncher" type="Cognifide.PowerShell.VersionSpecific.Client.Applications.SessionElevationWindowLauncher, Cognifide.PowerShell.VersionSpecific" />      
    </typeMappings>
    <settings>
      <setting name="Cognifide.PowerShell.CommandWaitMillis" value="25" />
      <setting name="Cognifide.PowerShell.InitialPollMillis" value="100" />
      <setting name="Cognifide.PowerShell.MaxmimumPollMillis" value="2500" />
      <setting name="Cognifide.PowerShell.PersistentSessionExpirationMinutes" value="30" />
      <setting name="Cognifide.PowerShell.SerializationSizeBuffer" value="5KB" />
      <setting name="Cognifide.PowerShell.VariableDetails.MaxArrayParseSize" value="20" />
      <setting name="Cognifide.PowerShell.AuthorizationCacheExpirationSecs" value="10" />      
    </settings>
    <ui>
      <references>
        <reference id="powershell">/bin/Cognifide.PowerShell.dll</reference>
      </references>
    </ui>
    <controlSources>
      <source mode="on" namespace="Cognifide.PowerShell.Client.Controls" assembly="Cognifide.PowerShell" />
      <source mode="on" namespace="Cognifide.PowerShell.Client.Applications"
              folder="/sitecore modules/Shell/PowerShell/" deep="true" />
    </controlSources>
    <powershell>
      <workingDatabase>
        <scriptLibrary>master</scriptLibrary>
        <settings>master</settings>
        <rules>master</rules>
      </workingDatabase>
      <integrationPoints>
        <pageEditorExperienceButton name="Page Editor Experience Button" creationScript="Platform/Development/Integration points/Page Editor Experience Buttons/Create Libraries">
          Page Editor/Experience Button
        </pageEditorExperienceButton>
        <contentEditorContextMenu name="Content Editor Context Menu"
                                  creationScript="Platform/Development/Integration points/Content Editor Context Menu/Create Libraries">
          Content Editor/Context Menu
        </contentEditorContextMenu>
        <contentEditorInsertItem name="Content Editor Insert Item"
                                  creationScript="Platform/Development/Integration points/Content Editor Insert Item/Create Libraries">
          Content Editor/Insert Item
        </contentEditorInsertItem>
        <contentEditorGutters name="Content Editor Gutter"
                              creationScript="Platform/Development/Integration points/Content Editor Gutter/Create Libraries">
          Content Editor/Gutters
        </contentEditorGutters>
        <contentEditorRibbon name="Content Editor Ribbon"
                             creationScript="Platform/Development/Integration points/Content Editor Ribbon/Create Libraries">
          Content Editor/Ribbon
        </contentEditorRibbon>
        <contentEditorWarning name="Content Editor Warning"
                             creationScript="Platform/Development/Integration points/Content Editor Warning/Create Libraries">
          Content Editor/Warning
        </contentEditorWarning>        
        <controlPanel name="Control Panel"
                      creationScript="Platform/Development/Integration points/Control Panel/Create Libraries">
          Control Panel
        </controlPanel>
        <functions name="Shared Functions"
                   creationScript="Platform/Development/Integration points/Functions/Create Libraries">
          Functions
        </functions>
        <listViewExport name="List View Exporters"
                        creationScript="Platform/Development/Integration points/List View Exporters/Create Libraries">
          Internal/List View/Export
        </listViewExport>
        <listViewRibbon name="List View Ribbon Actions"
                        creationScript="Platform/Development/Integration points/List View Ribbon Actions/Create Libraries">
          Internal/List View/Ribbon
        </listViewRibbon>
        <pageEditorNotification name="Page Editor Notifications"
                             creationScript="Platform/Development/Integration points/Page Editor Notifications/Create Libraries">
          Page Editor/Notification
        </pageEditorNotification>        
        <pipelineLoggedIn name="Logged In Pipeline"
                          creationScript="Platform/Development/Integration points/Logged In Pipeline/Create Libraries">
          Pipelines/LoggedIn
        </pipelineLoggedIn>
        <pipelineLoggingIn name="Logging in Pipeline"
                           creationScript="Platform/Development/Integration points/Logging in Pipeline/Create Libraries">
          Pipelines/LoggingIn
        </pipelineLoggingIn>
        <pipelineLogout name="Logout Pipeline"
                        creationScript="Platform/Development/Integration points/Logout Pipeline/Create Libraries">
          Pipelines/Logout
        </pipelineLogout>
        <toolbox name="Toolbox" creationScript="Platform/Development/Integration points/Toolbox/Create Libraries">Toolbox</toolbox>
        <startMenuReports name="Start Menu Reports"
                          creationScript="Platform/Development/Integration points/Start Menu Reports/Create Libraries">
          Reports
        </startMenuReports>
        <eventHandlers name="Event Handlers"
                       creationScript="Platform/Development/Integration points/Event Handlers/Create libraries for all events">
          Event Handlers
        </eventHandlers>
        <webAPI name="Web API" creationScript="Platform/Development/Integration points/Web API/Create libraries">Web API</webAPI>
        <isePlugin name="ISE Plugins" creationScript="Platform/Development/Integration points/ISE Plugin/Create libraries">Internal/ISE Plugins</isePlugin>
      </integrationPoints>
      <services>
        <restfulv1 enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <!-- Uncomment to enable anonymous users to access restful apis from the "web" database -->
            <!--add Permission="Allow" IdentityType="User" Identity="extranet\Anonymous" /-->
            <add Permission="Allow" IdentityType="User" Identity="sitecore\admin" />
          </authorization>
        </restfulv1>
        <restfulv2 enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <!-- Uncomment to enable anonymous users to access restful apis from the "web" database -->
            <!--add Permission="Allow" IdentityType="User" Identity="extranet\Anonymous" /-->
            <add Permission="Allow" IdentityType="User" Identity="sitecore\admin" />
          </authorization>
        </restfulv2>
        <remoting enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <!-- example to disable specific user from an endpoint: -->
            <!--add Permission="Deny" IdentityType="User" Identity="sitecore\admin" /-->
          </authorization>
        </remoting>
        <fileDownload enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Developer" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </fileDownload>
        <fileUpload enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Developer" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </fileUpload>
        <mediaDownload enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Developer" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </mediaDownload>
        <mediaUpload enabled="false" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Developer" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </mediaUpload>
        <handleDownload enabled="true" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\PowerShell Extensions Remoting" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Sitecore Client Users" />
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </handleDownload>
        <client enabled="true" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Developer" />
            <!-- "Magic" role that catches all users in Sitecore with Administrator privileges --> 
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </client>
        <execution enabled="true" requireSecureConnection="false">
          <authorization>
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\Sitecore Client Users" />
            <!-- "Magic" role that catches all users in Sitecore with Administrator privileges --> 
            <add Permission="Allow" IdentityType="Role" Identity="sitecore\IsAdministrator" />
          </authorization>
        </execution>
      </services>
      <userAccountControl>
        <gates>
          <!--
            Gates into the system
              Ways ARBITRARY (not already saved/existing in the system) scripts might make into the system without explicitly providing password during the execution or save.
              Those gates require that the user session needs to be elevated with a proper token.
              Tokens are defined in the sestion below. Once Gate is elevated with a token it can do its job until token is dropped or expires.
            -->
          <gate name="Console" token="Console"/>
          <gate name="ISE" token="ISE"/>
          <gate name="ItemSave" token="ItemSave"/>
        </gates>
        <tokens>
          <!-- 
            Tokens provide means of elevation of the user session. Token can be used by one or more gates. 
            E.g. You can use the same token for all gates.
              elevationAction
                Token elavation actions:
                  - Block - always block action
                  - Password - Ask for Password to elevate session
                  - Allow - Always allow to elevate session without asking
              expiration
                TimeSpan serialized for how long session should stay elevated.
            -->
          <token name="Default" expiration="00:00:00" elevationAction="Block"/>
          <token name="Console" expiration="00:05:00" elevationAction="Password"/>
          <token name="ISE" expiration="00:05:00" elevationAction="Password"/>
          <token name="ItemSave" expiration="00:05:00" elevationAction="Password"/>          
        </tokens>
      </userAccountControl>
      <commandlets>
        <add Name="Built-in Commandlets" type="*, Cognifide.PowerShell" />
      </commandlets>
      <translation>
        <ignoredFields>
          <field>__Archive date</field>
          <field>__Archive Version date</field>
          <field>__Lock</field>
          <field>__Owner</field>
          <field>__Page Level Test Set Definition</field>
          <field>__Reminder date</field>
          <field>__Reminder recipients</field>
          <field>__Reminder text</field>
          <!--field>__Security</field-->
        </ignoredFields>
      </translation>
    </powershell>
    <pipelines>
      <getChromeData>
        <processor type="Cognifide.PowerShell.Integrations.Pipelines.PageEditorExperienceButtonScript, Cognifide.PowerShell"/>
      </getChromeData>
      <getContentEditorWarnings>
        <processor patch:before="processor[@type='Sitecore.Pipelines.GetContentEditorWarnings.RunRules, Sitecore.Kernel']"
           type="Cognifide.PowerShell.Integrations.Pipelines.ContentEditorWarningScript, Cognifide.PowerShell" />
        <processor patch:before="processor[@type='Sitecore.Pipelines.GetContentEditorWarnings.RunRules, Sitecore.Kernel']"
           type="Cognifide.PowerShell.Core.Settings.Authorization.ContentEditorSecurityWarning, Cognifide.PowerShell" />
      </getContentEditorWarnings>
      <getPageEditorNotifications>
        <processor type="Cognifide.PowerShell.VersionSpecific.Integrations.Pipelines.PageEditorNotificationScript, Cognifide.PowerShell.VersionSpecific"/>
      </getPageEditorNotifications>
      <getLookupSourceItems>
        <processor
          patch:before="*[@type='Sitecore.Pipelines.GetLookupSourceItems.ProcessQuerySource, Sitecore.Kernel']"
          type="Cognifide.PowerShell.Integrations.Processors.ScriptedDataSource, Cognifide.PowerShell" />
      </getLookupSourceItems>
      <getRenderingDatasource>
        <processor
          patch:before="*[@type='Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel']"
          type="Cognifide.PowerShell.Integrations.Processors.ScriptedRenderingDataSourceRoots, Cognifide.PowerShell" />
      </getRenderingDatasource>
      <resolveRenderingDatasource>
        <processor
          type="Cognifide.PowerShell.Integrations.Processors.ScriptedRenderingDataSourceResolve, Cognifide.PowerShell" />
      </resolveRenderingDatasource>
      <preprocessRequest>
        <processor type="Cognifide.PowerShell.Core.Processors.RewriteUrl, Cognifide.PowerShell"
                   patch:before="processor[@type='Sitecore.Pipelines.PreprocessRequest.CheckIgnoreFlag, Sitecore.Kernel']" />
      </preprocessRequest>
      <expandInitialFieldValue>
        <processor patch:before="*[@type='Sitecore.Pipelines.ExpandInitialFieldValue.ReplaceVariables, Sitecore.Kernel']" type="Cognifide.PowerShell.Integrations.Processors.SkipPowerShellScriptItems, Cognifide.PowerShell" />
      </expandInitialFieldValue>
    </pipelines>
    <processors>
      <loggingin argsType="Sitecore.Integrations.Pipelines.LoggingIn.LoggingInArgs">
        <!-- Pipeline to run scripts while the user is logging in. -->
        <processor patch:after="processor[position()=last()]" mode="on"
                   type="Cognifide.PowerShell.Integrations.Pipelines.LoggingInScript, Cognifide.PowerShell" />
      </loggingin>
      <loggedin argsType="Sitecore.Pipelines.LoggedIn.LoggedInArgs">
        <!-- Pipeline to run scripts after the user is logged in. -->
        <processor patch:after="processor[position()=last()]" mode="on"
                   type="Cognifide.PowerShell.Integrations.Pipelines.LoggedInScript, Cognifide.PowerShell" />
      </loggedin>
      <logout argsType="Sitecore.Pipelines.Logout.LogoutArgs">
        <!-- Pipeline to run scripts when the user logs out. -->
        <processor patch:after="*[@type='Sitecore.Pipelines.Logout.CheckModified, Sitecore.Kernel']" mode="on"
                   type="Cognifide.PowerShell.Integrations.Pipelines.LogoutScript, Cognifide.PowerShell" />
      </logout>
    </processors>
    <events>
      <event name="item:saved">
        <handler type="Cognifide.PowerShell.Core.Modules.ModuleMonitor, Cognifide.PowerShell" method="OnItemSaved" />
        <handler type="Cognifide.PowerShell.Core.Extensions.ItemShellExtensions, Cognifide.PowerShell" method="TemplateFieldsInvalidateCheck" />
      </event>
      <event name="item:saved:remote">
        <handler type="Cognifide.PowerShell.Core.Modules.ModuleMonitor, Cognifide.PowerShell" method="OnItemSavedRemote" />
        <handler type="Cognifide.PowerShell.Core.Extensions.ItemShellExtensions, Cognifide.PowerShell" method="TemplateFieldsInvalidateCheckRemote" />
      </event>
      <event name="item:saving">
        <handler type="Cognifide.PowerShell.Core.Modules.ModuleMonitor, Cognifide.PowerShell" method="OnItemSaving" />
        <handler type="Cognifide.PowerShell.Core.Settings.Authorization.ScriptItemSecurityEventHandler, Cognifide.PowerShell" method="OnEvent" />
      </event>
      <event name="item:creating">
        <handler type="Cognifide.PowerShell.Core.Settings.Authorization.ScriptItemSecurityEventHandler, Cognifide.PowerShell" method="OnEvent" />
      </event>
    </events>
    <log4net>
      <appender name="PowerShellExtensionsFileAppender" type="log4net.Appender.SitecoreLogFileAppender, Sitecore.Logging">
        <file value="$(dataFolder)/logs/SPE.log.{date}.txt"/>
        <appendToFile value="true"/>
        <layout type="log4net.Layout.PatternLayout">
          <conversionPattern value="%4t %d{ABSOLUTE} %-5p %m%n"/>
        </layout>
        <encoding value="utf-8"/>
      </appender>
      <logger name="Cognifide.PowerShell" additivity="false">
        <!-- Loggers may be assigned levels. Levels are instances of the log4net.Core.Level class. The following levels are defined in order of increasing priority:
             ALL > DEBUG > INFO > WARN > ERROR > FATAL > OFF
             Change the value below to DEBUG to log the scripts as they are executed.
         -->
        <level value="INFO"/>
        <appender-ref ref="PowerShellExtensionsFileAppender"/>
      </logger>
    </log4net>
  </sitecore>
</configuration>
AdamNaj commented 7 years ago

Bah! All of it looks fine. Just tried the exact same configuration (however on the latest SPE) and it all works fine on my machine :( I'm in a pickle!

a3codeDA commented 7 years ago

What sitecore part could do any impact for this functions ?

a3codeDA commented 7 years ago

Sorry for incontinent I have found issue that has impact on this issue on of our ItemNotFoundResolver Processor make export works bad. thanks for help

VasuGoyal1998 commented 2 months ago

Hello Team,

I am also facing the same issue mentioned but I don't have any custom ItemNotFoundProcessor. But I am also not able to download any excel report. I am on Sitecore Version : - 10.3.0.8463 Sitecore Powershell Module Version - 6.4.022430

VasuGoyal1998 commented 2 months ago

@AdamNaj , Can you please help me with this issue ?