Hi, I have a working webpage in Visual Studio 2005, but once it is uploaded to x10hosting, I get the following error:
"Server Error in '/' Application
Operation aborted due to an exception (see Trace for details).
Description: HTTP 500. Error processing request.
Stack Trace:
System.Configuration.Provider.ProviderException: Operation aborted due to an exception (see Trace for details).
at System.Web.Security.SqliteRoleProvider.RoleExists (System.String roleName) [0x00000]
at System.Web.Security.Roles.RoleExists (System.String rolename) [0x00000]
at ASP.global_asax.Application_Start (System.Object sender, System.EventArgs e) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
"
My Web.config file is:
<?xml version="1.0" ?>
<configuration>
<appSettings />
<connectionStrings />
<system.web>
<customErrors mode="Off" />
<roleManager enabled="true"/>
</system.web>
</configuration>
Thanks.
"Server Error in '/' Application
Operation aborted due to an exception (see Trace for details).
Description: HTTP 500. Error processing request.
Stack Trace:
System.Configuration.Provider.ProviderException: Operation aborted due to an exception (see Trace for details).
at System.Web.Security.SqliteRoleProvider.RoleExists (System.String roleName) [0x00000]
at System.Web.Security.Roles.RoleExists (System.String rolename) [0x00000]
at ASP.global_asax.Application_Start (System.Object sender, System.EventArgs e) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
"
My Web.config file is:
<?xml version="1.0" ?>
<configuration>
<appSettings />
<connectionStrings />
<system.web>
<customErrors mode="Off" />
<roleManager enabled="true"/>
</system.web>
</configuration>
Thanks.