Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have made a Windows application using C++ which runs with no error connecting to an Oracle database when installed in a real computer. When it runs on Citrix Metaframe it sometimes raises an "Access Violation" exception. Is there any rule or any special security action to be made for running a Windows C++ application on Citrix Metaframe ?

share|improve this question
This is a topic for Stack Overflow. It's time to properly debug your application and find out where and why it's failing. The language the app is written in is irrelevant. – John Gardeniers Aug 31 '10 at 21:55

Access Violation usually means that an area of memory is accessed that may not be used. Citrix uses some special version of core dlls so bugs that are unnoticed in a normal environment may surface there.

The Access Violation error has addition information that is important and can be used to trace the bug.

share|improve this answer
That's a massive over simplification. Access Violation is a generic term which describes ALL access denied issues, not just memory related. – John Gardeniers Aug 31 '10 at 21:56
It says Access Denied on missing file system permissions. – Hendrik Brummermann Sep 1 '10 at 6:48

Run Sysinternals Process Monitor and look for any "Access Denied" messages when the error pops up. It sounds like the user is missing appropriate file permissions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.