<?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 'membership'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Oracle%2cmembership&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tags 'Oracle' and 'membership'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Membership Provider Problems</title><link>http://forums.asp.net/thread/1759656.aspx</link><pubDate>Mon, 18 Jun 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1759656</guid><dc:creator>diehardguy</dc:creator><description>&lt;p&gt;I have created a custom Oracle Membership provider, which you can download at &lt;a href="http://www.dotnetfx.co.uk/"&gt;www.dotnetfx.co.uk&lt;/a&gt;. Anyway&amp;#39;s what I&amp;#39;m trying to do is to utilise the methods within the provider within other classes.&amp;nbsp; I have created a instance of the provider in my class as below.&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; omp &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; MembershipProvider = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; OracleMemberShipProvider()&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;This works ok, and I can view all the properties and methods within the designer as you would expect.&amp;nbsp; The problem is however that the provider does not seem to be initializing by using the method above, therefore the connection string properties etc are not being assigned with the web.config provider values. So when I call something from the provider such as:&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;omp.GetUserNameByEmail(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;damien.young&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I get an error stating that the Connection String property has not been initialized, obviously the reason behind this is that the membership provider is not initialized.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Has anyone got any suggestions on how to initialize the provider before making these calls? Do I have to call the initialize Sub first and pass in the name and namevaluecollection?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Please help!&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><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>