when you designing the pages in vs.net, it uses windows authentication, but when you run the pages on a web server, normally the pages are run under ASPNET account which has limited privileges, try to add ASPNET account to your database, or change the authentication mode in the Enterprise manager for you database to SQL Server and Windows authentication and use a connection string like"data source=HOME-HY\NetSDK;initial catalog=hbhr;UID=YourSQLLoginID;PWD=YourSQLPassword;"or"data source=HOME-HY\NetSDK;initial catalog=hbhr;UID=sa;PWD=;"
解决方案 »
- 求asp.net下报表解决方案(要能输出excel文件)
- jquery ajax 增删改查的问题
- 在。net mvc的页面中 C#变量如何才能被js的变量赋值
- asp.net如何实现直接上传,不用上传控件
- 从GridView导出数据到Excel中时如何不导出删除列
- 服务器断请求的图片怎么才能缓存在客户端呢?最好是缓存在客户端的javascript数组中。
- 各位高手,进来帮我解决个 datagrid统计显示的绝症好吗?
- 我对于事件回发的理解
- asp.net 2.0 生成静态html.(vb的)
- w3wp.exe弹出错误对话框 内存为read ?
- 一个困扰我几个月的问题:.net framework sdk 频繁崩溃
- 请问有关asp和asp.net处理xml的问题!
Following your instruction , I have solved this problem easily
thank you again!