Windows 2003 Server和ASP [英] Windows 2003 Server and ASP

查看:59
本文介绍了Windows 2003 Server和ASP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我无法连接到安装在

上的SQL 2000 Server中的数据库,这是一个来自asp页面的Windows 2003 Server机器。它给出了

以下错误:


用于SQL Server的Microsoft OLE DB提供程序(0x80004005)

用户登录失败' 山。原因:与可信任的SQL无关

服务器连接。


我有时也得到:

MSDataShape(0x80004005)

数据提供程序无法初始化。


我可以使用

visual basic 6应用程序中的相同连接字符串和参数进行连接。


我还可以在Windows 2000 / XP上运行

的SQL 2000中连接Web客户端。


认证模式是混合的。


我认为这与安全性有关。请告诉我

要做什么。这是非常紧急的。

Hi,
I am unable to connect to a database in my SQL 2000 Server installed on
a Windows 2003 Server machine from an asp page. It gives the the
following error:

Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user ''sa''. Reason: Not associated with a trusted SQL
Server connection.

I also sometimes get:
MSDataShape (0x80004005)
Data provider could not be initialized.

I can connect with the same connection string and parameters from a
visual basic 6 application.

I can also connect the web client with the same DB in SQL 2000 running
on Windows 2000/XP.

The authentication mode is mixed.

I believe it is something to do with security. Please advise me on what
to do. It is very urgent.

推荐答案

您可以通过搜索

找到相关信息。 dotnetnuke.com论坛,因为他们处理了从asp访问SQL服务器

很多。

You may be able to find something regarding this by searching the
dotnetnuke.com forums, as they have dealt with accessing SQL server
from asp a great deal.




SQL Server设置为仅接受NT Integrated Security。您可以将
更改为混合模式,请参阅BOL。


AND,不要使用sa帐户将您的网站连接到您的数据库。你是要求被黑客攻击,你的数据被窃取并在互联网上发布。使用

低特权帐户。在SQL Server 2000书籍中查找安全性

在线


问候

------------ --------------------

Mike Epprecht,微软SQL Server MVP

苏黎世,瑞士


IM: mi**@epprecht.net


MVP计划: http://www.microsoft.com/mvp
< br $> b $ b博客: http://www.msmvps.com/epprecht/


< Co ******** @ gmail.com>在消息中写道

news:11 ********************** @ g47g2000cwa.googlegr oups.com ...
Hi

The SQL Server is setup to only accept NT Integrated Security. You can
change it to mixed mode, see BOL.

AND, do not use the sa account to connect your web site to your DB. You are
asking to get hacked, your data stolen and published on the internet. Use a
low privileged account for this. Look up security in SQL Server 2000 Books
Online

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mi**@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

<Co********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

我无法从asp页面连接到安装在Windows 2003 Server机器上的SQL 2000 Server中的数据库。它给出了以下错误:

用于SQL Server的Microsoft OLE DB提供程序(0x80004005)
用户sa的登录失败。原因:与可信的SQL
服务器连接无关。

我有时也会得到:
MSDataShape(0x80004005)
数据提供程序无法初始化。

我可以从
visual basic 6应用程序连接相同的连接字符串和参数。

我也可以在运行SQL 2000的SQL 2000中连接Web客户端和相同的数据库在Windows 2000 / XP上。

认证模式是混合的。

我认为它与安全性有关。请告诉我
要做什么。这是非常紧急的。
Hi,
I am unable to connect to a database in my SQL 2000 Server installed on
a Windows 2003 Server machine from an asp page. It gives the the
following error:

Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user ''sa''. Reason: Not associated with a trusted SQL
Server connection.

I also sometimes get:
MSDataShape (0x80004005)
Data provider could not be initialized.

I can connect with the same connection string and parameters from a
visual basic 6 application.

I can also connect the web client with the same DB in SQL 2000 running
on Windows 2000/XP.

The authentication mode is mixed.

I believe it is something to do with security. Please advise me on what
to do. It is very urgent.



您好


SQL Server设置为仅接受NT Integrated Security。您可以将
更改为混合模式,请参阅BOL。


AND,不要使用sa帐户将您的网站连接到您的数据库。你是要求被黑客攻击,你的数据被窃取并在互联网上发布。使用

低特权帐户。在SQL Server 2000书籍中查找安全性

在线


问候

------------ --------------------

Mike Epprecht,微软SQL Server MVP

苏黎世,瑞士


IM: mi**@epprecht.net


MVP计划: http://www.microsoft.com/mvp
< br $> b $ b博客: http://www.msmvps.com/epprecht/


< Co ******** @ gmail.com>在消息中写道

news:11 ********************** @ g47g2000cwa.googlegr oups.com ...
Hi

The SQL Server is setup to only accept NT Integrated Security. You can
change it to mixed mode, see BOL.

AND, do not use the sa account to connect your web site to your DB. You are
asking to get hacked, your data stolen and published on the internet. Use a
low privileged account for this. Look up security in SQL Server 2000 Books
Online

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mi**@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

<Co********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

我无法从asp页面连接到安装在Windows 2003 Server机器上的SQL 2000 Server中的数据库。它给出了以下错误:

用于SQL Server的Microsoft OLE DB提供程序(0x80004005)
用户sa的登录失败。原因:与可信的SQL
服务器连接无关。

我有时也会得到:
MSDataShape(0x80004005)
数据提供程序无法初始化。

我可以从
visual basic 6应用程序连接相同的连接字符串和参数。

我也可以在运行SQL 2000的SQL 2000中连接Web客户端和相同的数据库在Windows 2000 / XP上。

认证模式是混合的。

我认为它与安全性有关。请告诉我
要做什么。这非常紧急。
Hi,
I am unable to connect to a database in my SQL 2000 Server installed on
a Windows 2003 Server machine from an asp page. It gives the the
following error:

Microsoft OLE DB Provider for SQL Server (0x80004005)
Login failed for user ''sa''. Reason: Not associated with a trusted SQL
Server connection.

I also sometimes get:
MSDataShape (0x80004005)
Data provider could not be initialized.

I can connect with the same connection string and parameters from a
visual basic 6 application.

I can also connect the web client with the same DB in SQL 2000 running
on Windows 2000/XP.

The authentication mode is mixed.

I believe it is something to do with security. Please advise me on what
to do. It is very urgent.



这篇关于Windows 2003 Server和ASP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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