WFServices Authentication Error

Hello

We have encountered a Problem that lets us believe something is wrong with the Plumsail Installation.

Object reference not set to an instance of an object. at Plumsail.WFServices.HttpModules.WFServicesAuthentication.ŠŽ() at Plumsail.WFServices.HttpModules.WFServicesAuthentication.Š(Object , EventArgs ) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</

Now i am getting a new error after trying to repair the solution

*Error: Exception accessing DeployedWebApplications
Exception: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
at System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result)
at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
at System.Guid..ctor(String g)
at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.get_DeployedWebApplications()
at CodePlex.SharePointInstaller.InstallProcessControl.GetWebApplications(SPFarm farm)
Info: Will fall back to attempting to enumerate every web application
*Error: Access error on site collection https://xyxyxyx:2022.
Exception: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex, Boolean allowCompleteRequest)
at Microsoft.SharePoint.Library.SPRequest.GetAllWebsOfSite(String bstrUrl, Object& pvarWebs, Object& pvarWebIds, Object& pvarParentWebs, Object& pvarLangs, Object& pvarTitles, Object& pvarUIVersions, Object& pvarFlags, Object& pvarWebTemplates, Object& pvarConfigurations, Object& pvarMasterUrls, Object& pvarCustomMasterUrls, Object& pvarAppInstanceIds)
at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.GetWebsData(String[]& strNames, String[]& strServiceRelUrls, Guid[]& guidWebIds, Int32[]& nLanguages, String[]& strTitles, String[]& strDescriptions, String[]& strCreationTimes, String[]& strModifiedTimes, String[]& strUserModifiedTimes, Boolean[]& bUserIsWebAdmins, Int32[]& nWebTemplates, Int16[]& nProvisionConfigs, Int16[]& nMeetingCounts, Int32[]& nUIVersions, Int32[]& nFlags, String[]& strMasterUrls, String[]& strCustomMasterUrls, Guid[]& guidAppInstanceIds)
at Microsoft.SharePoint.SPWebCollection.EnsureWebsData()
at Microsoft.SharePoint.SPBaseCollection.GetEnumerator()
at CodePlex.SharePointInstaller.InstallProcessControl.GetFeaturedLocations(InstallOperation operation)
Info: Deactivating 3 total activations of 1 feature(s) on 3 location(s).
Info: ***** SOLUTION DEPLOYMENT *****
Info: solution ContainsWebApplicationResource: False, applications: NULL
Info: Deploying to web application(s): All (No WebApplication Resources).
Info: SSPFEDC01 : The solution was successfully deployed.

Info: Activating 3 total activations of 1 feature(s) on 3 location(s).

Hi @Dario_Chiga,

Could you try to reboot the server and then repair the Workflow actions pack again?

Please let me know if it helps.

Best regards,
Petr
Plumsail team

Still the same error.

*Error: Exception accessing DeployedWebApplications
Exception: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Info: Will fall back to attempting to enumerate every web application
*Error: Access error on site collection https://xcxcx:2022.
Exception: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Info: Deactivating 3 total activations of 1 feature(s) on 3 location(s).
Info: ***** SOLUTION DEPLOYMENT *****
Info: solution ContainsWebApplicationResource: False, applications: NULL
Info: Deploying to web application(s): All (No WebApplication Resources).
Info: SSPFEDC01 : The solution was successfully deployed.

Hi @Dario_Chiga,

It gives the access denied error. Do you start the installation from an admin account?

Is it possible that some antivirus is blocking the installation as well?

Best regards,
Petr
Plumsail team

The Antivirus is deactivated and yes i use an admin account

image

i try to install the wf pack via powershell and every other possible option that i can find but it always turns out like this.

Hi @Dario_Chiga,

Try to uninstall the application using these instructions

Then install it again with the wizard or using the wsp package

Best regards,
Petr
Plumsail team

already done like this.
and installed with the wsp package.
didn't work as well

Hi @Dario_Chiga,

So, when you removed the app using the wizard, was the removal successful?

If yes, could you try to install using the installation wizard and let me know if it gives any errors?

Also, try to Download the latest setup file.

Best regards,
Petr
Plumsail team

Hi Petr, hi Dario_Chiga,

we've got the excact same problem here on a SharePoint Server Subscription Edition Farm.

Installation ends with the following messages:
*Error: Exception accessing DeployedWebApplications
Exception: System.FormatException: GUID muss 32 Ziffern mit 4 Bindestrichen enthalten (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
bei System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
bei System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result)
bei System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
bei System.Guid..ctor(String g)
bei Microsoft.SharePoint.Administration.SPSolutionLanguagePack.get_DeployedWebApplications()
bei CodePlex.SharePointInstaller.InstallProcessControl.GetWebApplications(SPFarm farm)
Info: Will fall back to attempting to enumerate every web application
Info: ***** SOLUTION UPGRADE *****
Info: APPSERVER-01 : The solution was successfully deployed.
APPSERVER-02 : The solution was successfully deployed.
WEBFRONTEND-02 : The solution was successfully deployed.
WEBFRONTEND-01 : The solution was successfully deployed.

ULS Log Viewer from a Web Front End call:
Application error when access /, Error=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei Plumsail.WFServices.HttpModules.WFServicesAuthentication.ŠŽ() bei Plumsail.WFServices.HttpModules.WFServicesAuthentication.Š(Object , EventArgs ) bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() bei System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Removing the solution through the wizard results in the following:
*Error: Exception accessing DeployedWebApplications
Exception: System.FormatException: GUID muss 32 Ziffern mit 4 Bindestrichen enthalten (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
bei System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
bei System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result)
bei System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
bei System.Guid..ctor(String g)
bei Microsoft.SharePoint.Administration.SPSolutionLanguagePack.get_DeployedWebApplications()
bei CodePlex.SharePointInstaller.InstallProcessControl.GetWebApplications(SPFarm farm)
Info: Will fall back to attempting to enumerate every web application
Info: ***** SOLUTION RETRACTION *****
Info: APPSERVER-01 : The solution was successfully retracted.
APPSERVER-01 : The solution was successfully retracted.
APPSERVER-02 : The solution was successfully retracted.
APPSERVER-02 : The solution was successfully retracted.
WEBFRONTEND-02 : The solution was successfully retracted.
WEBFRONTEND-02 : The solution was successfully retracted.
WEBFRONTEND-01 : The solution was successfully retracted.
WEBFRONTEND-01 : The solution was successfully retracted.

Where do we go from here? We're in a migrationscenario from SharePoint Server 2019 to SharePoint Server SE, four SharePoint-Server Farm.

Hi @kai_graewe,

  1. Please try the steps befor removing the solution

To properly remove the application, you need to deactivate Plumsail Action Pack Auth Service feature first on your web application. In the case, when you do not deactivated the feature, you may get the following error: Server Error in ‘/’ Application.. If you received this message on load your site, you may use one of two ways to solving this problem:

  1. Open web.config file (by default this file locate in C:\inetpub\wwwroot\wss\VirtualDirectories\[Web_App]\web.config) and remove all references to Plumsail.WFServices.
  2. Run setup file and install Workflow Action Pack again. Then, deactivate web application feature and try to remove the solution again.
  1. Did you download the latest version of the installer wizard? If not, please try to Download the latest setup file.

  2. Is there any antivirus software that can block the installation?

Best regards,
Petr
Plumsail team