Sharepoint自定义ASPX页面无法连接到数据库 [英] Sharepoint custom aspx page can't connect to database

查看:76
本文介绍了Sharepoint自定义ASPX页面无法连接到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Sharepoint站点中创建了一个自定义aspx页面,并通过SQL Server连接到该服务器上的数据库来选择数据。当我查看该页面时,它可以工作,但是当另一个用户尝试查看该页面时,它会出现以下错误:


'/'应用程序中的服务器错误。


用户'GRINCOR\GuguK'登录失败。

说明:在执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其在代码中起源的详细信息。


异常详细信息:System.Data.SqlClient.SqlException:用户'GRINCOR\GuguK登录失败'。


有人可以给我解决这个问题的方法吗?我正在使用Sharepoint Services 3.0。

解决方案

据我所知,您无法登录数据库。



用户'GRINCOR\GuguK'登录失败



这意味着具有名称Guguk的用户无法登录。 / p>

I have created a custom aspx page within my Sharepoint site with a SQL Server connection to a database on that server to select data. When I view the page it works, but when another user tries to view it it gives the following error :

Server Error in '/' Application.

Login failed for user 'GRINCOR\GuguK'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'GRINCOR\GuguK'.

Can someone give me a solution to this problem? I am using Sharepoint Services 3.0.

解决方案

From what I can see you can't login on your Database.

Login failed for user 'GRINCOR\GuguK'

This means that the user with Name Guguk can't login.

这篇关于Sharepoint自定义ASPX页面无法连接到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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