Open svdoever opened 4 years ago
Have you enabled the Identity Server configuration file included?
Hi @michaellwest, thanks for responding so fast!
I found a file C:\inetpub\wwwroot\sergesc.dev.local\App_Config\Include\zzzserge.SPE.config.disabled
, renamed it to zzzserge.SPE.config
and did an IISReset, but still the same results. Is there something else I could try?
I compared the App_Config\Include
folders of my HabitatHome environment where ISE and Elevate Session State are working with my sergesc environment where I don't get an input box.
I found the following differences:
sergesc (not working):
<remoting enabled="true" requireSecureConnection="false">
<authorization>
<add Permission="Allow" IdentityType="User" Identity="sitecore\admin" />
HabitatHome (working):
<remoting enabled="false" requireSecureConnection="false">
<authorization>
And on sergesc I have z.SPE.Sync.Enabler.Gulp.config
enabled (so I can do remote scripting)
On the working HabitHome environment the file C:\inetpub\wwwroot\habitathomesc.dev.local\App_Config\Include\Spe\Spe.IdentityServer.config.disabled
is disabled, but ISE is working!
I changed the whole include configuration that it is equal to the HabitatHome situation, but still not solved.
That's not a file provided by SPE. You should see one in the SPE folder having the name Identity Server. Spe.IdentityServer.config...
I currently have this:
so I enabled the file Spe.IdentityServer.config, but still the same issue. Or did I misunderstood you?
Thank you for the screenshot. What does zzzserg.spe.config contain? The Identity Server config included with SPE has a simple change for the authentication to work.
Maybe showconfig.aspx would reveal more patches being applied that conflicts?
The file `zzzserge.SPE.config``` contains:
<configuration xmlns:patch="https://www.sitecore.net/xmlconfig/">
<sitecore>
<powershell>
<services>
<remoting>
<patch:attribute name="enabled">true</patch:attribute>
<authorization>
<add patch:before="*[@Identity='sitecore\PowerShell Extensions Remoting']" Permission="Allow" IdentityType="User" Identity="sitecore\admin" />
</authorization>
</remoting>
</services>
</powershell>
</sitecore>
</configuration>
I did the same changes directly in Spe.config
as well on my adventures to get PowerShell remoting working. I tried to disable the file but did not make a difference.
The output of https://sergesc.dev.local/sitecore/admin/showconfig.aspx
is attached. I dind't see strange things - but that doesn't say anything:-)
Output of showconfig.zip
This issue is stale because it has been open for 365 days with no activity.
Expected Behavior
Be able to login
Actual Behavior
Password input box not visible in Elevate Session State popup while Administrator:
And on clicking OK button the following error: Object reference not set to an instance of an object.
Stacktrace:
Steps to Reproduce the Problem
Happens when pressing play button in Sitecore ISE.
Version Sitecore: 9.3 Version: About box gives error:
Remote PowerShell commands work...
Other installation on same machine with HabitatHome on it works correctly.
[ ] Tested issue with clean install of Sitecore and the latest available version of SPE.
[ ] Reviewed questions and answers on the Sitecore Stack Exchange.