I removed the security and authentication modules and added them back in: (Simple Security and AD Authentication modules). After this I cannot run the XAF application. I get the attached error. Please assist. Thank you.
Actual Results:
"Invalid object name 'dbo.BasicUser'."
System.Data.dll!System.Data.SqlClient.SqlConnection.OnError(System.Data.SqlClient.SqlException exception, bool breakConnection) + 0x74 bytes
System.Data.dll!System.Data.SqlClient.SqlInternalConnection.OnError(System.Data.SqlClient.SqlException exception, bool breakConnection) + 0x6c bytes
System.Data.dll!System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(System.Data.SqlClient.TdsParserStateObject stateObj) + 0xc3 bytes
System.Data.dll!System.Data.SqlClient.TdsParser.Run(System.Data.SqlClient.RunBehavior runBehavior = UntilDone, System.Data.SqlClient.SqlCommand cmdHandler, System.Data.SqlClient.SqlDataReader dataStream, System.Data.SqlClient.BulkCopySimpleResultSet bulkCopyHandler, System.Data.SqlClient.TdsParserStateObject stateObj) + 0x959 bytes
System.Data.dll!System.Data.SqlClient.SqlDataReader.ConsumeMetaData() + 0x22 bytes
System.Data.dll!System.Data.SqlClient.SqlDataReader.MetaData.get() + 0x54 bytes
System.Data.dll!System.Data.SqlClient.SqlCommand.FinishExecuteReader(System.Data.SqlClient.SqlDataReader ds = {System.Data.SqlClient.SqlDataReader}, System.Data.SqlClient.RunBehavior runBehavior, string resetOptionsString) + 0xd6 bytes
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello Steven,
Thank you for the question. Please review the following thread on our forum that may help you resolve the problem:
http://community.devexpress.com/forums/t/54544.aspx
If this solution help, please close this issue. In case if the thread above doesn't help, please attach the eXpressAppFramework.log file.
Thanks,
Stan.
I am developing in C#, not VB so it doesn't appear to be related. Also, my error includes the text:
Invalid object name: dbo.BasicUser
Hello Steven,
Thank you for your report. The Simple Security uses the SimpleUser class as a default user. After deleting the Security Module and placing it to the designer again, its UserType attribute has the BasicUser value - this class is unavailable since XAF version 8.3. That's why the exception occurs. Since this behavior is incorrect, I've converted your issue to a bug report. To fix the problem, set the authenticationActiveDirectory1.UserType and securitySimple1.UserType properties in the WinApplication.Designer.cs file to typeof(DevExpress.Persistent.BaseImpl.SimpleUser).
Thanks,
Anatol
That did the trick. Thanks.