[OPEN] Crashes, crashes, crashes...
*NEW - Coolite Toolkit Version 0.6.0 now available for download or view examples.
 

Coolite Forums

Welcome Guest ( Login | Register )
 
««12
[OPEN] Crashes, crashes, crashes...
Subscribe
Last Login: Today @ 2:07:58 PM
Posts: 1,172,
Posted 7/23/2008 8:58:10 AM

Group: Core Development Team
Hi Drew,

Thanks for reporting the problem. I'll see what I can do to recreate the crash.

Does the crash occur if you add the control to an <ext:Panel>? Please try with adding the Panel as the only Coolite control on the Page (other than ScriptManager), then add the ESRI to the <Content> template. As well, please ensure the Icon property has not been set on the Panel.
--
Geoffrey McGill
Coolite Inc.
Core Developer
twitter [personal] [coolite]
Last Login: 7/28/2008 1:01:48 PM
Posts: 4,
Posted 7/23/2008 9:47:43 AM

Group: Coolite Early Adopter
Geoffery, thanks for the quick reply.

I started with a clean page, added a script manager, ext coolite panel and my ESRI map control and it did crash.

I tried a work around by adding the map control programatically and its almost looking right, but I think i have some CSS work to get it positioned correctly.


Drew
Last Login: Today @ 2:07:58 PM
Posts: 1,172,
Posted 7/24/2008 2:06:32 AM

Group: Core Development Team
Hi Drew,

Could you contact me (geoff [at] coolite [dot] com) off list and we'll work through debugging the conflict? I tried to find a demo version to test with but nothing seems to available. Anyways, shoot me an email. Once we narrow down and/or fix the problem we can update this thread.
--
Geoffrey McGill
Coolite Inc.
Core Developer
twitter [personal] [coolite]
Last Login: 7/28/2008 1:01:48 PM
Posts: 4,
Posted 7/28/2008 11:50:29 AM

Group: Coolite Early Adopter


I have been able to determine what is causing Visual Studio
to crash on me.

Its something that is linked with IE's Script Debugger.

When I Disable the IE Script debugger through Tools -> Internet
Options -> Advanced -> (Browsing) Disable Script Debugging
Coolite
works great with my other 3rd party controls when in VS design view.

Even Visual Studio 2008 just seems smoother when transitioning better markup
and design view.



Hopefully this can help someone or the developers.



Drew



Last Login: Today @ 2:07:58 PM
Posts: 1,172,
Posted 7/28/2008 12:25:00 PM

Group: Core Development Team
Hi Drew,

Very interesting find. I'll do some research and see if I can figure out why the two might be linked. Thanks for taking the time to post your findings.
--
Geoffrey McGill
Coolite Inc.
Core Developer
twitter [personal] [coolite]
Last Login: 7/28/2008 1:01:48 PM
Posts: 4,
Posted 7/28/2008 12:35:45 PM

Group: Coolite Early Adopter
Update:
It worked for about 40 minutes.
Its crashing again :-)

Darn!

Drew

Last Login: Today @ 2:07:58 PM
Posts: 1,172,
Posted 8/1/2008 1:41:18 PM

Group: Core Development Team
I've been doing some testing and I have a theory (80% confident) about what might be causing the crash with some 3rd party controls. I think it's a file locking problem when two assemblies try to access the Web.config file at (or about) the same time. The web.config file is locked when another assembly tries to read and Visual Studio can not recover.

Now, we're doing some funky stuff (non API) to read/write values to the web.config (some during design-time) and other assemblies might be trying the same trick.

The fix is easy, although it means developers would have to manually copy/paste one line to the Web.config <httpHandlers> section if they want the "Clean Url" formatting and automatic Gzip compression featuers. Obviously not a big deal, but it is one step that I would rather avoid having to encourage developers to do. By handling this automatically I feel it saves a lot of inconveinice for developers, but... any crashing is obviously not acceptable.

Wether this is a Visual Studio bug or not, we have to deal with finding a solution.

We're providing an extremely "rich" design time experience and because we're pushing the limits we're also treading in some unknown territory. The crashing appears to only affect the DESIGN TIME rendering in Visual Studio and it only appears to be a problem when the assembly is used in conjunction with some 3rd party assemblies. We haven't experienced any crashing lately when using the Coolite Toolkit by itself or with any Microsoft controls (ajax or oldschool).  There have been no other reports of crashing, other than Drew's above which I think is web.config related.

Thanks to anyone who's helped with constructive feedback. I'll keep this thread updated with our progess.
--
Geoffrey McGill
Coolite Inc.
Core Developer
twitter [personal] [coolite]
« Prev Topic | Next Topic »
««12
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 2:27pm