Click here to Skip to main content
15,886,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a Silverlight Business Application, three project on it:
1. SLApp (Silverlight Application).
2. SLDataServices (ADO.NET Entity Framework, Domain Service, Metadata, Extensions for metadata).
3. SLWeb (ASp.NET WebSite with ASP.NET Membership enabled and working).

When I run the project a Login Page appears, you type user and pass. After that you logged on, so the Silverlight app loads (I pass user & pass parameter) and login in silverlight app too.

When the Ribbon Menu loads (via DomainDataSource) I see the error on the RequiredAuthentication Atributte on my DomainService in SLDataServices project. When I breakpointed on this line of code I can see that I have a cookie empty and the ServiceContext setted to null.

I'm using an Oracle Database on this project.

How can I obtain the user authenticated on my DomainService?

Thanks in advance.
Posted
Updated 24-Jul-12 11:34am
v2
Comments
Christian Amado 24-Jul-12 17:29pm    
Sorry, I'm using an Oracle Database on this project.
Sergey Alexandrovich Kryukov 24-Jul-12 17:31pm    
Add it using "Improve question"...
--SA
Christian Amado 24-Jul-12 17:34pm    
Thanks for the advice.
woutercx 24-Jul-12 21:11pm    
It's impossible to tell just by reading your question. Unless I see it in front of me and I can look at every property. First thing I would do is check the eventlog on the server for any authentication errors.
woutercx 24-Jul-12 21:20pm    
Does your code look like this example? http://www.silverlight.net/learn/advanced-techniques/wcf-ria-services/wcf-ria-services-(silverlight-quickstart)

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900