More in this section
Forums / 3.x Pre-release forums (retired) / WebModule not initializing

WebModule not initializing

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    23 Mar 2007
    Link to this post
    I keep getting the following error for my simple module:

    The database class Alighten.Testimonials.Data.Testimonial has not been registered. Use DataConnection.Initialize or DataConnection.RegisterAssembly to register an assembly.

    which leads me to believe there is something wrong in my Module class:

    The class is listed below. Can anyone point me in the right direction on this. It is kind of important.

    Public Shared Sub TestimonialsModule()
    Try
    Dim alightenAssembly As Assembly
    alightenAssembly =
    GetType(Testimonial).Assembly
    DataConnection.Initialize(
    False, alightenAssembly)
    Dim provider As OdbDataProvider
    provider = NolicsHelper.SetConnection(
    "DefaultNolicsConnection", "Testimonials")
    provider.Upgrade()
    Catch ex As Exception
    End Try
    End Sub

    Thanks in advance for your help,

    Ben

1 posts, 0 answered