这还说的不清楚吗?
ms pet shop的数据库连接配置在哪里设置?如何设置?oracle的

解决方案 »

  1.   

    我自己乱改了一下
    感觉已经连上了,不过报这个错误
    都是?号,看不懂
    Base-64 ?????????? 
    ??: ???? Web ?????????????????????????????????????????????????? ??????: System.FormatException: Base-64 ?????????????: 
    ? 33? 
    ? 34?  // Try to sign in with the given credentials
    ? 35?  AccountInfo account = dal.SignIn(userId, password);
    ? 36? 
    ? 37?  // Return the account
     ???: c:\program files\microsoft\petshop\bll\account.cs    ?: 35 ????: 
    [FormatException: Base-64 ??????????]
       System.Convert.FromBase64String(String s) +0
       PetShop.Utility.ConnectionInfo.DecryptDBConnectionString(String InputConnectionString)
       PetShop.OracleDAL.OraHelper..cctor()[TypeInitializationException: ?PetShop.OracleDAL.OraHelper???????????????]
       PetShop.OracleDAL.OraHelper.GetCachedParameters(String cacheKey) +0
       PetShop.OracleDAL.Account.GetSignOnParameters()
       PetShop.OracleDAL.Account.SignIn(String userId, String password)
       PetShop.BLL.Account.SignIn(String userId, String password) in c:\program files\microsoft\petshop\bll\account.cs:35
       PetShop.Web.ProcessFlow.AccountController.ProcessLogin(String userId, String password) in C:\Program Files\Microsoft\PetShop\Web\ProcessFlow\AccountController.cs:41
       PetShop.Web.SignIn.SubmitClicked(Object sender, ImageClickEventArgs e) in C:\Program Files\Microsoft\PetShop\Web\SignIn.aspx.cs:30
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +109
       System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +69
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1277