Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

Afaria, ASP.NET Error: Input string was not in a correct format

$
0
0

Hello.

 

Please help me with following problem (sorry for my english:))

 

I create App Store Application Policy for iOS.

 

I provided the following information:

- AppStore Number, for example, 580765736

- Country Code: RU

- App ID: com.socialquantum2.cityint

 

 

When I checked "Deploy using MDM protocol" checkbox, the policy could not be saved when click Save button. Simply stay on General page with no reaction.

When I uncheck "Deploy using MDM protocol" the policy saved successfull. But if I edit the policy and check "Deploy using MDM protocol" again, the error occured: Server Error in /Afaria application. Input string was not in a correct format.

afaria_error01.png

Then if I edit policy, clear the App ID field, check "Deploy using MDM protocol" and click Save, the policy could not be saved and stay on this page with no reaction and without error. But if I switch to another page with checked "Deploy using MDM protocol" checkbox, the same error appears again.

 

In Event Log I have the following warnings:

---------------------------------------------------------------------------------------

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 27.03.2013 16:58:35

Event time (UTC): 27.03.2013 12:58:35

Event ID: 47e38a71851b42e0a534b3fc2edbbe70

Event sequence: 467

Event occurrence: 12

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1/ROOT/Afaria-1-130088599795953319

    Trust level: Full

    Application Virtual Path: /Afaria

    Application Path: c:\afaria\webAdmin\

    Machine name: SERVER

 

Process information:

    Process ID: 2248

    Process name: w3wp.exe

    Account name: Domain\AccountName

 

Exception information:

    Exception type: FormatException

    Exception message: Input string was not in a correct format.

   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)

   at System.Convert.ToDecimal(String value)

   at Afaria.Admin.UserControls.Policy.Application.iOS.AppStoreGeneral.SaveSettings(PolicyServiceClient policyService, DataState dataState, String sSettingsID)

   at Afaria.Admin.UserControls.Policy.Application.iOS.AppStoreGeneral.SaveCurrentSettings(PolicyServiceClient policyService, DataState dataState)

   at Afaria.Admin.UserControls.Policy.ApplicationEditor.ApplicationEditorRadListBox_SelectedIndexChanged(Object sender, EventArgs e)

   at Telerik.Web.UI.RadListBox.OnSelectedIndexChanged(EventArgs e)

   at System.Web.UI.Page.RaiseChangedEvents()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Request information:

    Request URL: https://server/Afaria/Pages/PolicyPage.aspx

    Request path: /Afaria/Pages/PolicyPage.aspx

    User host address: fe80::b1c3:7214:8c3a:5100SERVER

    User: Domain\admin

    Is authenticated: True

    Authentication Type: NTLM

    Thread account name: DOMAIN\ServerAccount

 

Thread information:

    Thread ID: 11

    Thread account name: DOMAIN\ServerAccount

    Is impersonating: False

    Stack trace:    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

   at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)

   at System.Convert.ToDecimal(String value)

   at Afaria.Admin.UserControls.Policy.Application.iOS.AppStoreGeneral.SaveSettings(PolicyServiceClient policyService, DataState dataState, String sSettingsID)

   at Afaria.Admin.UserControls.Policy.Application.iOS.AppStoreGeneral.SaveCurrentSettings(PolicyServiceClient policyService, DataState dataState)

   at Afaria.Admin.UserControls.Policy.ApplicationEditor.ApplicationEditorRadListBox_SelectedIndexChanged(Object sender, EventArgs e)

   at Telerik.Web.UI.RadListBox.OnSelectedIndexChanged(EventArgs e)

   at System.Web.UI.Page.RaiseChangedEvents()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

---------------------------------------------------------------------------------------

 

I tried to change regional settings from Russian to English (U.S), tried to change the number delimeter from "," to "." with hope that this help. But no result.

 

Please help.

Tnx.


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>