Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows application issue with Windows 7

14 Apr 2011   #1

Windows 7 Enterprise edition
Windows application issue with Windows 7


Firstly, if this is not the appropriate place to post this question I apologize, but, I am tired of Google search.. it's been 2 days now.

Here is my scenario:

I have a desktop appication (C# Windows application). It syncs data b/w sql server databases with another server. This works fine on Windows XP SP3 machine.

However, when I install the same on Windows 7 professional 32 bit m/c, after Sync completes succesfully, the application closes.

The exception in the event viewer is - Thread exception:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

The application has all the prerequisites installed and the required IIS roles/settings, like compatipility. I am unsure as to why it refuses to work only on Widows 7 OS. I have tried to run it in compatibility mode with Windows XP SP3, with the same resultant exception.

Please help.. I do not know what is the setting that needs to change on Windows 7 OS which will resolve this.

Thank you very much for your help, in advance.

My System SpecsSystem Spec
14 Apr 2011   #2

Windows 10 Pro (x64)

My System SpecsSystem Spec
15 Apr 2011   #3

Windows 7 Enterprise edition

Hi logicearth,
Thanks for the reply.
As per the suggestions in the link you've provided - I've tried it by and 'run as Administrator', but, with no success.
The exception I'm getting is not when I try to install SQL server, so the other options on that link doesn't seem to apply. Is there any other option that I can try for a C# windows application which runs a web service (sync service) to sync data to avoid the thread exception?
My System SpecsSystem Spec


 Windows application issue with Windows 7

Thread Tools

Similar help and support threads
Thread Forum
Windows 7 volume mixer per application issue.
Greetings, I've been having a recurring issue with my window's sound mixer in which altering or even muting an application's sound does not result in any change. Only the main volume can get altered, which does not help me at all. My OS is Windows 7 Ultimate x64 and my current audio card is a...
Sound & Audio
Odd issue with application windows in W7
I was wondering if anyone knows how to change W7 behavior when it comes to opening up applications that require a password? Primarily MMO game launchers that require username an password input. The issue I have is that any MMO game launcher I open does not seem to be in the foreground of the...
Full Screen Application Focus Issue
I'm having a problem with any game that I try to play full screen. When I start the game I have to click rapidly in order for the game to keep focus and not minimize. I have trouble being able to get the games to stay focused. DirectX is up to date. NVIDIA drivers are up to date. All windows...
Windows XP Mode Application delays and won't open from Windows 7
Hi All, Searched all day for answers to my problem and so hoping to have your help! :-) With gratitude for any suggestions. Installed Windows 7 Professional, Windows Virtual PC and Windows XP Mode so as to use Canon 20D EOS Viewing Utility in seamless mode on Windows 7 professional. ...
Weird issue encounter on installing 64bit application
I have a weird experience when I am installing a 64 bit application on my 64 bit window 7. :sarc: It seems that the operating system is treating most of my application as 32 bit. For instance, skype version 3 in 64 bit version has been installed inside program file x86. I have another 64 bit...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:42.
Twitter Facebook Google+