Dave,
Now I've fixed my major problem, just sorting out some minor stuff.
I"ve got one website, www.net-genie.com.au that in the checkoutaddress.template, when a field is not filled in, it puts in a red "*" which is hard to see, rather than the "Required"
So I cut and pasted the template from www.goldrushtechnology.com.au which was working and I get an exception. DNN log has:
John.
Now I've fixed my major problem, just sorting out some minor stuff.
I"ve got one website, www.net-genie.com.au that in the checkoutaddress.template, when a field is not filled in, it puts in a red "*" which is hard to see, rather than the "Required"
So I cut and pasted the template from www.goldrushtechnology.com.au which was working and I get an exception. DNN log has:
AssemblyVersion: 6.2.6
PortalID: 25
PortalName: NetGenie by Cyberoam from Gold Rush Technology Parental Controls for your home
UserID: 4066
UserName: 201302152
ActiveTabID: 832
ActiveTabName: Cart
RawURL: /Buy/Cart/tabid/832/stg/2/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.net-genie.com.au/Buy/Cart.aspx
UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 081bf068-cf27-499a-887c-bfccbc001fa0
InnerException: The 'tag' start tag on line 1 position 8 does not match the end tag of 'root'. Line 1, position 106.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.XmlTextReaderImpl.Throw
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The 'tag' start tag on line 1 position 8 does not match the end tag of 'root'. Line 1, position 106. ---> System.Xml.XmlException: The 'tag' start tag on line 1 position 8 does not match the end tag of 'root'. Line 1, position 106. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag) at System.Xml.XmlTextReaderImpl.ParseEndElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at NEvoWeb.Modules.NB_Store.GenXMLTemplate.InstantiateIn(Control container) at System.Web.UI.WebControls.DataList.InitializeItem(DataListItem item) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at NEvoWeb.Modules.NB_Store.Address.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: iis2003
My net-genie.com.au template is:<table border="0" cellpadding="4" cellspacing="0" class="AddressCollector">
<tbody>
<tr>
<td class="Label">First Name</td>
<td class="Value">[<tag id="txtAddressName" cssclass="NormalTextBox" databind="AddressName" maxlength="50" type="textbox"></tag>] *[<tag id="valAddressName" controltovalidate="txtAddressName" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required"></tag>]</td>
</tr>
<tr>
<td class="Label">Last Name</td>
<td class="Value">[<tag id="txtAddressName2" cssclass="NormalTextBox" databind="AddressName2" maxlength="50" type="textbox"></tag>] *[<tag id="valAddressName2" controltovalidate="txtAddressName2" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required"></tag>]</td>
</tr>
<tr>
<td class="Label">Company</td>
<td class="Value">[<tag id="txtCompanyName" cssclass="NormalTextBox" databind="CompanyName" maxlength="50" type="textbox"></tag>] <---Leave blank if you are an individual</td>
</tr>
<tr>
<td class="Label">Address1</td>
<td class="Value">[<tag id="txtAddress1" cssclass="NormalTextBox" databind="Address1" maxlength="50" type="textbox"></tag>]</td>
</tr>
<tr>
<td class="Label">Address2</td>
<td class="Value">[<tag id="txtAddress2" cssclass="NormalTextBox" databind="Address2" maxlength="50" type="textbox"></tag>] </td>
</tr>
<tr>
<td class="Label">Suburb/Town</td>
<td class="Value">[<tag id="txtCity" cssclass="NormalTextBox" databind="City" maxlength="50" type="textbox"></tag>] *[<tag id="valCity" controltovalidate="txtCity" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required"></tag>]</td>
</tr>
<tr>
<td class="Label">State</td>
<td class="Value">[<tag id="txtRegion" cssclass="NormalTextBox" databind="RegionCode" maxlength="50" type="textbox"></tag>]</td>
</tr>
<tr>
<td class="Label">Post Code</td>
<td class="Value">[<tag id="txtPostalCode" cssclass="NormalTextBox" databind="PostalCode" maxlength="50" type="textbox"></tag>] *[<tag id="valPostalCode" controltovalidate="txtPostalCode" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required"></tag>]</td>
</tr>
<tr>
<td class="Label">Country</td>
<td class="Value">[<tag id="cboCountry" cssclass="NormalTextBox Country" databind="CountryCode" type="dropdownlist"></tag>]</td>
</tr>
<tr>
<td class="Label">Preferred Phone</td>
<td class="Value">[<tag id="txtPhone1" cssclass="NormalTextBox" databind="Phone1" maxlength="50" type="textbox"></tag>]*[<tag id="valPhone1" controltovalidate="txtPhone1" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required"></tag>]</td>
</tr>
<tr>
<td class="Label">Alternate Phone</td>
<td class="Value">[<tag id="txtPhone2" cssclass="NormalTextBox" databind="Phone2" maxlength="50" type="textbox"></tag>]</td>
</tr>
</tbody>
</table>
My goldrushtechnology.com.au template is:<table border="0" cellpadding="0" cellspacing="0" class="AddressCollector">
<tbody>
<tr>
<td class="Label">First Name</td>
<td class="Value">[<tag id="txtAddressName" cssclass="NormalTextBox" databind="AddressName" maxlength="50" type="textbox">] *[<tag id="valAddressName" controltovalidate="txtAddressName" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required">]</tag></tag></td>
</tr>
<tr>
<td class="Label">Last Name</td>
<td class="Value">[<tag id="txtAddressName2" cssclass="NormalTextBox" databind="AddressName2" maxlength="50" type="textbox">] *[<tag id="valAddressName2" controltovalidate="txtAddressName2" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required">]</tag></tag></td>
</tr>
<tr>
<td class="Label">Company</td>
<td class="Value">[<tag id="txtCompanyName" cssclass="NormalTextBox" databind="CompanyName" maxlength="50" type="textbox">]</tag></td>
</tr>
<tr>
<td class="Label">Address Line 1</td>
<td class="Value">[<tag id="txtAddress1" cssclass="NormalTextBox" databind="Address1" maxlength="50" type="textbox">] *[<tag id="valAddress1" controltovalidate="txtAddress1" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required">]</tag></tag></td>
</tr>
<tr>
<td class="Label">Address Line 2</td>
<td class="Value">[<tag id="txtAddress2" cssclass="NormalTextBox" databind="Address2" maxlength="50" type="textbox">]</tag></td>
</tr>
<tr>
<td class="Label">Town</td>
<td class="Value">[<tag id="txtCity" cssclass="NormalTextBox" databind="City" maxlength="50" type="textbox">] *[<tag id="valCity" controltovalidate="txtCity" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required">]</tag></tag></td>
</tr>
<tr>
<td class="Label">State</td>
<td class="Value">[<tag id="txtRegion" cssclass="NormalTextBox" databind="RegionCode" maxlength="50" type="textbox">]</tag></td>
</tr>
<tr>
<td class="Label">Post Code</td>
<td class="Value">[<tag id="txtPostalCode" cssclass="NormalTextBox" databind="PostalCode" maxlength="50" type="textbox">] *[<tag id="valPostalCode" controltovalidate="txtPostalCode" cssclass="NormalRed" ctrltype="rfvalidator" errormessage="Required">]</tag></tag></td>
</tr>
<tr>
<td class="Label">Country</td>
<td class="Value">[<tag id="cboCountry" cssclass="NormalTextBox Country" databind="CountryCode" type="dropdownlist">]</tag></td>
</tr>
<tr>
<td class="Label">Phone</td>
<td class="Value">[<tag id="txtPhone1" cssclass="NormalTextBox" databind="Phone1" maxlength="50" type="textbox">]</tag></td>
</tr>
<tr>
<td class="Label">Mobile</td>
<td class="Value">[<tag id="txtPhone2" cssclass="NormalTextBox" databind="Phone2" maxlength="50" type="textbox">]</tag></td>
</tr>
</tbody>
</table>
The difference is in the way the </tag> and "]" are placed. I just don't see why it errors in one portal and not the other? I know, here we go again!John.