Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Vista - PowerWEB Script Library missing or improperly initialized
nrg

From: Belfast, United Kingdom
Posts: 3
Member Since: 02/05/09
posted February 5, 2009 6:22 AM

Hi,

I had previously been using LiveControls 1.6.2.0 on XP sp2 IIS6 fine, but after upgrading to Vista and IIS7 Im experiencing problems running my website.

I get the error:

Error!
PowerWEB Script Library missing or improperly initialized.
Possible causes for this are incorrect web.config settings, or missing script resources.
For more information, please see the Deployment in ASP.NET page of the production documentation."

- I have followed the instructions on http://www.dart.com/vista.aspx
- I run Visual Studio 2008 as administrator
- UAC is turned off
- Ive ran the installation as administrator
- The registry shows an entry for Dart PowerTCP DartRegister.INI and License
- I can use LiveControls in Visual Studio 2008
- I have moved the PowerWEB handler and modules from <system.web> to <system.webServer> web.config section, but this throws the error HTTP Error 500.19 Internal Server Error. The requested page cannot be accessed because the related configuration data for the pages is invalid.

I would appreciate your help in this matter as I am unable to continue to develop the website Im working on.

Many thanks,

nrg
nrg

From: Belfast, United Kingdom
Posts: 3
Member Since: 02/05/09
posted February 5, 2009 7:42 AM

I've managed to get my pages running without error now. I altered the modules setting from:

<add name="CallbackManager" type="Dart.PowerWEB.LiveControls.CallbackManager,Dart.PowerWEB.LiveControls"/>
to
<add name="CallbackManager" type="Dart.PowerWEB.LiveControls.CallbackManager,Dart.PowerWEB.LiveControls" preCondition="managedHandler"/>

and altered the handlers setting from:

<add path="Dart.PowerWEB.LiveControls.GetResource.aspx" verb="*" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls" />
to
<add name="Dart.PowerWEB.LiveControls.GetResource.aspx_*" path="Dart.PowerWEB.LiveControls.GetResource.aspx" verb="*" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls" preCondition="integratedMode,runtimeVersionv2.0" />

I tried this after reading KM Drake's reply (posted February 2, 2009 3:34 PM) for the topic http://support.dart.com/postings?topicid=7685
Although that topic was for PowerWEB File Upload for ASP.NET, I just changed the same settings to LiveControls.

Does anyone know if there any problems doing this?
Also, the rest of my development team are still using XP, does anyone know of a generic web.config setting my team could all use to save us from changing the web.config back and forward from the <system.web> settings to the <system.webServer> settings?

Many thanks.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 5, 2009 4:25 PM

Hi,
What you are doing is correct.

And if I remember correctly, it will work if you have the handlers and modules in both <system.web> and <system.webServer>, so you could use a single web.config.

-ken
nrg

From: Belfast, United Kingdom
Posts: 3
Member Since: 02/05/09
posted February 13, 2009 11:38 AM

Thanks Ken. That is the case, I can have both sets in the one web.config.
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX