<?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>石无言 &#187; ASP.NET</title>
	<atom:link href="http://www.hugstone.com/index.php/archives/tag/aspnet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hugstone.com</link>
	<description>三生石前问一声，人间哪里修正果！</description>
	<lastBuildDate>Thu, 26 Aug 2010 02:57:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>[ASP.NET] System.Exception: System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本</title>
		<link>http://www.hugstone.com/index.php/archives/311</link>
		<comments>http://www.hugstone.com/index.php/archives/311#comments</comments>
		<pubDate>Tue, 02 Jun 2009 09:22:33 +0000</pubDate>
		<dc:creator>stone</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.hugstone.com/?p=311</guid>
		<description><![CDATA[<p>环境:WIN2003+IIS+Oracle 9i+.NET Framework 3.0+IE 7<br />
在IIS上部署无线**系统的WS模块时，IE中运行时WS的asmx调用页，提示如下错误：</p>

<div class="wp_syntax"><div class="code">System.Exception: System.Data.OracleClient 需要 Oracle 客户[......]</div></div><p class='read-more'><a href='http://www.hugstone.com/index.php/archives/311'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>环境:WIN2003+IIS+Oracle 9i+.NET Framework 3.0+IE 7<br />
在IIS上部署无线**系统的WS模块时，IE中运行时WS的asmx调用页，提示如下错误：</p>

<div class="wp_syntax"><div class="code"><pre class="asmx" style="font-family:monospace;">System.Exception: System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本。
在 System.Data.OracleClient.OCI.DetermineClientVersion()
在 System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName)
在 System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString connectionOptions)
在 System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.OracleClient.OracleConnection.Open()
在 HISPlus.DbAccess.Connect()
在 HISPlus.OracleAccess.SelectData(String sqlSel, String tableName, DataSet&amp;amp; ds, Boolean blnWithKey)
在 HISPlus.DbAccess.SelectData(String sqlSel, String tableName)
在 DataWebSrv.GetPdaDbTableList(DateTime dtLastUpdate) 位置 c:\MobileWebSrv\App_Code\DataWebSrv.cs:行号 60</pre></div></div>

<p>解决方法:<br />
使用administrator用户登陆,<br />
在ORACLE_HOME目录(默认为C:\Oracle\ora92),右键"属性" -&gt; "安全"选项卡,点击"添加",在"选择用户和组"中点击"高级",<br />
点击"立即查找",在搜索结果中将ASPNET用户添加进去，并将相应的权限赋给ASPNET用户。<br />
将IIS重启即可（可以在命令行中使用iisreset命令重启IIS）。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hugstone.com/index.php/archives/311/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
