• MySpace你居然报黄页?


    今天想学习一下OpenSocial的相关知识,准备拿MySpace来练练手,在
    http://developer.myspace.cn/modules/apps/pages/myapps.aspx
    中创建新挂件(个人觉得这个名字怎么那么难听!!)时,居然报黄页:



    甚至连错误信息都暴露无疑:
    [InvalidCastException: 指定的转换无效。]
     MySpace.China.SignUp.Controller.V2.<>c__DisplayClass5b.b__5a(IParameterSet parameters) in e:\Builds\dll.Platform.Release\Platform\MySpace.China.SignUp.Controller\V2\SignUpDAO.cs:865
     MySpace.Data.SafeProcedure.ExecuteNonQuery(Database database, SqlConnection connection, String procedureName, ParameterMapper parameterMapper, OutputParameterMapper outputMapper) in e:\Builds\dll.Core.Release\Core\Data\SafeProcedure.cs:220
    
    [SafeProcedureException: Database Exception Against Database: Federated1300 
     
     With procedure: dbo.Friends_AddFriendship 
     
     With inner exception message: 指定的转换无效。]
     MySpace.China.SignUp.Controller.V2.SignUpControllerV2.SignUp(SignUpInfo signupInfo, Stack`1 rollbackMethods, SignUpCompleteHandler completeHandler, String xmlDefaultLayout, CreateAccountStatus& status) in e:\Builds\dll.Platform.Release\Platform\MySpace.China.SignUp.Controller\V2\SignUpControllerV2.cs:146
     MySpace.China.SignUp.Controller.V2.SignUpControllerV2.SignUp(SignUpInfo signupInfo, SignUpCompleteHandler completeHandler, String xmlDefaultLayout, CreateAccountStatus& status) in e:\Builds\dll.Platform.Release\Platform\MySpace.China.SignUp.Controller\V2\SignUpControllerV2.cs:67
     MySpace.Applications.Providers.ApplicationProvider.CreateThirdPartyApplication(Int32 developerId, String applicationName, CultureInfo defaultCulture, String applicationProfileEmail, String applicationProfilePassword, String ipAddress, ICollection`1 applicationPermissions, OptionalCreationArguments optionalArguments, String contentLayout) in e:\Builds\dll.Platform.Release\Platform\MySpace.Applications\Providers\ApplicationProvider.cs:126
    
    [ApplicationCreationException: [INNER EXCEPTION MESSAGE] Database Exception Against Database: Federated1300 
     
     With procedure: dbo.Friends_AddFriendship 
     
     With inner exception message: 指定的转换无效。
    [INNER EXCEPTION MESSAGE] 指定的转换无效。
    ]
     MySpace.Applications.Providers.ApplicationProvider.CreateThirdPartyApplication(Int32 developerId, String applicationName, CultureInfo defaultCulture, String applicationProfileEmail, String applicationProfilePassword, String ipAddress, ICollection`1 applicationPermissions, OptionalCreationArguments optionalArguments, String contentLayout) in e:\Builds\dll.Platform.Release\Platform\MySpace.Applications\Providers\ApplicationProvider.cs:218
     MySpace.Developer.Web.MyApps.Core.BusinessObjects.App.CreateThirdPartyApplication(App app) in e:\Builds\web.developer.Release\public\MySpace.Developer.Common\Apps\BusinessObjects\App.cs:716
     MySpace.Developer.Web.MyApps.Core.BusinessObjects.App.CreateThirdPartyApplication() in e:\Builds\web.developer.Release\public\MySpace.Developer.Common\Apps\BusinessObjects\App.cs:451
     MySpace.Web.Developer.Modules.Apps.Pages.CreateAppAccount.CreateApp() in e:\Builds\web.developer.Release\public\MySpace.Web.Developer\Modules\Apps\Pages\CreateAppAccount.aspx.cs:86
     MySpace.Web.Developer.Modules.Apps.Pages.CreateAppAccount.btnSubmitCaptcha_Click(Object sender, EventArgs e) in e:\Builds\web.developer.Release\public\MySpace.Web.Developer\Modules\Apps\Pages\CreateAppAccount.aspx.cs:63
     System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
     System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
     System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
     System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
     System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
     System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
    
    
    这帮人真不知道是做啥的,咋嫩不专业哩....
  • 相关阅读:
    从Java到C++——常量的使用规则
    LintCode 二叉树的遍历 (非递归)
    POJ 3592 Instantaneous Transference(强连通+DP)
    怎样给UINavigationBar加入button?
    《Spring技术内幕》笔记-第四章 Spring MVC与web环境
    HDU 4714 Tree2cycle(树型DP)
    hdu 1102 Constructing Roads(kruskal || prim)
    [Android随笔]内存泄漏以及内存溢出
    保存数据同一时候查询保存数据记录的ID
    8086的储存器编址
  • 原文地址:https://www.cnblogs.com/sanshi/p/1571879.html
Copyright © 2020-2023  润新知