Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development | Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
Author | Forum: PowerWEB LiveControls for ASP.NET Topic: Live controls scripts not found |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 21, 2006 8:04 AM I am developing a asp.net web application using vs.net 2005 and livecontrols. Today morning I installed the new version 1.5.1.0 . since then I am getting error message that livecontrols script not found. The application was working properly before this new installation. I haven't changed in the web.config <httpHandlers> <!--PowerWEB Resource Handler DO NOT REMOVE if Dart.PowerWEB.LiveControls control objects are in use in this application.--> <add verb="*" path="Dart.PowerWEB.LiveControls.GetResource.aspx" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls" /> </httpHandlers> <httpModules> <add name="CallbackManager" type="Dart.PowerWEB.LiveControls.CallbackManager,Dart.PowerWEB.LiveControls" /> </httpModules> |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 24, 2006 9:33 AM I have tried every thing to make the application with livecontrols work, but i always see this error message. Live scripts not found. I would appericiate if you could tell me what I could do in this situtation. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 24, 2006 9:54 AM Are you sure the web application is referencing the new version, and not an existing copy of the old version? What happens when you create a brand new web application and make a simple LiveControls app? |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 24, 2006 10:10 AM When I create a new app it works fine, but not in my existing app. I have deinstalled and reinstalled the live controls. I am referencing to two dll , I have deleted the old copies of livecontrols dll from both the projects. But still it does not work |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 24, 2006 11:31 AM With your current project, did you ever employ the "resource seperation" technique described in our docs. The easiest way to tell this is to see if you are setting the ScriptsDirectory property, either in your aspx/cs file, or in your web.config. If not, it sounds like VS.NET is using an old copy of the dll for some reason. I have never run into this but I know others have had this problem. Open your .csproj file in NOTEPAD and look at the reference to LiveControls? Is it correct? Does it change post-compilation or post-execution? All I can recommend at this point is to do everything you can to assure you are using the correct version (including any/all of the below). - Deleting and properly readding the reference. - Performing an IISRESET - Searching your hard disk for Dart.PowerWEB.LiveControls.dll to see if there are any hidden copies you are missing. - Emptying the "Temporary ASP.NET Files" directory. |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 25, 2006 7:41 AM thanks, I did what you suggested in your last post but unfortunately I am getting the same error message. I am using source safe for my project. Could that be the source of error? |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 25, 2006 5:20 PM Is this page accessible? Can I load it in my browser to test? |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 26, 2006 7:34 AM You can access it on the follwing address http://********/ [mod edit. Thanks, I got the url. I'll remove it from public view] |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 26, 2006 9:55 AM Ok. I confirm what you are seeing. Also, I just noticed you are one version behind. We released version 1.5.2.0 a few weeks ago ( http://www.dart.com/powerweb/livecontrols_updates.asp ). You can go to http://www.dart.com/support/updatecenter.asp to get the update. I would recommend you install this and, if we're lucky, perhaps the new installation will clear the version conflict. |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 26, 2006 10:07 AM I have tried with the new version as recommended by you. But it does not make any difference. I still see the same error |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 26, 2006 10:15 AM Ok...then I have 2 recommendations. 1) Compare the non-working version against the working version. Try to find anything that's different between the two. Does the non-working version use any 3rd party controls, any HttpHandlers/HttpModules, etc? 2) Or, you can just use the "resource seperation technique" referred to earlier. There is instructions in how to do this in the readme file installed with the kit. I'll reproduce them here as well. *********************************************** Options for client resource location *********************************************** Client scripts and images for PowerWEB TextBox are now delivered dynamically to the client from embedded resources. This mechanism requires a modification to the Web.Config of your Web Site. If your project does not contain a Web.Config file, one will be created for you in the Visual Studio environment when you place a TextBox on a WebForm within Visual Studio. If a Web.Config file is not created, or if the file is not modified, you may manually create one and/or add the following element to the <system.web> node: <httpHandlers> <add verb="*" path="Dart.PowerWEB.TextBox.GetResource.aspx" type="Dart.PowerWEB.TextBox.ResourceHttpHandler,Dart.PowerWEB.TextBox"/> <add verb="*" path="Dart.PowerWEB.LiveControls.GetResource.aspx" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls"/> </httpHandlers> In some cases where security settings or application hierarchies may interfere with resource access (e.g. within a DotNetNuke module), you need to physically separate these files. In your TextBox installation directory you will now find a Common directory. Place the contents of this directory anywhere on your web server and add the following node to your application’s Web.config within the appSettings node, replacing ### with the relative path containing the resources: <add key="Dart.PowerWEB.TextBox.ScriptsDirectory" value="###" /> For example, if you renamed the Common directory “TextBox_Common” and placed it at the root of your web server, the appSettings keys should look like this: <add key="Dart.PowerWEB.TextBox.ScriptsDirectory" value="/TextBox_Common" /> |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 26, 2006 10:18 AM yes, I am using a customhttphandler in my app. could that be the reason for the error |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 26, 2006 10:23 AM Ah...definitely use the technique described in #2 then. |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 26, 2006 11:25 AM I have just tried what you suggested, I coopied the scripts direcotry to my app and added a key in application settings in web.config, but I see the same error message. What else could I do ? |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 26, 2006 11:56 AM A few questions/commments. 1) I noticed I posted the steps for TextBox for ASP.NET instead of LiveControls for ASP.NET. So, this line: <add key="Dart.PowerWEB.TextBox.ScriptsDirectory" value="###" /> should be: <add key="Dart.PowerWEB.LiveControls.ScriptsDirectory" value="###" /> 2) Did you remove our HttpHandler registration from the web.config? Basically, just remove the following line from the web.config: <add verb="*" path="Dart.PowerWEB.LiveControls.GetResource.aspx" type="Dart.PowerWEB.LiveControls.ResourceHttpHandler,Dart.PowerWEB.LiveControls"/> 3) If neither of the above two issues were the problem, can you tell me the exact filenames you copied into the directory you are using for ScriptsDirectory. Sorry about the complication. I can see we need some better documentation for this scenario. |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 27, 2006 3:04 AM I copied pw_livecontrols.js,pw_scripts.js,PWCallback.swf,PwSound.swf in Scripts directory in root direcotry of my app. I made following changes in web.config <add key="Dart.PowerWEB.LiveControls.ScriptsDirectory" value="/Scripts"/> <httpModules> <add name="CallbackManager" type="Dart.PowerWEB.LiveControls.CallbackManager,Dart.PowerWEB.LiveControls"/> </httpModules> |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 27, 2006 10:32 AM Hi jeff, could you tell me what else I could do to make my app run with livecontrols. |
wombel From: Nürnberg, Germany Posts: 55 Member Since: 09/22/05 |
posted July 27, 2006 11:34 AM Jeff, this is Thomas, I am a colleague of Bhupi. We are quite despreate at the moment. The problem we face seems to be unsolvable und we need to go on with our poject. This matter is really pressing. We just spent another $ 1100 just to switch from your old licensing model to the new one and paid about $ 1600 last year for the old model. We were convinced that this is the right product for us and worked well with it up to now, but the problems we are facing here are very serious for us. What can you suggest as a possible way to get out of this fix? Thomas |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 27, 2006 11:56 AM Hi Thomas, The only other suggestion I can make is to remove the reference to CallbackManager. <httpModules> <add name="CallbackManager" type="Dart.PowerWEB.LiveControls.CallbackManager,Dart.PowerWEB.LiveControls"/> </httpModules> This module is not necessary for standard operation, and could potentially be causing conflict with your custom HttpHandler. I tried to load the url you gave me earlier, but the project seems to be offline now? If you could put this back online, I could load it and check to see if the "resource seperation technique" was properly implemented. |
wombel From: Nürnberg, Germany Posts: 55 Member Since: 09/22/05 |
posted July 27, 2006 1:12 PM Jeff, strange effect now. I copied the application over to dev.oezone.de and deleted some of the assemblies from web.config, and it works. Strange enough, it does not work on the development box. Thomas |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 27, 2006 4:58 PM That's good. I guess now it's just a matter of figuring out what's different between the two. At this point I am leaning towards some kind of conflict between your custom HttpHandler and LiveControls HttpHandler and HttpModule. As far as what that is, I have no idea based on the information I have. Post back if you find the root of the issue or if you find any other clues as to what is going on. |
bhupi From: nürnberg, Germany Posts: 20 Member Since: 06/28/06 |
posted July 31, 2006 7:43 AM Hi jeff, I am still struggling with the same error message, scripts not found. I have copied some files in to a new small project. I would like to send this project to you as a zip file, so that you can have a detailed look and help me in finding out the error in my app. If you could send me your email address, I would be able to send the zip file to you. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 31, 2006 5:08 PM Hi. Send the files to support@dart.com "ATTN: Jeff" |
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
![]() |