Technical support This forum is closed.
Version 1.x > Technical support > adding dart.com (powerlivelivecontrols) causes errors View modes: 
User avatar
Member
Member
rish - 2/22/2006 11:23:16 AM
   
adding dart.com (powerlivelivecontrols) causes errors
Im opening the kentico project in vs2005 and when i create a new registration control (acsx)and use the power web live controls it adds a dll to the bin folder but when I run the project i get the following error

'Product' is not accessible in this context because it is 'Private'
'Product' is not accessible in this context because it is 'Private'
'Product' is not accessible in this context because it is 'Private'

please help

User avatar
Guest
admin - 2/22/2006 5:27:21 PM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
Hello,

could you please post here the lines of code that cause these errors?

Thank you.

Best Regards,

User avatar
Member
Member
rish - 2/22/2006 6:34:25 PM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
the error is on
page /cmsdesk/content/products.aspx



pageload event

Dim product As New product(productID, New GeneralConnection(Functions.GetConnectionString))

btnok_click event

Dim product As New Product(productID, cn)

Dim product As New Product(cn)

Error 2 'Product' is not accessible in this context because it is 'Private'. C:\Inetpub\wwwroot\KenticoCMS\cmsdesk\Content\Products.aspx.vb 76

User avatar
Member
Member
rish - 2/22/2006 6:35:10 PM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
telerik rad controls do not work either i will post the errors i get

thanks for your assistance

rish

User avatar
Guest
admin - 2/23/2006 7:36:21 AM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
Well, could you please make sure that you do not have any page or user control or transformation called "Product"?

Thank you.

Best Regards,


User avatar
Member
Member
rish - 2/23/2006 10:50:06 AM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
if you download a demo of powerweblivecontrols from dart.com and just put a livetextbox control on the default page on kentico cms and run the application the error happens?

rish

User avatar
Member
Member
rish - 2/23/2006 10:56:46 AM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
This is important as i need to do alot of things with ajax controls and i have tried
powerweblivecontrols(dart.com)
rad controls(telerik.com)
componant art controls

all controls have failed to work.

User avatar
Member
Member
rish - 2/23/2006 5:35:21 PM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
ok a bit of progress but not too far
it seems its the URL engine

in the web config i added
<add key="Dart.PowerWEB.LiveControls.ScriptsDirectory" value="/Kenticocms/PowerWEB_Scripts" />

but it fails here when i click the livecontrolbutton

appcode/global.asax.vb
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)

''''''''''''''''''''''''''''''''''
Kentico.CMS.UrlRewritingEngine.UrlRewriter.RewriteUrl(Functions.GetConnectionString)

Object reference not set to an instance of an object

thanks

R

User avatar
Guest
admin - 2/27/2006 10:23:49 AM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
Hello,

We have just tested this and it seems that PowerWEB live controls are in coflict with our URL rewriting system. We will try to fix this in version 1.8c if we find a way.

Thank you.

Best Regards,

User avatar
Guest
admin - 3/28/2006 2:32:49 PM
   
Re: adding dart.com (powerlivelivecontrols) causes errors
Hello,

I'm very sorry for the delay in solving this issue. We have tested the PowerWeb Live Controls with Kentico CMS 1.8c (VS 2005 version) and we made it working by adding the following web.config parameter:

<add key="CMSExcludedDirectories" value="/ControlsExamples;/Dart.PowerWEB.TextBox.GetResource" />

Please let me know if you need any help with that.

Best Regards,