Click here to Skip to main content
15,885,891 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Set the Text property of a TextBox Pin
soup12-Nov-09 5:37
soup12-Nov-09 5:37 
QuestionHow to find Duplicate record using silverlight web service Pin
Sundeep Ganiga11-Nov-09 3:34
Sundeep Ganiga11-Nov-09 3:34 
QuestionInvoke WPF window from VBA Pin
AksharRoop11-Nov-09 2:50
AksharRoop11-Nov-09 2:50 
Questionreference issue Pin
Tauseef A10-Nov-09 19:45
Tauseef A10-Nov-09 19:45 
AnswerRe: reference issue Pin
Mark Salsbery11-Nov-09 9:58
Mark Salsbery11-Nov-09 9:58 
QuestionRe: reference issue Pin
Tauseef A11-Nov-09 10:39
Tauseef A11-Nov-09 10:39 
AnswerRe: reference issue Pin
Mark Salsbery11-Nov-09 10:48
Mark Salsbery11-Nov-09 10:48 
QuestionSession variable in Silverlight Pin
Nekkantidivya10-Nov-09 0:23
Nekkantidivya10-Nov-09 0:23 
Hi,

I am working on a silverlight application. In this I need to access session variables in silverlight application.For this I created a WCF service to get the session variable. For this I used the following code:

In service

[ServiceContract(Namespace = "")][AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]

UserId = int.Parse(System.Web.HttpContext.Current.Session["LoginUserID"].ToString());


In web.config file:
<serviceHostingEnvironment aspNetCompatibilityEnabled="true">

but I am getting the following error:

System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.


If any one have any idea to solve this or directly access the session variable in silverlight application please reply me.

Thanks in advance.
QuestionError when calling WCF service in silverlight application. Pin
Nekkantidivya9-Nov-09 21:39
Nekkantidivya9-Nov-09 21:39 
AnswerRe: Error when calling WCF service in silverlight application. Pin
Michael Eber28-Dec-09 12:43
Michael Eber28-Dec-09 12:43 
QuestionHow to use WCF service in silver light application Pin
Nekkantidivya9-Nov-09 21:33
Nekkantidivya9-Nov-09 21:33 
AnswerRe: How to use WCF service in silver light application Pin
Mark Salsbery10-Nov-09 7:10
Mark Salsbery10-Nov-09 7:10 
AnswerRe: How to use WCF service in silver light application Pin
Michael Eber28-Dec-09 12:41
Michael Eber28-Dec-09 12:41 
QuestionHow to Bind the Image to DataGrid Control from DataBase in WPF With C# Pin
ChandrakanthGaddam9-Nov-09 20:20
ChandrakanthGaddam9-Nov-09 20:20 
AnswerRe: How to Bind the Image to DataGrid Control from DataBase in WPF With C# Pin
Mark Salsbery10-Nov-09 6:16
Mark Salsbery10-Nov-09 6:16 
QuestionDataGridTextColumn Content? Pin
Sundeep Ganiga9-Nov-09 19:09
Sundeep Ganiga9-Nov-09 19:09 
QuestionRe: DataGridTextColumn Content? Pin
Mark Salsbery10-Nov-09 7:12
Mark Salsbery10-Nov-09 7:12 
AnswerRe: DataGridTextColumn Content? Pin
Sundeep Ganiga11-Nov-09 3:41
Sundeep Ganiga11-Nov-09 3:41 
GeneralRe: DataGridTextColumn Content? Pin
Mark Salsbery11-Nov-09 9:43
Mark Salsbery11-Nov-09 9:43 
QuestionMessage Removed Pin
9-Nov-09 6:22
professionalN_tro_P9-Nov-09 6:22 
AnswerMessage Removed Pin
9-Nov-09 8:49
professionalN_tro_P9-Nov-09 8:49 
GeneralRe: MVVM and using WPF Toolkit charting Pin
Jeremy Hutchinson12-Nov-09 5:05
professionalJeremy Hutchinson12-Nov-09 5:05 
QuestionWant to measure the drawing / rending time of WPF usercontrols Pin
netsrak219-Nov-09 3:05
netsrak219-Nov-09 3:05 
QuestionError in WCF service in Silverlight application Pin
Nekkantidivya8-Nov-09 22:35
Nekkantidivya8-Nov-09 22:35 
QuestionRe: Error in WCF service in Silverlight application Pin
Mark Salsbery9-Nov-09 7:22
Mark Salsbery9-Nov-09 7:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.