General Category > General Discussion

Problem with UAC in Windows 7

<< < (2/4) > >>

virtuali:

--- Quote from: Scorpio47 on October 07, 2011, 11:14:56 am ---Nevertheless, it seems that these settings do NOT overwrite the general UAC settings or modify them, because the only setting that makes a difference is the UAC setting.
--- End quote ---

They do, but if the problem of IYP was related to FILE PERMISSIONS to write to the FSX folder, which is what creates 90% of issues with addons not entirely compatible with Vista/Win7.

However, it's possible that, either IYP needs to write in *other* folders, which are still under the C:\Program Files folder (= no permission to write by default), in that case you need to add your user to that folder too, OR it's a different thing altogether.

If the program author says it that it affects only European (non-English, maybe?) users, it's possible he's hard-coded program paths which are different by language ? For example, under the Italian version of Windows 7, the "C:\Program Files" folder is called "C:\Programmi" and this creates lots of issues with installers and products that, instead of correctly *asking* to Windows HOW the "C:\Program Files" folder is named, have the English version of the path hardcoded somewhere.

Scorpio47:
Hello Umberto,

thank you very much for this explanation which helps me to understand a little bit better how Windows works...

It seems that the problem is related to the speech recognition engine combined with localization (linguistic) settings. In my case I found a preinstalled Windows 7 Home version in German on my PC and I immediately upgraded to Ultimate using a version I had bought already earlier in Gibraltar. I then set the country to United States for date and time formats, decimal point etc, and I also changed the language for thr speech recognition from German to English (U.S.).
With these settings there is NO problem when UAC is disabled, but I receive the following error message, when UAC is enabled at any level:

***********************CUT**************************
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.set_ProcessorAffinity(IntPtr value)
   at ItsYourPlane.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ItsYourPlane
    Assembly Version: 4.1.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/JHV/AppData/Local/Apps/2.0/OJEC440B.90Y/CE9H0WA5.N9D/itsy..tion_9ececbceebb75e21_0004.0001_d906b92e505233f8/ItsYourPlane.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.SpeechLib
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Users/JHV/AppData/Local/Apps/2.0/OJEC440B.90Y/CE9H0WA5.N9D/itsy..tion_9ececbceebb75e21_0004.0001_d906b92e505233f8/Interop.SpeechLib.DLL
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
FSUIPCEX
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/JHV/AppData/Local/Apps/2.0/OJEC440B.90Y/CE9H0WA5.N9D/itsy..tion_9ececbceebb75e21_0004.0001_d906b92e505233f8/FSUIPCEX.DLL
----------------------------------------
FSUIPCClient
    Assembly Version: 1.1.2397.13
    Win32 Version: 1.1.2397.13
    CodeBase: file:///C:/Users/JHV/AppData/Local/Apps/2.0/OJEC440B.90Y/CE9H0WA5.N9D/itsy..tion_9ececbceebb75e21_0004.0001_d906b92e505233f8/FSUIPCClient.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
*******************************CUT**********************

Perhaps with this extensive eror message you will be able to find a solution....

If, on the other hand, it would be possible to run the cuatl.exe file without starting FSX as administrator and get the buildings at the three airports I have to show up, that would also solve the problem, I think I could live with UAC disabled all the time,,, but prefer to have it ON.

Thank you, grazie, gracias and Danke!
Ciao
Jürgen

virtuali:
That error report would surely help if I had the source code of the program, so you should post it to the ItsYourPlane developer, since he should know for sure what the program was doing when it crashed, the most interesting line is probably this one:

at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)

It's a long shot but, you might try this:

Give "Everyone" or a more specific user like "Authenicated Users" the right to debug programs.

You will find it here:

Open Group Policy...
Start | Type: gpedit.msc | OK |

Navigate to
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Debug programs

Scorpio47:
Buon giorno Umberto:

Heureka, my problem is now solved and it was with your help that Robert Cezar could determine the culprit, because you spotted the line in the error report which lead to the solution:
There is a setting in the IYP program called "Unify Affinity" and after switching this off all works fine now with UAC enabled!
(I do not know what that does, but I still think it had to do with access rights...)

I can now start FSX as administrator and all buildings are there, I can start the voice recognition engine and get the virtual co-pilot to help me fly the plane through voice commands... You made me a happy virtual pilot again!

THANK YOU, GRACIAS A TI, MILLE GRAZIE, DANKESChÖN, SPASIBO, XIEXIE etc.

Have a great weekend and take care,
Cheers
Jürgen

Scorpio47:
Hello Umberto,

while we were able to spot and solve my problem with the UAC settings I now have another question related to this conflict:

As you will remember I log on to Windows 7 as normal user (JHV) and have set FSX to ask for the administrator password when I start it (start as administrator) in order to make couatl and the sceneries work properly.

However, when I now create a flight file or use IYP to send me flight files for their VA flights, these files do not show up when I want to load a flight!
I have found out, that thea do not get stored in the personal FSX directory of the user JHV (...\Users\JHV\My Documents\Flight Simulator X Files\) but in that of the user admin!!!, i.e (...\Users\admin\My Documents\Flight Simulator X Files\).

Is there a way to tell FSX to use one particular directory to store all flight files and also to load them from there?

As it is now, files are stored for user admin, but when loading the program looks for files in the normal user´s directory, strange and not really consequent... It should be one or the other, I think...

I would be very grateful if you can help me with that, even if it is not directly related to the products you support.

THANK YOU and have a great day!
Jürgen

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version