不好意思,初学者关于ms petshop 3.0的数据库连接配置问题?

llm06 2004-12-20 02:32:49
windows 2000+oracle 9i,根据安装程序提供的脚本已经把数据库结构建好了。可是
只能显示default页面和其他不需要访问数据库的页面,一旦点击访问数据库的页面,比如登陆,就会出错,我知道肯定是数据库配置的错误,可是又不知道在那里配置,我在config tool里面修改了app.config,好像还是不行,请问该怎么配置?谢谢!
...全文
106 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangxt 2004-12-21
  • 打赏
  • 举报
回复
帮你顶
llm06 2004-12-21
  • 打赏
  • 举报
回复
up
llm06 2004-12-21
  • 打赏
  • 举报
回复
重装了一遍,重新配置了一下就好了。揭帖
llm06 2004-12-21
  • 打赏
  • 举报
回复
我自己乱改了一下
感觉已经连上了,不过报这个错误
都是?号,看不懂
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


llm06 2004-12-20
  • 打赏
  • 举报
回复
这还说的不清楚吗?
ms pet shop的数据库连接配置在哪里设置?如何设置?oracle的
jasminetea 2004-12-20
  • 打赏
  • 举报
回复
你这样问别人很难帮助你啊,连错误信息都没给...只能帮你顶了

110,533

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧