将IIS wesite与sql server连接 [英] connect IIS wesite with sql server

查看:114
本文介绍了将IIS wesite与sql server连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,
我使用iis服务器配置网站,当我打开浏览器并键入我的网站地址时,它可以正常工作,但是当我尝试使用sql server数据库登录而不是以下类型的异常ID时.

无法打开登录请求的数据库"cmcdb".登录失败.用户"IIS APPPOOL \ DefaultAppPool"的登录失败.

请帮助我.

dear,
I configure the website with iis server it is working when i open the browser and type the address of my website.but when I try to attampte to login with sql server database than following type of exception id thrown.

Cannot open database "cmcdb" requested by the login. The login failed. Login failed for user ''IIS APPPOOL\DefaultAppPool''.

please help me.

推荐答案

您必须授予对数据库的访问权限,请单击以下链接:^ ]
You have to grant access to the database, follow this link : http://technet.microsoft.com/en-us/library/ms172405%28v=sql.105%29.aspx[^]


这篇关于将IIS wesite与sql server连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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