申请中的个人资料问题 [英] profile issue in application

查看:51
本文介绍了申请中的个人资料问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的应用程序在本地主机上运行良好,但数据库处于联机状态...
但是具有相同数据库的相同代码在服务器中不起作用
我在web.config中使用了个人资料
当我们开始在应用程序中执行某些操作(例如添加产品并与购物车相关)时,它会自动生成ASPNET.mdf和App_Data文件夹中的日志文件,但不会在服务器中生成.
链接:
http://warehouse.akashatoz.com/productdetails.aspx?Value=19 [ ^ ]

Hi,

my application is working fine in local host but database is online...
but the same code with same db not working in server
i used profile in web.config
when we start doing something in application like adding products and related to cart it is generating automatically ASPNET.mdf and log files in App_Data folder but not generating in server..

link:
http://warehouse.akashatoz.com/productdetails.aspx?Value=19[^]

推荐答案

您需要在用于部署的sql服务器上执行aspnet_regsql命令.

http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx [ ^ ]
You need to execute the aspnet_regsql command on the sql server you are using for deployment.

http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx[^]


这篇关于申请中的个人资料问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆