bug: cant create we...
 
Notifications
Clear all

bug: cant create website if default policy is .net version: none

1 Posts
1 Users
0 Reactions
744 Views
Posts: 24
Topic starter
(@cyberhostpro)
Eminent Member
Joined: 6 years ago

if the web policy has .net version set to none we can't add websites (windows 2019)

Server was unable to process request. ---> Object reference not set to an instance of an object.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Web.WebServer.CreateSite(WebSite site)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)

if i RDP the 4 app pools are create but none have "no managed code".

the fix is to delete all 4 app pools

change web policy to .net 4

create website

Share: