zoukankan      html  css  js  c++  java
  • 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
    
    
    这帮人真不知道是做啥的,咋嫩不专业哩....
  • 相关阅读:
    webstorm 自定义代码模板
    HTML5 manifest ApplicationCache
    WebStorm 快捷键收藏
    函数内巧用注释实现多行文本拼接
    图片剪裁上传插件
    将json转为复杂url参数
    CSS3实现半像素边框
    打造自己的3D全景漫游
    自适应rem布局
    header页头内容整理
  • 原文地址:https://www.cnblogs.com/sanshi/p/1571879.html
Copyright © 2011-2022 走看看