"relation \"table_name\" does not exist"
Posted: Wed 26 Aug 2015 09:40
Hi,
I'm using Devart dotConnect product to connect to a PostgreSql database. I have problem with Devart Rolemanager. There is already an object named 'AspNetRoles' in the database, but Devart.Data.PostgreSql.Web.dll needs name of table with lower case as this like : "aspnet_roles" . I don't want to change my table names in DB , However it's using in another places.
How can I do that Devart.Data.PostgreSql.Web.dll enabling my table names with mixed cases ("AspNetRoles") ?
I'm getting Error Exception when I use this operation:
@if (User.IsInRole("admin")) {
}
Exception:
An exception of type 'System.Configuration.Provider.ProviderException' occurred > in Devart.Data.PostgreSql.Web.dll but was not handled in user code
Error: {Error: 42P01: relation "aspnet_roles" does not exist}
ErrorCode : -2147467259
All your answers will be appreciated:)
Thank you!
I'm using Devart dotConnect product to connect to a PostgreSql database. I have problem with Devart Rolemanager. There is already an object named 'AspNetRoles' in the database, but Devart.Data.PostgreSql.Web.dll needs name of table with lower case as this like : "aspnet_roles" . I don't want to change my table names in DB , However it's using in another places.
How can I do that Devart.Data.PostgreSql.Web.dll enabling my table names with mixed cases ("AspNetRoles") ?
I'm getting Error Exception when I use this operation:
@if (User.IsInRole("admin")) {
}
Exception:
An exception of type 'System.Configuration.Provider.ProviderException' occurred > in Devart.Data.PostgreSql.Web.dll but was not handled in user code
Error: {Error: 42P01: relation "aspnet_roles" does not exist}
ErrorCode : -2147467259
All your answers will be appreciated:)
Thank you!