<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Oracle' and 'role'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Oracle%2crole&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tags 'Oracle' and 'role'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>ASP.NET Web Site Admin tool &amp;amp; Custom Provider</title><link>http://forums.asp.net/thread/1471131.aspx</link><pubDate>Mon, 20 Nov 2006 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1471131</guid><dc:creator>GreggTB</dc:creator><description>
&lt;p&gt;FYI: I did &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have written two custom providers for our Oracle 9i database...a Membershp provider and a Role provider. I've been testing these over the last few days and they seem to be working well. However, when I try to use the ASP.NET 2.0 Web Site Administration Tool in VS 2005, I get an error when I click on the "Create User" link.&lt;br /&gt;&lt;br /&gt;On the tool's Provider tab, I &lt;i&gt;have&lt;/i&gt; selected to use my custom providers! Also, I do not seem to have a problem managing existing users or creating/managing roles. Nor do I have any problems when I programmatically create a new user using the "Membership.CreateUser()" method. The error only seems to occur when I try to use the "Create User" link via the ASP.NET 2.0 Web Site Administration Tool's Security tab.&lt;br /&gt;&lt;br /&gt;The following info is a portion of what's written to the Application Event Log:&lt;br /&gt;/**********************************/&lt;br /&gt;Exception information:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exception type: ConfigurationErrorsException&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exception message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 120)&lt;br /&gt;/**********************************/&lt;br /&gt;&lt;br /&gt;In my application's WEB.CONFIG file, I have removed the default connection info for the "LocalSqlServer" connection. I have also added a &amp;lt;clear/&amp;gt; element under each provider as suggested in this post: &lt;a href="http://forums.asp.net/thread/1291997.aspx" target="_blank" title=" Exception when administering roles through web site admin tool"&gt;http://forums.asp.net/thread/1291997.aspx&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In the computer's MACHINE.CONFIG file, I do have an entry for the "LocalSqlServer" connection, as well as entries for the default AspNetSqlMembershipProvider, AspNetSqlProfileProvider and AspNetSqlRoleProvider providers. I've tried commenting out all of these entries but then I still get an error (although a different one) when I try to use the "Create User" link via the ASP.NET 2.0 Web Site Administration Tool's Security tab.&lt;br /&gt;&lt;br /&gt;Has anyone else encountered this error and know of a solution? Any ideas why this error occurs only via the one link in the ASP.NET 2.0 Web Site Administration Tool?&lt;br /&gt;&lt;br /&gt;I'd greatly appreciate any assistance with this issue. Thank you! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>