[Mono-aspnet-list] ProviderException from SqliteMembershipProvider

XTRMan1 xtr.xtrnet at gmail.com
Sun Mar 7 14:48:05 EST 2010


Ok I must have enabled tracing incorrecly because I am getting two different
messages in the trace viewer (trace.axd) and the default trace log
(TextWriterOutput.log) and neither of them are the real exception.
In the trace viewer it has the server error with the provider exception.  In
the trace log it has my test message for tracing.
Here is the relevant portion of my Web.config:
<system.web>
  <trace enabled="true" />
</system.web>
<system.diagnostics>
    <trace autoflush="true">
      <listeners>
        <add name="TextTraceListener"
type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
initializeData="TextWriterOutput.log" />
      </listeners>
    </trace>
  </system.diagnostics>
Default.aspx.cs:
void Page_Load(object sender, EventArgs e)

{
  System.Diagnostics.Trace.Write("Testing...");
  Membership.CreateUser("Admin", "!hikari!a96");
  Roles.AddUserToRoles("Admin", new String[]{"Admin", "Moderator", "Member",
"User"});

}
TextWriterOutput.log:
Testing...
-- 
View this message in context: http://n4.nabble.com/ProviderException-from-SqliteMembershipProvider-tp1583108p1583828.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list