Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
QuestionException thrown in designer Pin
FantasticFiasco18-Jun-09 0:59
FantasticFiasco18-Jun-09 0:59 
AnswerRe: Exception thrown in designer Pin
Luc Pattyn18-Jun-09 1:25
sitebuilderLuc Pattyn18-Jun-09 1:25 
GeneralRe: Exception thrown in designer Pin
Rob Philpott18-Jun-09 1:51
Rob Philpott18-Jun-09 1:51 
GeneralRe: Exception thrown in designer Pin
Luc Pattyn18-Jun-09 2:01
sitebuilderLuc Pattyn18-Jun-09 2:01 
GeneralRe: Exception thrown in designer Pin
Rob Philpott18-Jun-09 2:39
Rob Philpott18-Jun-09 2:39 
GeneralRe: Exception thrown in designer Pin
Luc Pattyn18-Jun-09 2:44
sitebuilderLuc Pattyn18-Jun-09 2:44 
GeneralRe: Exception thrown in designer Pin
FantasticFiasco18-Jun-09 3:40
FantasticFiasco18-Jun-09 3:40 
GeneralRe: Exception thrown in designer Pin
Nagy Vilmos18-Jun-09 3:42
professionalNagy Vilmos18-Jun-09 3:42 
GeneralRe: Exception thrown in designer Pin
Luc Pattyn18-Jun-09 3:48
sitebuilderLuc Pattyn18-Jun-09 3:48 
AnswerRe: Exception thrown in designer Pin
OriginalGriff18-Jun-09 1:39
mveOriginalGriff18-Jun-09 1:39 
Question3DES Encryption ? Pin
Mohammad Dayyan18-Jun-09 0:37
Mohammad Dayyan18-Jun-09 0:37 
AnswerRe: 3DES Encryption ? Pin
stancrm18-Jun-09 0:42
stancrm18-Jun-09 0:42 
GeneralRe: 3DES Encryption ? Pin
Mohammad Dayyan18-Jun-09 5:28
Mohammad Dayyan18-Jun-09 5:28 
AnswerRe: 3DES Encryption ? Pin
Colin Angus Mackay18-Jun-09 0:43
Colin Angus Mackay18-Jun-09 0:43 
Questiondebug sql with parameters Pin
jogisarge18-Jun-09 0:06
jogisarge18-Jun-09 0:06 
AnswerRe: debug sql with parameters Pin
Rob Philpott18-Jun-09 0:20
Rob Philpott18-Jun-09 0:20 
AnswerRe: debug sql with parameters Pin
DoctorMick18-Jun-09 0:23
DoctorMick18-Jun-09 0:23 
GeneralRe: debug sql with parameters Pin
jogisarge18-Jun-09 1:25
jogisarge18-Jun-09 1:25 
GeneralRe: debug sql with parameters Pin
Mirko198018-Jun-09 3:47
Mirko198018-Jun-09 3:47 
Questionhow to Upgrade visual studio 2005 windows application project to 2008? Pin
amit_8317-Jun-09 23:59
professionalamit_8317-Jun-09 23:59 
AnswerRe: how to Upgrade visual studio 2005 windows application project to 2008? Pin
crayzeecoder18-Jun-09 0:08
crayzeecoder18-Jun-09 0:08 
QuestionKeep getting error 1314 after calling generic handler? Pin
Phillip Donegan17-Jun-09 22:53
Phillip Donegan17-Jun-09 22:53 
Hi all,

I keep getting error ID 1314 "An unhanded security exception has occurred" in the event log. However this only happens on the staging servers. If i run it on my local machine it works fine.

What I'm trying to do is run a file uploader (flex) this then calls the handlers (C#.Net 2.0) in the pres layer. This should then call the app layer and do the basic file IO (create a folder and stick the uploaded file into this folder). However when I try to execute this code on any of the staging servers I get error 1314. I've googled loads and looked on here. The one topic I found on here said that I should change the group policy and set it to be able to run as part of the operating system. Did this but the problem is still there.

Some more info, I'm using windows impersonation on all of my IO methods. The account that is being impersonated is in the administrators group (for now). Also this type of IO (create folder and stick something in it) is being done in other parts of the website and is working fine??

The error that the flex returns is as follows: "[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]" and "[HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=500]".

In the event log:
Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1314
Date: 18/06/2009
Time: 09:27:26
User: N/A
Computer: OAXGS22
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 18/06/2009 09:27:26
Event time (UTC): 18/06/2009 08:27:26
Event ID: 4de8de366e684eec959db42fb5231dae
Event sequence: 20
Event occurrence: 2
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1214093380/Root-1-128897866071562500
Trust level: Full
Application Virtual Path: /
Application Path: D:\xgs_dev_published_web\Xerox_Apps\photo\presentation\
Machine name: OAXGS22

Process information:
Process ID: 5712
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Request information:
Request URL: http://pres.photo.xerox.xgsdev.com/handle/ImageUpload.ashx
Request path: /handle/ImageUpload.ashx
User host address: 13.215.60.31
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Any ideas?

Thanks
Phil
QuestionCreate Control on RunTime Pin
Socheat.Net17-Jun-09 22:52
Socheat.Net17-Jun-09 22:52 
AnswerRe: Create Control on RunTime Pin
OriginalGriff17-Jun-09 23:14
mveOriginalGriff17-Jun-09 23:14 
GeneralRe: Create Control on RunTime Pin
Michael Bookatz17-Jun-09 23:37
Michael Bookatz17-Jun-09 23:37 

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.