Print Page | Close Window

login form error

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=725
Printed Date: 11-Jun-2026 at 6:22am


Topic: login form error
Posted By: dennism
Subject: login form error
Date Posted: 13-Mar-2008 at 2:19pm
 
Any fix fro the problem reported in post of feb 22 - see below.
 
Is there any limitations with devexpress that would limit implmenting rolebased security as per your samples?
 
thanks in advance
 
Dennis
 
<<<
 
Hi guys and gals,
 
When I run the C# sample code in the RoleBasedAuthorizationWithGetSetInterceptors project, I receive an error:
 
 "Incorrect syntax near the keyword 'from'"
 
The error is thrown when trying to evaluate the line:
 
User aUser = pManager.GetEntity<User>(anRdbQuery)

in the GetRoles(PersistenceManager pManager, string pUserName) method of the LoginManager class, after submitting the login form with the default entries.

Just thought I'd let you know...
 
Regards,
 
Steve  >>>



Replies:
Posted By: davidklitzke
Date Posted: 13-Mar-2008 at 3:15pm

Are you by any chance using DevForce 3.6.0.1?   If you are, there is a serious problem with this release that could cause this error.  You should be using DevForce 3,6,0,2,

 




Posted By: dennism
Date Posted: 13-Mar-2008 at 3:44pm
I checked the release notes and the last listed release is 3.6.0.2


Posted By: davidklitzke
Date Posted: 13-Mar-2008 at 9:27pm

We do not see this when we run the tutorial.  Can you send us your solution.




Print Page | Close Window