<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yaron's Blog &#187; PHP功能类库</title>
	<atom:link href="http://yaron.org.cn/archives/category/web-developement/php-coding/feed" rel="self" type="application/rss+xml" />
	<link>http://yaron.org.cn</link>
	<description>About PHP MYSQL JS WEB FreeBSD etc.</description>
	<lastBuildDate>Sat, 31 Jul 2010 13:54:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL Server 2005用户管理 以及PHP 连接SQL Server 2005 遇到的问题</title>
		<link>http://yaron.org.cn/archives/193</link>
		<comments>http://yaron.org.cn/archives/193#comments</comments>
		<pubDate>Wed, 07 Apr 2010 11:15:50 +0000</pubDate>
		<dc:creator>Yaron</dc:creator>
				<category><![CDATA[PHP功能类库]]></category>

		<guid isPermaLink="false">http://yaron.org.cn/archives/193</guid>
		<description><![CDATA[1.&#160; SQL Server 2005 添加用户时，报错：此版本的 Microsoft Windows 不支持 MUST_CHANGE 选项。(Microsoft SQL Server, Error: 15195)。 
 

解决方案：只需创建登录时取消强制密码过期选项。

&#160;
2.&#160; 使用客户端来连接SQL Server 2005 时，报错：用户<a href="http://yaron.org.cn/archives/193" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p><strong>1.&#160; SQL Server 2005 添加用户时，报错：<font color="#ff0000">此版本的 Microsoft Windows 不支持 MUST_CHANGE 选项。(Microsoft SQL Server, Error: 15195)。</font></strong> </p>
<p> <span id="more-193"></span>
</p>
<p>解决方案：<font color="#000080"><strong>只需创建登录时取消强制密码过期选项。</strong></font></p>
<p><strong><font color="#000080"></font></strong></p>
<p>&#160;</p>
<p><strong>2.&#160; 使用客户端来连接SQL Server 2005 时，报错：<font color="#ff0000">用户 &#8216;hylink&#8217; 登录失败。该用户与可信 SQL Server 连接无关联。 (Microsoft SQL Server, Error: 18452)</font></strong></p>
<p><strong><font color="#ff0000"></font></strong></p>
<p>报错原因：<font color="#000080"><strong>该错误产生的原因是由于SQL Server使用了&quot;仅 Windows&quot;的身份验证方式，因此用户无法使用SQL Server的登录帐户（例如 sa )进行连接。</strong></font></p>
<p><strong><font color="#000080"></font></strong></p>
<p>解决方案：<font color="#000080"><strong>数据库身份验证选择&quot;SQL Server和 Windows&quot;方式。</strong></font></p>
<p><strong><font color="#000080"></font></strong></p>
<p><strong><font color="#000080"></font></strong></p>
<p><strong><font color="#000000">3. PHP 连接SQL Server 2005 报错：</font><font color="#000080">Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server</font></strong></p>
<p><strong><font color="#000080"></font></strong></p>
<p>如果PHP.ini设置等都没有问题，那就是ntwdblib.dll 的版本不匹配了，下载正确版本的 ntwdblib.dll (2000.80.194.0)，<a href="http://webzila.com/?wz=dll">http://webzila.com/?wz=dll</a>在这儿找。然后替换apache/bin/和PHP/目录中的netwdblib.dll</p>
]]></content:encoded>
			<wfw:commentRss>http://yaron.org.cn/archives/193/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
