• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Error while set property sub domain using xml request

chirag_satapara

New Pleskian
I can't add property like asp , asp_dot_net etc while creating subdomain using xml request.
even I could not set property using
<packet version="1.6.5.0">
<subdomain>
<set>
<filter>
<parent-name>xyz.com</parent-name>
</filter>
<property>
<name>asp</name>
<value>true</value>
</property>
<property>
<name>asp_dot_net</name>
<value>true</value>
</property>
</set>
</subdomain>
</packet>

this xml request it is throw error like this:

<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.5.0"><subdomain><set><status>error</status><errcode>1002</errcode><errtext>&amp;lt;b&amp;gt;Source:&amp;lt;/b&amp;gt; Microsoft OLE DB Provider for SQL Server&amp;lt;br/&amp;gt;&amp;lt;b&amp;gt;Description:&amp;lt;/b&amp;gt; Incorrect syntax near '!'.</errtext></set></subdomain></packet>

Please help me to find solution
 
I also tried this sample document.

<packet>
<subdomain>
<add>
<parent>kanhasoft.com</parent>
<name>chiragpatel</name>
<property>
<name>www_root</name>
<value>/pms.kanhasoft.com/</value>
</property>
<property>
<name>ftp_login</name>
<value>*****</value>
</property>
<property>
<name>ftp_password</name>
<value>**********</value>
</property>
<property>
<name>ssi</name>
<value>true</value>
</property>
<property>
<name>ssi_html</name>
<value>true</value>
</property>
<property>
<name>asp</name>
<value>true</value>
</property>
</add>
</subdomain>
</packet>

But ASP property is not set.
 
I don't fetch error in response but there is no property set for created sub domain.And that is not good for me. Without ASP property i can't do anything with this sub domain.
 
Which database server is used for control panel itself? Default MySQL or have you switched to MSSQL server (psa database)?
 
I can't add property like asp , asp_dot_net etc while creating subdomain using xml request.
even I could not set property using
<packet version="1.6.5.0">
<subdomain>
<set>
<filter>
<parent-name>xyz.com</parent-name>
</filter>
<property>
<name>asp</name>
<value>true</value>
</property>
<property>
<name>asp_dot_net</name>
<value>true</value>
</property>
</set>
</subdomain>
</packet>

this xml request it is throw error like this:

<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.5.0"><subdomain><set><status>error</status><errcode>1002</errcode><errtext>&amp;lt;b&amp;gt;Source:&amp;lt;/b&amp;gt; best spin bike reviews Microsoft OLE DB Provider for SQL Server&amp;lt;br/&amp;gt;&amp;lt;b&amp;gt;Description:&amp;lt;/b&amp;gt; Incorrect syntax near '!'.</errtext></set></subdomain></packet>

Please help me to find solution
I am having the same issue while submitting.
 
Back
Top