I have been testing WSP 2.0 some more and came to the conclusion that there are further issues with Website management.
1) When i DETACH a website and make sure the Directory AND website INSIDE IIS doesn’t exist anymore –> you can still not re-create it in WSP – it says “Website already exists” (which doesn’t.. but i’m guessing the handling of this is now different, maybe somewhere in mssql records where it still exists?)
2) When i DELETE a website i get this error
System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
—> This only happens in one hosting space. and in Event viewer i can see that WSP Actually crashes it’s own application pool. All this started when an Domain pointer failed to add –> and then Failed to delete –> is there anything in mssql that can cause this whole fuckup? if so.. how often will this occur? as i only added a handful of sites before i encountered this issue!.
3) When i delete a Website pointer it removes fine from WSP BUT when i check in IIS Bindings –> It is still there.
4) In EventViewer WSP is just litterally crawling with Web deploy error (i’m guessing this is because i’m not using IIS 7.0 but IIS 8.0 on Windows 2012)
[9/23/2012 9:34:55 AM] ERROR: Could not retrieve Web Deploy key from the registry
System.NullReferenceException: Object reference not set to an instance of an object.
Issue number 2 –> Is a massive failure in configurations! lol
it was caused because a Reseller setted instant allias in it’s space settings.
However the Virtual Server didn’t have Instant alias set –>
I’m not sure how.. or even why this relates to deleting sites HOWEVER when i set instant alias in virtual server –> it was 100% perfect again. maybe something not fully good in the source or something.. but instant alias on the Reseller side should never cause this issue with deleting sites for ALL OTHER users (not belonging to the reseller)