We have a large winforms program. On one computer if you are running the program and open IE8 the winforms program freezes and doesn't come back. But if you already have IE8 running when you start the winforms program everything appears to be fine.
The same thing happens regardless of how you start IE8 (normal, no addins, or 64 bit).
My dev box has the same os, motherboard, processor, and memory and it runs fine.
This is on Vista Enterprise x64 Q9550 with 8GB ram.
It runs fine with Firefox 3. The weird thing is there are no web browser controls in the app or anything that should make it related to IE.
I would first start by trying to open a different browner (i.e. Chrome) to see what happens there. My guess is that will work but at least its another point of reference for solving the problem.
Wasn't really browser related. Some of the controls were created on a worker thread so they had no access to the Windows message pump.
Related
I have a hobby website:
http://www.chartmygolf.com/Programs/Program.aspx
and for the first time (in six years) someone has said the circle/percentage thing that appears when the program is loading is not appearing, and consequently the program does not load. What could be causing this?
He has installed Silverlight 5.
He is in the USA so I have a bit of time to prepare some ideas. The things I have thought of so far are:
A 32/64 bit mismatch between Internet Explorer and Silverlight versions. If it is this how do I check what 32bbit or 64bit versions they have of each?
Whether they have Silverlight not Enabled in Internet Explorer. (I think this might be low odds because he tried to load it on firefox and chrome with the exactly the same problem).
Does anyone know another Silverlight website page which requires program loading, so I can check if the problem he is having is specific to my page or to Silverlight programs in general?
Jon
EDIT:
Some more info.
He is operating on Windows 7.
He went to the sample Silverlight page (Silverlight SDK Sample Browser) and it loaded most of the way. What doesn't load is the top section and the sidebar which both have spinning circles around them with 100% in the middle.
He is using IE11.
In the add-on section the Silverlight is enabled for both 32-bit and 64-bit versions.
I hope this can be resolved.
I'm running my SL5 application (that has been working well so far) on Windows 8, and it is not going well. I have a background picture which usually does not render correctly, almost everytime I navigate my background (including the controls over it) just goes white till I resize IE, then it re-paints (what makes it stranger is that the parts that goes white is outside of the navigation frame, why is it getting repainted). (Chrome renders fine)
When I run my application out-of-browser my login screen pops up and works correctly but after the login screen closes it looks like the gray background of the login screen remains behind and I cannot click on anything, resizing makes no difference, it looks like every control has been disabled.
I have updated my NVidia Drivers to the latest, don't think its a display driver issue though.
Anyone else had these issues? Anyone else running SL5 fine on windows 8?
(Looks like I'll be downgrading back to windows 7 soon)
Silverlight should run great on any desktop browser in Windows 8, just like it does on Windows 7, Vista, and Mac. The underlying runtime is 100% the same. That does not mean you may not find a glitch with a graphics driver, but it means you shouldn't - and likely won't.
I did want to make a clarifying point, however, that Silverlight is not part of the Modern Internet Explorer (the Metro Internet Explorer). Only a subset of Flash is supported and that is only supported on white-listed sites.
This means Silverlight solutions that you might have expected to run on the Surface RT (running Windows RT - or Windows on Arm) will not run (as there is no SL runtime). And, I think we can all have a collective moan and ask, together, "Why not?" To which there is no acceptable answer.
The theoretical goal, of course, is to write native Windows 8 apps. If you want to write something web based you should write it in HTML5. That's the official word. I think we all know that HTML5 has a ways to go in order to catch Silverlight, but it is what it is. Can't change some things.
I have had no issues with any of my Silverlight 5 apps running on Windows 8 - I focus mainly on line of business apps but have some graphical and otherwise apps that run fine as well.
I'm only marking this as the answer to close the case, what the actual answer was to the problem we will never know. The solution: automatic updates. After much hassles with getting automatic updates to actually go through, my machine is now working well.
I am using visual studio 2010 on Windows 7 64bit.
I compiled and ran a simple application basically a thing a child could make.
Well the second it started to run, it froze my computer and rendered it unresponsive.
It continues to do this every time and for every application.
Any ideas why this is happening?
I figured out what was wrong.
COMODO Antivirus/Firewall blocks all applications from calling DLL's, you have to click "Allow" on the dialog that normally pops-up. But since its a DirectX DLL for WPF (since WPF uses DirectX) it froze windows along with my app.
I have a Silverlight application that I can run from Internet Explorer 8.
When I attempt to host it in a Winforms browser control as described here: Silverlight Hosted in Winforms it display a web page that says "To view this content, please install" and has a "Click now to install" button.
Unfortunately, SL4 is already installed. However I did try to follow the instructions. But was prompted, of course, that SL4 was already installed on my system.
I seems that at one spot IE/Silverlight cannot see that Silverlight runtime is installed, but at anoter spot it can see it. This has become a significant roadblock.
The client OS is Win 7 64-bit. I have no idea if other versions of OS are exhibiting the same problem.
Silverlight (the plugin) is 32-bit only. You can not run it from a 64-bit application.
If you can [easily] force the application to run in a 32-bit context, then you're in luck -- change the "target" of the VS project from "Machine Independent" to "x86".
The above situation describes exactly what I ran into when trying to run SL (32-bit) in a Windows Sidebar Gadget (default 64-bit on Windows 7 64-bit); this is somewhat interesting, it implies that all (or at least almost all of) the components behind IE are 64-bit ready. The "holdup" and why IE normally only runs in 32-bit is that it's a chick-and-egg problem with all the plugins, BHOs, and ActiveX components used. However, the (IE) Browser Host will happily run as 64-bit.
I am testing my application on a number of machines. It is fine on every machine except 1.
I'm having problems with one XP machine where in internet explorer, chrome and firefox the Silverlight plugin crashes on EVERY page with Silverlight.
Pages that used to work fine with silverlight 3 crash instantly - including my app and the Silverlight Beta 4 demo page!!! The browser crashes instantly and doesn't even attempt to load the page.
I don't know how to debug this because there's no error. It just crashes instantly in all these browsers.
Reinistalling, rebooting didn't fix the problem.
I'm not sure what it might be, but you could try debug it this way.
Attach to running instance of Firefox with Visual Studio.
Go to menu Debug -> Exceptions... and check all "Break when exception is" boxes.
Now open page that crashes the browser.
Ideally you should catch an exception with debugger. I've spotted this way OutOfMemoryException in my app. Browsers were crashing with no reason, but debugger showed the right direction...
Fixed in RC/RTM (at least for me!)