New Posts New Posts RSS Feed: login form error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

login form error

 Post Reply Post Reply
Author
dennism View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Mar-2008
Location: United States
Posts: 8
Post Options Post Options   Quote dennism Quote  Post ReplyReply Direct Link To This Post Topic: login form error
    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  >>>
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post 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,

 


Back to Top
dennism View Drop Down
Newbie
Newbie
Avatar

Joined: 13-Mar-2008
Location: United States
Posts: 8
Post Options Post Options   Quote dennism Quote  Post ReplyReply Direct Link To This Post Posted: 13-Mar-2008 at 3:44pm
I checked the release notes and the last listed release is 3.6.0.2
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 13-Mar-2008 at 9:27pm

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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down