﻿<?xml version="1.0" encoding="utf-8"?><rss 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:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Webgrid throwing exception connection to Oracle Database</title><link>http://www.intersoftsolutions.com/Community/WebGrid/w/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webgrid throwing exception connection to Oracle Database</title><link>http://www.intersoftsolutions.com/Community/WebGrid/w/</link><pubDate>Thu, 04 Sep 2014 23:02:35 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;br&gt;&lt;br&gt;I apologize for any inconvenience this problem may have caused you.&lt;br&gt;&lt;br&gt;I tried to find the solution based on your error message from another source &amp;amp; community / forum.&lt;br&gt;&lt;br&gt;I came up with a couple of solution you might try:&lt;br&gt;1. Please make sure that you have installed Oracle Data Access Components.&lt;br&gt;2. Please try to check that the correct assembly was installed in the GAC.&lt;br&gt;3. Please try to add the following DbProviderFactory entry to the web.config.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;system.data&amp;gt;	&amp;lt;DbProviderFactories&amp;gt;
		&amp;lt;add name="Oracle Data Provider for .NET"
		invariant="Oracle.DataAccess.Client"
		description="Oracle Data Provider for .NET"
		type="Oracle.DataAccess.Client.OracleClientFactory,
		Oracle.DataAccess,
		Version=2.111.6.20,
		Culture=neutral,
		PublicKeyToken=89b483f429c47342" /&amp;gt;
 	&amp;lt;/DbProviderFactories&amp;gt;
&amp;lt;/system.data&amp;gt;&lt;/pre&gt;&lt;p&gt;And another possible solution is remove the "Managed" word in the provider name.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;From:
connectionString="DATA SOURCE=10.3.10.101:1521/dataconn;PASSWORD=password;PERSIST   SECURITY INFO=True;USER ID=DataConn" providerName="Oracle.ManagedDataAccess.Client"

To:
connectionString="DATA SOURCE=10.3.10.101:1521/dataconn;PASSWORD=password;PERSIST     SECURITY INFO=True;USER ID=DataConn" providerName="Oracle.DataAccess.Client&lt;/pre&gt;&lt;p&gt;Here’s the source links that I found regarding this issue:&lt;br&gt;http://forums.asp.net/t/1734918.aspx?Unable+to+find+the+requested+Net+Framework+Data+Provider+It+may+not+be+installed+&lt;br&gt;http://stackoverflow.com/questions/17528252/odp-net-error-unable-to-find-the-requested-net-framework-data-provider&lt;br&gt;http://blogs.msdn.com/b/dotnetinterop/archive/2006/03/17/connecting-asp-net-2-0-gridview-to-oracle.aspx&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Webgrid throwing exception connection to Oracle Database</title><link>http://www.intersoftsolutions.com/Community/WebGrid/w/</link><pubDate>Thu, 04 Sep 2014 01:17:58 GMT</pubDate><dc:creator>gareth.durant@frontiersoftware.com.au</dc:creator><description>&lt;p&gt;I have a webgrid control on my page that is using SqlDataSource to connect to an Oracle database.&lt;/p&gt;&lt;p&gt;The connection string to the oracle database is setup in the web.config, as seen below:&lt;/p&gt;&lt;p&gt;&amp;lt;add name="RPW" connectionString="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.50.240)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=STGSAFR)));User Id=expr_master;Password=Frontier_6;" providerName="Oracle.ManagedDataAccess.Client"/&amp;gt;&lt;/p&gt;&lt;p&gt;The SqlDataSource is defined as:&lt;/p&gt;&lt;p&gt;&amp;lt;asp:SqlDataSource ID="sqlRPWReports" runat="server" ConnectionString="&amp;lt;%$ ConnectionStrings:RPW %&amp;gt;" SelectCommand="SELECT * FROM [RPWReportHeader] ORDER BY ReportName" ProviderName="&amp;lt;%$ ConnectionStrings:RPW.ProviderName %&amp;gt;" &amp;gt;&amp;lt;/asp:SqlDataSource&amp;gt;&lt;/p&gt;&lt;p&gt;The Webgrid is defined as :&lt;/p&gt;&lt;p&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="sqlRPWReports" Height="350px" UseDefaultStyle="True" OnInit="WebGrid1_Init" OnButtonClick="WebGrid1_RebindData" Width="100%" DefaultStyleMode="Win7"&amp;gt; &amp;lt;LayoutSettings AllowAddNew="No" ColumnFooters="Yes" AllowDelete="No" AllowColumnMove="Yes" AllowEdit="No" AllowExport="Yes" AllowFilter="No" AllowGrouping="Yes" AllowSelectColumns="Yes" AllowSorting="Yes" EditOnClick="False"&amp;gt; &amp;lt;/LayoutSettings&amp;gt; &amp;lt;RootTable DataKeyField="ReportId"&amp;gt; &amp;lt;SortedColumns&amp;gt; &amp;lt;/SortedColumns&amp;gt; &amp;lt;Columns&amp;gt; &amp;lt;ISWebGrid:WebGridColumn Caption="Report Id" Visible="false" DataMember="ReportId" Name="ReportId" EditType="NoEdit" Width="150px"&amp;gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt; &amp;lt;ISWebGrid:WebGridColumn Caption="Report Name" DataMember="ReportName" Name="ReportName" Width="150px"&amp;gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt; &amp;lt;ISWebGrid:WebGridColumn Caption="Owner" DataMember="Owner" Name="Owner" Width="150px"&amp;gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt; &amp;lt;ISWebGrid:WebGridColumn Caption="Category" DataMember="Category" Name="Category" Width="150px"&amp;gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt; &amp;lt;/Columns&amp;gt; &amp;lt;/RootTable&amp;gt; &amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/p&gt;&lt;p&gt;When running the page I get the following exception:&lt;/p&gt;&lt;p&gt;chris21 ExpressReports encountered a fatal error causing process to stop - error is : System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed. at&lt;br&gt;System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) at System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactory() at&lt;br&gt;System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactorySecure() at System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) at&lt;br&gt;System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,&lt;br&gt;DataSourceViewSelectCallback callback) at ISNet.WebUI.DataSourceInfo.PerformSelect() at ISNet.WebUI.WebGrid.WebGridDataSourceInfo.PerformSelect() at ISNet.WebUI.DataSourceInfo.DataBind() at&lt;br&gt;ISNet.WebUI.DataSourceInfo.EnsureDataBound() at ISNet.WebUI.DataSourceInfo.set_RequiresDataBinding(Boolean value) at ISNet.WebUI.WebGrid.WebGrid.?(Boolean) at ISNet.WebUI.WebGrid.WebGrid.() at&lt;br&gt;ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource) at ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at&lt;br&gt;System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at&lt;br&gt;System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at&lt;br&gt;System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at&lt;br&gt;System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Any assistance would be great.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>