mojoProfile.config

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/9/2013 11:43:37 AM
Gravatar
Total Posts 2

mojoProfile.config

I have made changes to the mojoProfile.config to add Country as a part of the user profile.  I used the samples provided on how to add a property with an option list (See xml below). After publishing the site to IIS, when I load the registration page I receive this error:
Name cannot begin with the '7' character, hexadecimal value 0x37. Line 116, position 1.  I checked the line number of the error and it does not appear to have the character of '7' at that position.  I also checked my mojoProfile.config file for any formatting errors and do not see any.   According to the stack trace this is occurring when the application attempts to load the profile config file (in mojoProfileConfiguration.cs).  Any Ideas on what would cause this?

 Also, I don't know if this matters, but I am not using the precompiled version, the source code is being used and the .dlls are built in Release -SqlCe

 

<?xml version="1.0"?>
<mojoProfile >
  <properties>
    <!--
        The properties configured below are optional, you can remove the 
              ones you don't want and add ones you do want.
                
       For documentation on configuring this file please visit
       http://www.mojoportal.com/userprofileconfiguration.aspx
       
       -->

    <add    name="FirstName"
                type="System.String"
                allowMarkup="false"
        resourceFile="ProfileResource"
                labelResourceKey="FirstName"
                lazyLoad="false"
        showOnRegistration="true"
                requiredForRegistration="true"
                maxLength="100"
                columns="45"
                onlyAvailableForRoles=""
                onlyVisibleForRoles=""
                includeHelpLink="false"
                cssClass="widetextbox"
                        />

    <add    name="LastName"
                type="System.String"
                allowMarkup="false"
        resourceFile="ProfileResource"
                labelResourceKey="LastName"
                lazyLoad="false"
        showOnRegistration="true"
                requiredForRegistration="true"
                maxLength="100"
                columns="1"
                onlyAvailableForRoles=""
                onlyVisibleForRoles=""
                includeHelpLink="false"
                cssClass="widetextbox"
                        />

    <add    name="CompanyName"
                type="System.String"
                allowMarkup="false"
        resourceFile="ProfileResource"
                labelResourceKey="CompanyNameLabel"
                lazyLoad="false"
        showOnRegistration="true"
                requiredForRegistration="true"
                maxLength="100"
                columns="1"
                onlyAvailableForRoles=""
                onlyVisibleForRoles=""
                includeHelpLink="false"
                cssClass="widetextbox"
                        />
    <add name="PhoneNumber"
         type="System.String"
         allowMarkup="false"
         resourceFile="ProfileResource"
         labelResourceKey="PhoneNumberLabel"
         lazyLoad="false"
         showOnRegistration="true"
         requiredForRegistration="true"
         maxLength="12"
         columns="1"
         onlyAvailableForRoles=""
         onlyVisibleForRoles=""
         includeHelpLink="false"
         cssClass="widetextbox"
         regexValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}"
         regexValidationErrorResourceKey="ValidPhone"
         ></add>

    <add name="Street"
         type="System.String"
         allowMarkup="false"
         resourceFile="ProfileResource"
         labelResourceKey="StreetLabel"
         lazyLoad="false"
         showOnRegistration="true"
         requiredForRegistration="true"
         maxLength="250"
         columns="1"
         onlyAvailableForRoles=""
         onlyVisibleForRoles=""
         includeHelpLink="false"
         cssClass="widetextbox"
         ></add>

    <add name="City"
         type="System.String"
         allowMarkup="false"
         resourceFile="ProfileResource"
         labelResourceKey="CityLabel"
         lazyLoad="false"
         showOnRegistration="true"
         requiredForRegistration="true"
         maxLength="100"
         columns="1"
         onlyAvailableForRoles=""
         onlyVisibleForRoles=""
         includeHelpLink="false"
         cssClass="widetextbox"
         ></add>

    <add name="PostalCode"
         type="System.String"
         allowMarkup="false"
         resourceFile="ProfileResource"
         labelResourceKey="PostalCodeLabel"
         lazyLoad="false"
         showOnRegistration="true"
         requiredForRegistration="true"
         maxLength="15"
         columns="1"
         onlyAvailableForRoles=""
         onVisibleForRoles=""
         includeHelpLink="false"
         cssClass="widetextbox"
         />

    <add    name="Country"
                type="System.String"
                allowMarkup="false"
        resourceFile="ProfileResource"
                labelResourceKey="CountryLabel"
                lazyLoad="false"
                requiredForRegistration="true"
                allowAnonymous="true"
                visibleToAnonymous="true"
                visibleToAuthenticated="true"
                visibleToUser="true"
                editableByUser="true"
                regexValidationExpression=""
                regexValidationErrorResourceKey=""
                maxLength="100"
        cssClass="widetextbox"
                onlyAvailableForRoles=""
                onlyVisibleForRoles=""
                includeHelpLink="true"
        defaultValue="United States"
>
      <OptionList>
        <Option value="United States" TextResourceKey="United States"></Option>
        <Option value="Afghanistan" TextResourceKey="Afghanistan"></Option>
        <Option value="Albania" TextResourceKey="Albania"></Option>
        <Option value="Algeria" TextResourceKey="Algeria"></Option>
        <Option value="American Samoa" TextResourceKey="American Samoa"></Option>
        <Option value="Andorra" TextResourceKey="Andorra"></Option>
        <Option value="Angola" TextResourceKey="Angola"></Option>
        <Option value="Anguilla" TextResourceKey="Anguilla"></Option>
        <Option value="Antarctica" TextResourceKey="Antarctica"></Option>
        <Option value="Antigua and Barbuda" TextResourceKey="Antigua and Barbuda"></Option>
        <Option value="Argentina" TextResourceKey="Argentina"></Option>
        <Option value="Armenia" TextResourceKey="Armenia"></Option>
        <Option value="Aruba" TextResourceKey="Aruba"></Option>
        <Option value="Australia" TextResourceKey="Australia"></Option>
        <Option value="Austria" TextResourceKey="Austria"></Option>
        <Option value="Azerbaijan" TextResourceKey="Azerbaijan"></Option>
        <Option value="Bahamas" TextResourceKey="Bahamas"></Option>
        <Option value="Bahrain" TextResourceKey="Bahrain"></Option>
        <Option value="Bangladesh" TextResourceKey="Bangladesh"></Option>
        <Option value="Barbados" TextResourceKey="Barbados"></Option>
        <Option value="Belarus" TextResourceKey="Belarus"></Option>
        <Option value="Belgium" TextResourceKey="Belgium"></Option>
        <Option value="Belize" TextResourceKey="Belize"></Option>
        <Option value="Benin" TextResourceKey="Benin"></Option>
        <Option value="Bermuda" TextResourceKey="Bermuda"></Option>
        <Option value="Bhutan" TextResourceKey="Bhutan"></Option>
        <Option value="Bolivia" TextResourceKey="Bolivia"></Option>
        <Option value="Bosnia and Herzegovina" TextResourceKey="Bosnia and Herzegovina"></Option>
        <Option value="Botswana" TextResourceKey="Botswana"></Option>
        <Option value="Bouvet Island" TextResourceKey="Bouvet Island"></Option>
        <Option value="Brazil" TextResourceKey="Brazil"></Option>
        <Option value="British Indian Ocean Territory" TextResourceKey="British Indian Ocean Territory"></Option>
        <Option value="British Virgin Islands" TextResourceKey="British Virgin Islands"></Option>
        <Option value="Brunei" TextResourceKey="Brunei"></Option>
        <Option value="Bulgaria" TextResourceKey="Bulgaria"></Option>
        <Option value="Burkina Faso" TextResourceKey="Burkina Faso"></Option>
        <Option value="Burma" TextResourceKey="Burma"></Option>
        <Option value="Burundi" TextResourceKey="Burundi"></Option>
        <Option value="Cambodia" TextResourceKey="Cambodia"></Option>
        <Option value="Cameroon" TextResourceKey="Cameroon"></Option>
        <Option value="Canada" TextResourceKey="Canada"></Option>
        <Option value="Cape Verde" TextResourceKey="Cape Verde"></Option>
        <Option value="Cayman Islands" TextResourceKey="Cayman Islands"></Option>
        <Option value="Central African Republic" TextResourceKey="Central African Republic"></Option>
        <Option value="Chad" TextResourceKey="Chad"></Option>
        <Option value="Chile" TextResourceKey="Chile"></Option>
        <Option value="China" TextResourceKey="China"></Option>
        <Option value="Christmas Island" TextResourceKey="Christmas Island"></Option>
        <Option value="Cocos (Keeling) Islands" TextResourceKey="Cocos (Keeling) Islands"></Option>
        <Option value="Colombia" TextResourceKey="Colombia"></Option>
        <Option value="Comoros" TextResourceKey="Comoros"></Option>
        <Option value="Congo,Democratic Republic of the" TextResourceKey="Congo, Democratic Republic of the"></Option>
        <Option value="Cook Islands" TextResourceKey="Cook Islands"></Option>
        <Option value="Costa Rica" TextResourceKey="Costa Rica"></Option>
        <Option value="Cote d''Ivoire" TextResourceKey="Cote d''Ivoire"></Option>
        <Option value="Croatia" TextResourceKey="Croatia"></Option>
        <Option value="Cuba" TextResourceKey="Cuba"></Option>
        <Option value="Curacao" TextResourceKey="Curacao"></Option>
        <Option value="Cyprus" TextResourceKey="Cyprus"></Option>
        <Option value="Czech Republic" TextResourceKey="Czech Republic"></Option>
        <Option value="Denmark" TextResourceKey="Denmark"></Option>
        <Option value="Djibouti" TextResourceKey="Djibouti"></Option>
        <Option value="Dominica" TextResourceKey="Dominica"></Option>
        <Option value="Dominican Republic" TextResourceKey="Dominican Republic"></Option>
        <Option value="Ecuador" TextResourceKey="Ecuador"></Option>
        <Option value="Egypt" TextResourceKey="Egypt"></Option>
        <Option value="El Salvador" TextResourceKey="El Salvador"></Option>
        <Option value="Equatorial Guinea" TextResourceKey="Equatorial Guinea"></Option>
        <Option value="Eritrea" TextResourceKey="Eritrea"></Option>
        <Option value="Estonia" TextResourceKey="Estonia"></Option>
        <Option value="Ethiopia" TextResourceKey="Ethiopia"></Option>
        <Option value="European Union" TextResourceKey="European Union"></Option>
        <Option value="Falkland Islands (Islas Malvinas)" TextResourceKey="Falkland Islands (Islas Malvinas)"></Option>
        <Option value="Faroe Islands" TextResourceKey="Faroe Islands"></Option>
        <Option value="Fiji" TextResourceKey="Fiji"></Option>
        <Option value="Finland" TextResourceKey="Finland"></Option>
        <Option value="France" TextResourceKey="France"></Option>
        <Option value="French Polynesia" TextResourceKey="French Polynesia"></Option>
        <Option value="French Southern and Antarctic Lands" TextResourceKey="French Southern and Antarctic Lands"></Option>
        <Option value="Gabon" TextResourceKey="Gabon"></Option>
        <Option value="Gambia" TextResourceKey="Gambia"></Option>
        <Option value="Gaza Strip" TextResourceKey="Gaza Strip"></Option>
        <Option value="Georgia" TextResourceKey="Georgia"></Option>
        <Option value="Germany" TextResourceKey="Germany"></Option>
        <Option value="Ghana" TextResourceKey="Ghana"></Option>
        <Option value="Gibraltar" TextResourceKey="Gibraltar"></Option>
        <Option value="Greece" TextResourceKey="Greece"></Option>
        <Option value="Greenland" TextResourceKey="Greenland"></Option>
        <Option value="Grenada" TextResourceKey="Grenada"></Option>
        <Option value="Guam" TextResourceKey="Guam"></Option>
        <Option value="Guatemala" TextResourceKey="Guatemala"></Option>
        <Option value="Guernsey" TextResourceKey="Guernsey"></Option>
        <Option value="Guinea" TextResourceKey="Guinea"></Option>
        <Option value="Guinea-Bissau" TextResourceKey="Guinea-Bissau"></Option>
        <Option value="Guyana" TextResourceKey="Guyana"></Option>
        <Option value="Haiti" TextResourceKey="Haiti"></Option>
        <Option value="Heard Island and McDonald Islands" TextResourceKey="Heard Island and McDonald Islands"></Option>
        <Option value="Holy See (Vatican City)" TextResourceKey="Holy See (Vatican City)"></Option>
        <Option value="Honduras" TextResourceKey="Honduras"></Option>
        <Option value="Hong Kong" TextResourceKey="Hong Kong"></Option>
        <Option value="Hungary" TextResourceKey="Hungary"></Option>
        <Option value="Iceland" TextResourceKey="Iceland"></Option>
        <Option value="India" TextResourceKey="India"></Option>
        <Option value="Indonesia" TextResourceKey="Indonesia"></Option>
        <Option value="Iran" TextResourceKey="Iran"></Option>
        <Option value="Iraq" TextResourceKey="Iraq"></Option>
        <Option value="Ireland" TextResourceKey="Ireland"></Option>
        <Option value="Isle of Man" TextResourceKey="Isle of Man"></Option>
        <Option value="Israel" TextResourceKey="Israel"></Option>
        <Option value="Italy" TextResourceKey="Italy"></Option>
        <Option value="Jamaica" TextResourceKey="Jamaica"></Option>
        <Option value="Japan" TextResourceKey="Japan"></Option>
        <Option value="Jersey" TextResourceKey="Jersey"></Option>
        <Option value="Jordan" TextResourceKey="Jordan"></Option>
        <Option value="Kazakhstan" TextResourceKey="Kazakhstan"></Option>
        <Option value="Kenya" TextResourceKey="Kenya"></Option>
        <Option value="Kiribati" TextResourceKey="Kiribati"></Option>
        <Option value="North Korea" TextResourceKey="North Korea"></Option>
        <Option value="South Korea" TextResourceKey="South Korea"></Option>
        <Option value="Kuwait" TextResourceKey="Kuwait"></Option>
        <Option value="Kyrgyzstan" TextResourceKey="Kyrgyzstan"></Option>
        <Option value="Laos" TextResourceKey="Laos"></Option>
        <Option value="Latvia" TextResourceKey="Latvia"></Option>
        <Option value="Lebanon" TextResourceKey="Lebanon"></Option>
        <Option value="Lesotho" TextResourceKey="Lesotho"></Option>
        <Option value="Liberia" TextResourceKey="Liberia"></Option>
        <Option value="Libya" TextResourceKey="Libya"></Option>
        <Option value="Liechtenstein" TextResourceKey="Liechtenstein"></Option>
        <Option value="Lithuania" TextResourceKey="Lithuania"></Option>
        <Option value="Luxembourg" TextResourceKey="Luxembourg"></Option>
        <Option value="Macau" TextResourceKey="Macau"></Option>
        <Option value="Macedonia" TextResourceKey="Macedonia"></Option>
        <Option value="Madagascar" TextResourceKey="Madagascar"></Option>
        <Option value="Malawi" TextResourceKey="Malawi"></Option>
        <Option value="Malaysia" TextResourceKey="Malaysia"></Option>
        <Option value="Maldives" TextResourceKey="Maldives"></Option>
        <Option value="Mali" TextResourceKey="Mali"></Option>
        <Option value="Malta" TextResourceKey="Malta"></Option>
        <Option value="Marshall Islands" TextResourceKey="Marshall Islands"></Option>
        <Option value="Mauritania" TextResourceKey="Mauritania"></Option>
        <Option value="Mauritius" TextResourceKey="Mauritius"></Option>
        <Option value="Mexico" TextResourceKey="Mexico"></Option>
        <Option value="Micronesia" TextResourceKey="Micronesia"></Option>
        <Option value="Federated States of Moldova" TextResourceKey="Federated States of Moldova"></Option>
        <Option value="Monaco" TextResourceKey="Monaco"></Option>
        <Option value="Mongolia" TextResourceKey="Mongolia"></Option>
        <Option value="Montenegro" TextResourceKey="Montenegro"></Option>
        <Option value="Montserrat" TextResourceKey="Montserrat"></Option>
        <Option value="Morocco" TextResourceKey="Morocco"></Option>
        <Option value="Mozambique" TextResourceKey="Mozambique"></Option>
        <Option value="Namibia" TextResourceKey="Namibia"></Option>
        <Option value="Nauru" TextResourceKey="Nauru"></Option>
        <Option value="Nepal" TextResourceKey="Nepal"></Option>
        <Option value="Netherlands" TextResourceKey="Netherlands"></Option>
        <Option value="New Caledonia" TextResourceKey="New Caledonia"></Option>
        <Option value="New Zealand" TextResourceKey="New Zealand"></Option>
        <Option value="Nicaragua" TextResourceKey="Nicaragua"></Option>
        <Option value="Niger" TextResourceKey="Niger"></Option>
        <Option value="Nigeria" TextResourceKey="Nigeria"></Option>
        <Option value="Niue" TextResourceKey="Niue"></Option>
        <Option value="Norfolk Island" TextResourceKey="Norfolk Island"></Option>
        <Option value="Northern Mariana Islands" TextResourceKey="Northern Mariana Islands"></Option>
        <Option value="Norway" TextResourceKey="Norway"></Option>
        <Option value="Oman" TextResourceKey="Oman"></Option>
        <Option value="Pakistan" TextResourceKey="Pakistan"></Option>
        <Option value="Palau" TextResourceKey="Palau"></Option>
        <Option value="Panama" TextResourceKey="Panama"></Option>
        <Option value="Papua New Guinea" TextResourceKey="Papua New Guinea"></Option>
        <Option value="Paraguay" TextResourceKey="Paraguay"></Option>
        <Option value="Peru" TextResourceKey="Peru"></Option>
        <Option value="Philippines" TextResourceKey="Philippines"></Option>
        <Option value="Pitcairn Islands" TextResourceKey="Pitcairn Islands"></Option>
        <Option value="Poland" TextResourceKey="Poland"></Option>
        <Option value="Portugal" TextResourceKey="Portugal"></Option>
        <Option value="Puerto Rico" TextResourceKey="Puerto Rico"></Option>
        <Option value="Qatar" TextResourceKey="Qatar"></Option>
        <Option value="Romania" TextResourceKey="Romania"></Option>
        <Option value="Russia" TextResourceKey="Russia"></Option>
        <Option value="Rwanda" TextResourceKey="Rwanda"></Option>
        <Option value="Saint Barthelemy" TextResourceKey="Saint Barthelemy"></Option>
        <Option value="Saint Kitts and Nevis" TextResourceKey="Saint Kitts and Nevis"></Option>
        <Option value="Saint Lucia" TextResourceKey="Saint Lucia"></Option>
        <Option value="Saint Martin" TextResourceKey="Saint Martin"></Option>
        <Option value="Saint Pierre and Miquelon" TextResourceKey="Saint Pierre and Miquelon"></Option>
        <Option value="Saint Vincent and the Grenadines" TextResourceKey="Saint Vincent and the Grenadines"></Option>
        <Option value="Samoa" TextResourceKey="Samoa"></Option>
        <Option value="San Marino" TextResourceKey="San Marino"></Option>
        <Option value="Sao Tome and Principe" TextResourceKey="Sao Tome and Principe"></Option>
        <Option value="Saudi Arabia" TextResourceKey="Saudi Arabia"></Option>
        <Option value="Senegal" TextResourceKey="Senegal"></Option>
        <Option value="Serbia" TextResourceKey="Serbia"></Option>
        <Option value="Seychelles" TextResourceKey="Seychelles"></Option>
        <Option value="Sierra Leone" TextResourceKey="Sierra Leone"></Option>
        <Option value="Singapore" TextResourceKey="Singapore"></Option>
        <Option value="Sint Maarten" TextResourceKey="Sint Maarten"></Option>
        <Option value="Slovakia" TextResourceKey="Slovakia"></Option>
        <Option value="Slovenia" TextResourceKey="Slovenia"></Option>
        <Option value="Solomon Islands" TextResourceKey="Solomon Islands"></Option>
        <Option value="Somalia" TextResourceKey="Somalia"></Option>
        <Option value="South Africa" TextResourceKey="South Africa"></Option>
        <Option value="South Georgia and South Sandwich Islands" TextResourceKey="South Georgia and South Sandwich Islands"></Option>
        <Option value="South Sudan" TextResourceKey="South Sudan"></Option>
        <Option value="Spain" TextResourceKey="Spain"></Option>
        <Option value="Sri Lanka" TextResourceKey="Sri Lanka"></Option>
        <Option value="Sudan" TextResourceKey="Sudan"></Option>
        <Option value="Suriname" TextResourceKey="Suriname"></Option>
        <Option value="Svalbard" TextResourceKey="Svalbard"></Option>
        <Option value="Swaziland" TextResourceKey="Swaziland"></Option>
        <Option value="Sweden" TextResourceKey="Sweden"></Option>
        <Option value="Switzerland" TextResourceKey="Switzerland"></Option>
        <Option value="Syria" TextResourceKey="Syria"></Option>
        <Option value="Taiwan" TextResourceKey="Taiwan"></Option>
        <Option value="Tajikistan" TextResourceKey="Tajikistan"></Option>
        <Option value="Tanzania" TextResourceKey="Tanzania"></Option>
        <Option value="Thailand" TextResourceKey="Thailand"></Option>
        <Option value="Timor-Leste" TextResourceKey="Timor-Leste"></Option>
        <Option value="Togo" TextResourceKey="Togo"></Option>
        <Option value="Tokelau" TextResourceKey="Tokelau"></Option>
        <Option value="Tonga" TextResourceKey="Tonga"></Option>
        <Option value="Trinidad and Tobago" TextResourceKey="Trinidad and Tobago"></Option>
        <Option value="Tunisia" TextResourceKey="Tunisia"></Option>
        <Option value="Turkey" TextResourceKey="Turkey"></Option>
        <Option value="Turkmenistan" TextResourceKey="Turkmenistan"></Option>
        <Option value="Turks and Caicos Islands" TextResourceKey="Turks and Caicos Islands"></Option>
        <Option value="Tuvalu" TextResourceKey="Tuvalu"></Option>
        <Option value="Uganda" TextResourceKey="Uganda"></Option>
        <Option value="Ukraine" TextResourceKey="Ukraine"></Option>
        <Option value="United Arab Emirates" TextResourceKey="United Arab Emirates"></Option>
        <Option value="United Kingdom" TextResourceKey="United Kingdom"></Option>
        <Option value="Uruguay" TextResourceKey="Uruguay"></Option>
        <Option value="Uzbekistan" TextResourceKey="Uzbekistan"></Option>
        <Option value="Vanuatu" TextResourceKey="Vanuatu"></Option>
        <Option value="Venezuela" TextResourceKey="Venezuela"></Option>
        <Option value="Vietnam" TextResourceKey="Vietnam"></Option>
        <Option value="Virgin Islands" TextResourceKey="Virgin Islands"></Option>
        <Option value="Wallis and Futuna" TextResourceKey="Wallis and Futuna"></Option>
        <Option value="West Bank" TextResourceKey="West Bank"></Option>
        <Option value="Western Sahara" TextResourceKey="Western Sahara"></Option>
        <Option value="Yemen" TextResourceKey="Yemen"></Option>
        <Option value="Zambia" TextResourceKey="Zambia"></Option>
        <Option value="Zimbabwe" TextResourceKey="Zimbabwe"></Option>
      </OptionList>
    </add>

    <add    name="State"
                type="System.String"
                allowMarkup="false"
        resourceFile="ProfileResource"
                labelResourceKey="StateLabel"
                lazyLoad="false"
                requiredForRegistration="true"
        showOnRegistraiton="true"
                allowAnonymous="true"
                visibleToAnonymous="true"
                visibleToAuthenticated="true"
                visibleToUser="true"
                editableByUser="true"
                regexValidationExpression=""
                regexValidationErrorResourceKey=""
                maxLength="100"
        cssClass="widetextbox"
                onlyAvailableForRoles=""
                onlyVisibleForRoles=""
                includeHelpLink="true"
                        >
      <OptionList>
        <Option value="N/A" TextResourceKey="Not Applicable"></Option>
        <Option value="AL" TextResourceKey="Alabama"></Option>
        <Option value="AK" TextResourceKey="Alaska"></Option>
        <Option value="AZ" TextResourceKey="Arizona"></Option>
        <Option value="AR" TextResourceKey="Arkansas"></Option>
        <Option value="CA" TextResourceKey="California"></Option>
        <Option value="CO" TextResourceKey="Colorado"></Option>
        <Option value="CT" TextResourceKey="Connecticut"></Option>
        <Option value="DE" TextResourceKey="Delaware"></Option>
        <Option value="DC" TextResourceKey="District of Columbia"></Option>
        <Option value="FL" TextResourceKey="Florida"></Option>
        <Option value="GA" TextResourceKey="Georgia"></Option>
        <Option value="HI" TextResourceKey="Hawaii"></Option>
        <Option value="ID" TextResourceKey="Idaho"></Option>
        <Option value="IL" TextResourceKey="Illinois"></Option>
        <Option value="IN" TextResourceKey="Indiana"></Option>
        <Option value="IA" TextResourceKey="Iowa"></Option>
        <Option value="KS" TextResourceKey="Kansas"></Option>
        <Option value="KY" TextResourceKey="Kentucky"></Option>
        <Option value="LA" TextResourceKey="Louisiana"></Option>
        <Option value="ME" TextResourceKey="Maine"></Option>
        <Option value="MD" TextResourceKey="Maryland"></Option>
        <Option value="MA" TextResourceKey="Massachusetts"></Option>
        <Option value="MI" TextResourceKey="Michigan"></Option>
        <Option value="MN" TextResourceKey="Minnesota"></Option>
        <Option value="MS" TextResourceKey="Mississippi"></Option>
        <Option value="MO" TextResourceKey="Missouri"></Option>
        <Option value="MT" TextResourceKey="Montana"></Option>
        <Option value="NE" TextResourceKey="Nebraska"></Option>
        <Option value="NV" TextResourceKey="Nevada"></Option>
        <Option value="NH" TextResourceKey="New Hampshire"></Option>
        <Option value="NJ" TextResourceKey="New Jersey"></Option>
        <Option value="NM" TextResourceKey="New Mexico"></Option>
        <Option value="NY" TextResourceKey="New York"></Option>
        <Option value="NC" TextResourceKey="North Carolina"></Option>
        <Option value="ND" TextResourceKey="North Dakota"></Option>
        <Option value="OH" TextResourceKey="Ohio"></Option>
        <Option value="OK" TextResourceKey="Oklahoma"></Option>
        <Option value="OR" TextResourceKey="Oregon"></Option>
        <Option value="PA" TextResourceKey="Pennsylvania"></Option>
        <Option value="RI" TextResourceKey="Rhode Island"></Option>
        <Option value="SC" TextResourceKey="South Carolina"></Option>
        <Option value="SD" TextResourceKey="South Dakota"></Option>
        <Option value="TN" TextResourceKey="Tennessee"></Option>
        <Option value="TX" TextResourceKey="Texas"></Option>
        <Option value="UT" TextResourceKey="Utah"></Option>
        <Option value="VT" TextResourceKey="Vermont"></Option>
        <Option value="VA" TextResourceKey="Virginia"></Option>
        <Option value="WA" TextResourceKey="Washington"></Option>
        <Option value="WV" TextResourceKey="West Virginia"></Option>
        <Option value="WI" TextResourceKey="Wisconsin"></Option>
        <Option value="WY" TextResourceKey="Wyoming"></Option>

      </OptionList>

    </add>

  </properties>


</mojoProfile>

​​

5/9/2013 2:12:33 PM
Gravatar
Total Posts 2

Re: mojoProfile.config

So I have determined what the cause of this issue was.  Apparently the value for the key="mojoProfileConfigFileName" was CustomProfile.config and not the mojoProfile.config file I was using.  After changing that setting and updating the web.config file, the exception is no longer thrown. I did also correct the issue in the CustomProfile.config file to further prevent other issues.

You must sign in to post in the forums. This thread is closed to new posts.