Windows 7 Forums


Windows 7: Windows application issue with Windows 7

14 Apr 2011   #1

Windows 7 Enterprise edition
 
 
Windows application issue with Windows 7

Hello,

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 7 x64 (SP1)
 
 

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 rt.click 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
.


Reply

 Windows application issue with Windows 7 problems?



Thread Tools



Similar help and support threads for: Windows application issue with Windows 7
Thread Forum
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
Windows Application Blocker : Block Any Application With One Click Software
Weird issue encounter on installing 64bit application Installation & Setup


All times are GMT -5. The time now is 12:53 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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