.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Imran Ghani
Post New Web Links

Lose OperationContext

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :Windows Application
 

 

 

Hi,

 i have a sequence workflow that make a call to a service throw a SendAndReciveReply.

This causes the lose of operationcontext and realtive Current.ServiceSecurityContext.PrimaryIdentity.

If i include my SendAndReciveReply in OperationContextScope of WF Security Pack my sequence preserve it's context?

Can someone explain this?

Thanks

 




View Complete Post


More Related Resource Links

need your help regarding table and database.. without data lose

  

Hi..

I have a table like this in database

ItemNo ItemName Qty  

001       A               50       

002       A               20      

003       B               50  

004       C               60      

005       D               40 

006       E               90      

upto it has some 3000 rows in table..

Now what my problem is i have one more field in mydevelopment PC let us consider another column Category

I need to update this column to my client pc without losing 3000 data from table which already exist...

How to do...?



Stacked collapsible panels lose spacing after being collapsed

  
Hi all- I can't figure out why these collapsible panels are losing their white space inbetween each header after the panel is collapsed.    CSS: .collapsePanelHeader { border: 1px solid #333333; color: #333333; background-color: #e5e5e5; font-weight: bold; padding: 5px; margin-top: 5px; cursor: pointer; } .collapsePanel { height: 0px; background-color: #ffffff; overflow: hidden; border: 1px solid #333333; border-top: none; padding: 5px; padding-top: 10px; }  Panels: <div> <asp:Panel ID="HeaderPanel2" runat="server" CssClass="collapsePanelHeader">   Category 1 <span class="alignRight"> <asp:Label ID="collapseStateTextLabel2" runat="server" CssClass="labelInsidePanelHeader"></asp:Label> <asp:Image ID="HeaderImage2" runat="server" /> </span> </asp:Panel> <asp:Panel ID="ContentPanel2" runat="server" CssClass="collapsePanel"> <asp:TextBox ID="TextBox2" runat="server" BorderStyle="None&

Css style is lose

  
Hi,I have a login page with a css style and it works in the internet explorer.But, when a put the authentication tags in the web.config, the page lose the css style. Why it happening.There is my authentication tags:<authentication mode="Forms"> <forms loginUrl="/GlobalCLient/frmLogin.aspx"   protection="All"   timeout="5"   name=".ASPXAUTH"   path="/"     requireSSL="true"   slidingExpiration="true"   defaultUrl="default.aspx"   cookieless="UseDeviceProfile"   enableCrossAppRedirects="false" /> </authentication> <authorization> <deny users="?" /> <allow users="*" /> </authorization><authentication mode="Forms"> <forms loginUrl="/GlobalCLient/frmLogin.aspx"   protection="All"   timeout="5"   name=".ASPXAUTH"   path="/"     requireSSL="true"   slidingExpiration="true"   defaultUrl="default.aspx"   cookieless="UseDeviceProfile"   enableCrossAppRedirects="false" /> </authentication> &l

lose label value when set in Javascript

  
Hi All, I am trying to retrieve the value of a label set in Javascript (code below). I am trying to do this in a button event handler, does anyone know how to do this? in the button handler I need to retrieve the calculated value of Label1 and assign it to Label2 Any ideas?<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript" > function updateTotals() { cost = 0; total = 0 T = document.getElementById( "Textbox1" ); cost = parseFloat( T.value ); if ( isNaN(cost) ) cost = 0; total = total + cost; T = document.getElementById( "Textbox2" ); cost = parseFloat( T.value ); if ( isNaN(cost) ) cost = 0; total = total + cost; L = document.getElementById( "Label1" ); L.innerHTML = total; } </script> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) { Label2.Text = Label1.Text; } </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1&q

people picker problem, with multiple select lose the list.

  
<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> Hi guys I have a master table with configuration for reports. when I load a InfoPath form (2010) for new report I have a approvers that set ok  , and I have  Notifies (multiple people) when I load a value form master they left me in the field only the first value(people) and lose the others. Do you know if there any way to load a multiple people value in people picker control?   Thank in advance Ramiro

download a page lose authentication/session state

  

Hi All,

I have an issue of keeping the authentication and session state on a downloaded page, on the same website.

I have 2 pages, page 1 will download page 2, using the following code:

Page 1 code:

System.Net.WebClient webClient = new System.Net.WebClient();
byte[] buffer = webClient.DownloadData("http://www.mywebsite.co.uk/page2.aspx");
return Encoding.UTF8.GetString(buffer);


but the authentication is lost, so i needed to re-login in page 2 by writing auto login code myself.
But then the session is lost, so the session variables set in page 1 cannot be share to page 2, and vice versa.

Ideally, i needed page 2 to keep the authentication and session state when i call webClient.DownloadData()

Is there a way to do this?
Many thanks!


how to check avaibility for user name as soon as text box lose his focus

  

hi friends,

i am developing web portal and i need to know, how do check user name is available or not in database as soon as textbox lose focus,

i have problem, how to go code behind page after textbox lose his focus.

thanx in advance. 


MaskedEditExtender, text removed if you lose focus and set focus back on textbox

  

I have a MaskedEditExtender with Mask="(999) 999-9999".


Now my problem is, if someone goes into the textbox and enters


1234567


Then they leave the textbox, and then see that they forgot to enter the area code, if they go back in there to enter the area code, it starts overwritting the other numbers instead of just adding to them. 



OperationContext is null if client certificate is expired

  

is there a way to get the details of certificate (cert subject) when service rejects authentication for expired certificate or not trusted.

both the OperationContext and ServiceSecurityContext both are null.

Regards


singhhome
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend