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

Forums / General Discussions / Sitefinity 7.1 Module Problem

Sitefinity 7.1 Module Problem

6 posts, 1 answered
  1. Igor
    Igor avatar
    39 posts
    Registered:
    17 Jul 2012
    05 Sep 2014
    Link to this post

    Hi,

    After the upgrade to 7.1 one of our module stopped working. The module is the extended Jobs module. There is a strange error:

     You need to find openaccessdataprovider, (long guid).ascx to view the source for the current call stack frame.

    I have attached the screenshots of the errors. This issue is very urgent.

    Thanks

  2. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    05 Sep 2014 in reply to Igor
    Link to this post

    Hi Igor,

    It looks like it can't find the path to the .ascx file (which probably is the template).Maybe you can check:

    • If the virtual path still exists in the VirtualPath config?
    • If the template (the .ascx file) is still embedded?

    Just some thoughts. I had this error a long time ago and don't remember the exact solution.

    Wouldn't it be possible to migrate the Jobs module into a dynamic module?

    Best regards,
    Daniel

  3. Igor
    Igor avatar
    39 posts
    Registered:
    17 Jul 2012
    05 Sep 2014 in reply to Daniel Plomp
    Link to this post

    Hi Daniel,

    Thanks for a quick reply.

    We have just checked this, but everything looks to be fine with the points you mentioned.

    We will probably migrate this module to a dynamic one some time in future, but not right now.

    Any other ideas?

  4. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    05 Sep 2014 in reply to Igor
    Link to this post

    Hi Igor,

    I checked the logs with that old project and it definitely had to do something with the virtual path.

    The error message is thrown because the virtual path is registered incorrectly (a mistake in the path or the resolver type)

    The virtual path should be registered like

    Virtual Path: ~/mypath/*
    Resource location: SitefinityWebApp (name of the assembly)
    ResolverName: EmbeddedResourceResolver

    The application was not restarted after registering the virtual path (it is required to activate the virtual path) or the file that is loaded  trough virtual path doesn`t have its built action set to embedded
    resource (right click the file ->properties->Build action).

    So I'm not sure what else this could be. You checked all the referenced to the template (.ascx and .js files) in your upgraded project?

    Best,
    Daniel

    Answered
  5. Igor
    Igor avatar
    39 posts
    Registered:
    17 Jul 2012
    05 Sep 2014 in reply to Daniel Plomp
    Link to this post

    Daniel,

    We have just gone through again and you are right - build actions were set to 'Content'.

    Thanks a lot Daniel, you helped us a lot.

    Best regards,

    Igor

  6. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    05 Sep 2014 in reply to Igor
    Link to this post

    Hi Igor,

    Great news! Glad you could fix it.

    Best,
    Daniel

6 posts, 1 answered