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 8.1 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 for2: Windows application issue with Windows 7
Thread Forum
Full Screen Application Focus Issue Gaming
Windows XP Mode Application delays and won't open from Windows 7 Virtualization
IQS application issue Performance & Maintenance
Taskbar application issue (includes a video clip) BSOD Help and Support
Application Installation in Windows 7 Software
Weird issue encounter on installing 64bit application 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 04:50 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33