IIS 7和数据库之间的连接在Windows Server 2003中 [英] connection between IIS 7 and Database In Windows Server 2003

查看:107
本文介绍了IIS 7和数据库之间的连接在Windows Server 2003中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

希望你没问题

我遇到了一个问题:

我有网页(.aspx)它执行在SQL Server数据库上查询,而:

Web服务器(IIS7)中的网页。

同一网络(LAN)中其他服务器中的数据库 - Windows Server 2003 SP2。



当我在同一局域网中从3d电脑请求页面时,网页无法连接到DataBase。



可以任意一个 - 谢谢 - 表示我。

解决方案

它不起作用。你误会了。它是需要数据库连接的IIS,而不是PC访问它所服务的页面,除非你在javascript中进行一些非常时髦的数据库访问,在这种情况下,IIS是无关紧要的。



无论哪种方式,没有人可以帮助这个,没有真正的信息。错误是什么?代码是什么样的?等

Dear All,
hope u are fine
I face a problem as :
I have web page (.aspx) it execute a query on a sql server DataBase whereas:
the web page in a web server (IIS7).
the DataBase in Other Server in the same network(LAN ) - Windows Server 2003 SP2.

when I request the page from 3d pc in the same LAN the web page could not connect to DataBase .

could any one -thanked- denote me about that .

解决方案

It does not work that way. You are mistaken. It's IIS that needs the DB connection, not the PC accessing pages served by it, unless you're doing some very funky DB access in javascript, in which case, IIS is irrelevant.

Either way, no-one can help based on this, there's no real info. What's the error ? What does the code look like ? etc.


这篇关于IIS 7和数据库之间的连接在Windows Server 2003中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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