| 
                                                                        
                                                                         
                                                                            
                                                                                pablo.passero-aisnet
                                                                            - 
                                                                                3/22/2011 10:35:26 AM
                                                                            
                                                                         
                                                                         
                                                                            
                                                                        
                                                                        
                                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
                                                                         
                                                                        
                                                                            Unhandled security exception
                                                                        
                                                                            Hello,
  I'm developping a .NET 4 site. One of the pages includes a custom contact form that sends an e-mail message to the administrator.
  Before sent the message, a method is executed to verify the form information (i.e.: regular expression for the sender e-mail address). If some data isn't correct, some controls in the form (OK or Not OK images) must be displayed for the required form field.
  The form implements an ajax update panel (taking advantage of the sript manager) and, in the codebehind, an event handler asociated to the submit button, responsible to excutes the verification of data and message sending.
  When the button is pressed, the explorer's status bar shows "Page with errors" message, and the Windows 2008 Event Viewer shows the following event code: 
 
  Event code: 4010  Event message: An unhandled security exception has occurred.  Event time: 3/22/2011 1:07:21 PM  Event time (UTC): 3/22/2011 12:07:21 PM  Event ID: 3e8ecfb2610045ee8d713e1b1e56117c  Event sequence: 77  Event occurrence: 1  Event detail code: 0    Application information:      Application domain: /LM/W3SVC/2/ROOT-2-129452691771494800      Trust level: Full      Application Virtual Path: /      Application Path: C:\inetpub\wwwroot\KenticoCMS\      Machine name: AISERVER    Process information:      Process ID: 5532      Process name: w3wp.exe      Account name: NT AUTHORITY\NETWORK SERVICE    Request information:      Request URL: http://aisnet.local:800/CMSTemplates/Fluitronic/Contact.aspx?lang=es-ES&type=generic&aliaspath=/Contact      Request path: /CMSTemplates/Fluitronic/Contact.aspx      User host address: 192.168.1.21      User:       Is authenticated: False      Authentication Type:       Thread account name: NT AUTHORITY\NETWORK SERVICE    Custom event details: 
 
  Coul'd you please give me some orientation on this?
  Thank you very much! 
                                                                         
                                                                        
                                                                            
                                                                         
                                                                        
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                         
                                                                     |