1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Error when draging custom module to content area.

Error when draging custom module to content area.

3 posts, 0 answered
  1. Michael
    Michael avatar
    2 posts
    Registered:
    05 Feb 2009
    29 Dec 2009
    Link to this post
    I have created a user control that is using this using the entity framework and sqldataservice. everything works fine on my test asp.net page im able to see the data in the radgrid just fine. However after i upload the control the acsx and the code behinde file and then click on upload... everything works fine, but when i try to drag the control to the content area it gives me a big dot net error message. Im trying to get this demo going before the Jan 4th to show our execs on sitefinity. I followed the steps from your video. Also if you have additional files to support the user control like images, how do you get them loaded up as well?

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: BC30002: Type 'BCSSEntities' is not defined.

    Source Error:

    Line 6:  
    Line 7:      Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Line 8: Dim WS As New BCSSEntities(New Uri("http://localhost/Livewire/BCSS.svc/", UriKind.Absolute))Line 9:  
    Line 10:         Dim query = From Session In WS.Session _

    Source File: C:\Program Files\telerik\Sitefinity3.7\WebSites\BCSSWebsiteBlank\UserControls\BCSS\BcssUI.ascx.vb    Line: 8



    C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v3.5\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\c3ac79f2\00c75d0b_9172ca01\Telerik.Wiki.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\f14e4b01\00c75d0b_9172ca01\Telerik.DataAccess.OracleProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\00107960\006d561d_5873ca01\ICSharpCode.SharpZipLib.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\a7fafe6b\00c75d0b_9172ca01\Telerik.Showcases.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\06249f9c\00c75d0b_9172ca01\Telerik.Localization.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\4fc87e0e\00c75d0b_9172ca01\Telerik.CrawlerSitemaps.Data.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\ac39b0df\00c75d0b_9172ca01\Telerik.Libraries.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\799216c7\00c75d0b_9172ca01\Telerik.Testimonials.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\36b0228e\00c75d0b_9172ca01\Telerik.Rss.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\2381a223\0040251c_5873ca01\Interop.DexterLib.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\a2fc6412\00c75d0b_9172ca01\Telerik.Zip.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\3e76b7ec\00c75d0b_9172ca01\Telerik.Events.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\2065b1d3\00c75d0b_9172ca01\Telerik.Cms.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\92f2619c\00c75d0b_9172ca01\Telerik.Cms.Engine.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\2960db14\00c75d0b_9172ca01\Telerik.Cms.Web.UI.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\9ec2a99e\00c75d0b_9172ca01\Telerik.DataAccess.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\446a8d44\00c75d0b_9172ca01\Telerik.Versioning.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\f8ba64a8\00c75d0b_9172ca01\Telerik.Web.UI.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\6901105d\00c75d0b_9172ca01\Telerik.Framework.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\4b7f0013\00c75d0b_9172ca01\Telerik.Lists.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\ce14ad5b\00c75d0b_9172ca01\Telerik.MySQLProvider.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\bf5c2470\00c75d0b_9172ca01\Telerik.Web.Design.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\7c958ec9\00c75d0b_9172ca01\Telerik.Showcases.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\95912a7b\006d561d_5873ca01\Xceed.FileSystem.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\97b8fb42\00c75d0b_9172ca01\Telerik.FileManager.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\673bdf1c\00c75d0b_9172ca01\Telerik.Search.Data.DLL" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\dfd0cd70\00c75d0b_9172ca01\Telerik.Localization.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\85aaa1e6\00c75d0b_9172ca01\Telerik.Forums.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\0313cccc\00c75d0b_9172ca01\Telerik.Versioning.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\b2b92a14\0040251c_5873ca01\NNMySQLProvider.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\2f95a88f\00c75d0b_9172ca01\Telerik.Security.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_Code.w1xcqj0o.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\f0f7844d\006d561d_5873ca01\Xceed.Zip.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\589ec531\00c75d0b_9172ca01\Telerik.CrawlerSitemaps.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\8442ed1b\00c75d0b_9172ca01\Telerik.Rss.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\6a1f8430\0040251c_5873ca01\System.Web.Silverlight.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\b9192e76\00c75d0b_9172ca01\Telerik.Cms.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\b15d0c42\0040251c_5873ca01\Nolics.Engine.v4.2.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\236839d1\00c75d0b_9172ca01\Telerik.Notifications.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\a94e9838\00c75d0b_9172ca01\Telerik.News.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\31de74ba\00c75d0b_9172ca01\Telerik.Wiki.Data.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\cef7c630\00c75d0b_9172ca01\Telerik.Blogs.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\5e61a2bb\00c75d0b_9172ca01\Telerik.Libraries.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\a37e3f60\00c75d0b_9172ca01\Telerik.Personalization.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\8076d596\00c75d0b_9172ca01\Telerik.Blogs.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\ed9dbb62\00c75d0b_9172ca01\Telerik.Security.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\00141154\00c75d0b_9172ca01\Telerik.Events.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\cc1e8beb\00c75d0b_9172ca01\Telerik.Search.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\c735bb3f\00c75d0b_9172ca01\Telerik.Cms.Engine.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\1a66dcaf\00c75d0b_9172ca01\Telerik.Personalization.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\cdc1d11a\006d561d_5873ca01\MySql.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\7b3b8c48\00c75d0b_9172ca01\Telerik.Testimonials.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\d35620e3\00c75d0b_9172ca01\Telerik.Forums.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_global.asax.9h4ebjiv.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\9a0cfe96\00c75d0b_9172ca01\Telerik.Notifications.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\36dd8ed4\006d561d_5873ca01\Xceed.Compression.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\93453d50\00c75d0b_9172ca01\Telerik.Polls.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\3487cddf\00c75d0b_9172ca01\Telerik.Lists.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\257b2e54\00c75d0b_9172ca01\Telerik.Polls.Data.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\3e5a68d6\00c75d0b_9172ca01\Telerik.DynamicWebServices.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\a9ad943a\00c75d0b_9172ca01\Telerik.News.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\assembly\dl3\d6f31a55\00c75d0b_9172ca01\Telerik.Workflow.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_Web_f71gq6e2.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /warnaserror- /optionInfer+  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_Web_f71gq6e2.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_Web_f71gq6e2.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bcsswebsiteblank\9e592b77\afddcca1\App_Web_f71gq6e2.2.vb"
    
    
    Microsoft (R) Visual Basic Compiler version 9.0.30729.1
    Copyright (c) Microsoft Corporation.  All rights reserved.
    
    C:\Program Files\telerik\Sitefinity3.7\WebSites\BCSSWebsiteBlank\UserControls\BCSS\BcssUI.ascx.vb(1) : warning BC40056: Namespace or type specified in the Imports 'BCSSServiceReference' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
    
    Imports BCSSServiceReference
            ~~~~~~~~~~~~~~~~~~~~
    C:\Program Files\telerik\Sitefinity3.7\WebSites\BCSSWebsiteBlank\UserControls\BCSS\BcssUI.ascx.vb(8) : error BC30002: Type 'BCSSEntities' is not defined.
    
            Dim WS As New BCSSEntities(New Uri("http://localhost/Livewire/BCSS.svc/", UriKind.Absolute))
                          ~~~~~~~~~~~~                                                                      
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    29 Dec 2009
    Link to this post
    Hello Michael,

    I get back to your support request. Please take a look at it.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Michael
    Michael avatar
    2 posts
    Registered:
    05 Feb 2009
    29 Dec 2009
    Link to this post
    Your right i was missing a import statement

    thanks
Register for webinar
3 posts, 0 answered