Showing posts with label WebsitePanel. Show all posts
Showing posts with label WebsitePanel. Show all posts

Wednesday, January 9, 2013

Invalid public shared ip address in platform server configuration for shared IP address usage

Yesterday, I was installing WebSitePanel (WSP) 2.x for a client. After successful installation, when I tried to create a website, WSP showed an error message and failed to create website. Error was "Invalid public shared ip address in platform server configuration for shared IP address usage". 


After a little search, I found this article:
http://www.websitepanel.net/making-the-required-changes-to-your-iis-service-global-dns-records-to-support-websitepanel-2-0/

However, when I checked settings of WSP, Public Shared IP addressed was already there.


Drilling the source code of WSP revealed that WebServerController.cs looks for a Service Property "PublicSharedIP". Looking at the ServiceProperties table in WSP database, I found that this properly "PublicSharedIP" does not exists!!

So, I executed following query to add "PublicSharedIP" property into database:
INSERT INTO ServiceProperties (ServiceID, PropertyName, PropertyValue) VALUES(2, ‘PublicSharedIP’, 1)

(1 is my Public IP, listed in IPAddresses table)

Problem Fixed!!