Hi Team,
I have installed .net core 3.1 web bunddle i.e. dotnet-hosting-3.1.6-win on my VPS. After installing it when I open website page it is throwing error its details are,
Page URL:
http://127.0.0.1:9001/Default.aspx?pid=SpaceWebSites
Logged User:
serveradmin
Work on Behalf:
serveradmin
Hosting Space:
0
Stack Trace:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in the XML document. ---> System.InvalidOperationException: Type 'SolidCP.Providers.ResultObjects.HeliconApeStatus, SolidCP.Providers.Base, Version=1.4.6.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' is not allowed here. See https://go.microsoft.com/fwlink/?linkid=2132227 for more information.
at System.Data.TypeLimiter.EnsureTypeIsAllowed(Type type, TypeLimiter capturedLimiter)
at System.Data.DataColumn.UpdateColumnType(Type type, StorageType typeCode)
at System.Data.DataColumn.set_DataType(Type value)
at System.Data.XSDSchema.SetProperties(Object instance, XmlAttribute[] attrs)
at System.Data.XSDSchema.HandleElementColumn(XmlSchemaElement elem, DataTable table, Boolean isBase)
at System.Data.XSDSchema.HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, Boolean isBase)
at System.Data.XSDSchema.HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, Boolean isNillable)
at System.Data.XSDSchema.InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, Boolean isRef)
at System.Data.XSDSchema.HandleTable(XmlSchemaElement node)
at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet)
at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds)
at System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean denyResolving)
at System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader reader)
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderesPackages.Read112_Item()
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
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.EnterpriseServer.esPackages.GetRawPackageItemsPaged(Int32 packageId, String groupName, String typeName, Int32 serverId, Boolean recursive, String filterColumn, String filterValue, String sortColumn, Int32 startRow, Int32 maximumRows)
at SolidCP.Portal.ServiceItemsHelper.GetServiceItemsPaged(Int32 packageId, String groupName, String typeName, Int32 serverId, Boolean recursive, String filterColumn, String filterValue, Int32 maximumRows, Int32 startRowIndex, String sortColumn)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
In windows event viewer it is showing error as,
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.
Event time: 7/20/2020 9:35:56 AM
Event time (UTC): 7/20/2020 4:05:56 AM
Event ID: cd7ef95a4c5b4c4283e9095b86947f1c
Event sequence: 45
Event occurrence: 1
Event detail code: 50202
Application information:
Application domain: /LM/W3SVC/4/ROOT-1-132396912926516776
Trust level: Full
Application Virtual Path: /
Application Path: C:SolidCPPortal
Machine name: VMI234900
Process information:
Process ID: 10900
Process name: w3wp.exe
Account name: VMI234900SCPPortal
Request information:
Request URL: http://127.0.0.1:9001/Default.aspx?pid=SpaceWebSites
Request path: /Default.aspx
User host address: 1.186.76.136
User:
Is authenticated: False
Authentication Type:
Thread account name: VMI234900SCPPortal
Name to authenticate:
Custom event details:
I hope you are aware of this issue and help me to resolve this.
Hello,
You can find details of this error and a work around at https://solidcp.com/kb/configuration/websites-listing-xml-error/.
Regards,
Trevor
Thank you very much for the quick response, Just need to make some changes after pasting the configuration as double-quote gives the issue. I request you try to add a code block where we can directly copy-paste it.
Yes, you guys have to change from this (”) to this (") on the quick fix. Because after pasting, saving, refreshing the IIS and load the site have:
But, I think is this comments editor, or this site issue. Because after pasting the right double quotes is converted like blockquotes after saving this answer!
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Still having trouble here.
First I updated to 1.4.7 (using SolidCP installer) which didn't resolve the problem, and I noticed the web.config remained unchanged.
Then I added the suggested code, and fixed the quotation marks, but still can't list the websites.
Then I tried the web.config from the manual install portal zip file, but still can't list websites.
Then I tried replacing the entire Portal with the Zip file contents, but this completely brought down the portal. After resolving permission issues, I just get the Error.htm page. (I probably missed a configuration step, but where?)
Thanks!