Skip to content

Set AdminWeb to port 443

If you upgrade your ZervicePoint version, you need to do this change once again.

IIS

Go to your IIS and add an application under ZervicePoint UserWeb

webadmin443_01

Alias: AdminWeb

Application pool: ZervicePoint (or the same as the other ZervicePoint sites uses)

Physical Path: “C:\Program Files\Zipper\ZervicePoint\Web\AdminWeb” (Should point at the same files as your current ZervicePoint AdminWeb)

webadmin443_02

Webconfig

Go to your file locations of the ZervicePoint UserWeb (You can find this in iis under basic settings of the ZervicePoint Userweb ) Exampel: “C:\Program Files\Zipper\ZervicePoint\Web\UserWeb” Take a backup of your “Web.config” just in case.

Then open PowerShell as administrator and run the script below. It will update your web.config with the changes needed for this to work.

Before running the script you need you check that the path is correct, it should point to the path of your web.config.

Scipt
$xml = New-Object XML
#Edit path here
$xml.Load("C:\Program Files\Zipper\ZervicePoint\Web\UserWeb\Web.config") 

$systemWebNode = $xml.configuration.SelectSingleNode("system.web") 
$locationNode = $xml.CreateNode("element","location","") 
$locationNode.SetAttribute("path",".") 
$locationNode.SetAttribute("inheritInChildApplications","false") 
$locationNode.AppendChild($systemWebNode) 
$xml.configuration.AppendChild($locationNode) 

$systemWebserverNode = $xml.configuration.SelectSingleNode("system.webServer") 
$locationNode = $xml.CreateNode("element","location","") 
$locationNode.SetAttribute("path",".") 
$locationNode.SetAttribute("inheritInChildApplications","false") 
$locationNode.AppendChild($systemWebserverNode) 
$xml.configuration.AppendChild($locationNode) 

$systemidentityModelNode = $xml.configuration.SelectSingleNode("system.identityModel") 
$locationNode = $xml.CreateNode("element","location","") 
$locationNode.SetAttribute("path",".") 
$locationNode.SetAttribute("inheritInChildApplications","false") 
$locationNode.AppendChild($systemidentityModelNode) 
$xml.configuration.AppendChild($locationNode) 

$entityFrameworkNode = $xml.configuration.SelectSingleNode("entityFramework") 
$locationNode = $xml.CreateNode("element","location","") 
$locationNode.SetAttribute("path",".") 
$locationNode.SetAttribute("inheritInChildApplications","false") 
$locationNode.AppendChild($entityFrameworkNode) 
$xml.configuration.AppendChild($locationNode) 

#Edit path here
$xml.Save("C:\Program Files\Zipper\ZervicePoint\Web\UserWeb\Web.config") 
What the script does:

It adds some lines to the webconfig file.

Add

<location path="." inheritInChildApplications="false">

Before the tags:

<system.identityModel>, <entityFramework>, <system.web>, <system.webServer>

Then close with

</location> After each closing tag like </system.identityModel>

SQL

Go to your SQL database.

Database -> ZervicePoint ->Tables ->ConfigurationSystem.GlobalSetting.

Right click “Edit top 200 Rows”

webadmin443_03

Edit the Row “AdministrationUrl”

Should be https://”Hostname”/AdminWeb/

So if you Hostname are “zervicepoint.dev.local”

It should be https://zervicepoint.dev.local/AdminWeb/

webadmin443_04

Then save and close SQL

Last Step

Open Powershell as Administrator and write “iisreset”

Now it should be working.

You can now stop the old Zervicepoint AdminWeb.