Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0form.ascx.vb missingform.ascx.vb missing
Previous
 
Next
New Post
8/19/2006 9:21 AM
 

I have followed Shaun's document - scenario #2 but for some reason that escapes me my module throws an exception stating that the view....ascx.vb file is missing.

I have published the site, as instructed, and created the relevant entries in the DNN file. I have also copied the required dlls etc into the zip.

I am using 2 DNN sites on my local machine. One containing the DNN source where the module was developed and another containing the DNN install release where I test modules.

After uploading the module and placing it on a page I get the error when I browse to the page.

Have I missed something? I have re-read the document but can't see where I may have gone wrong. Why is it looking for .vb file if this is compiled into dll?

Declan


 
New Post
8/19/2006 11:25 AM
 

Probably a namespace issue. make shure your DLL doesn't prefix your namespaces with another namespace

It asks for the vb file because it can't find the class it's supposed to inherit from


Edit your Skin.xml and Container.xml files with:
Yannick's SXE
 
New Post
8/21/2006 10:20 AM
 
Purplebox,

If so I can't see the error.

These are the relevant lines from my files:

App_Code
.vb file (Controller)

Namespace dws.Modules.ReportSelection

    Public Class ReportSelectionController


DesktopModules
.ascx
<%@ Control language="vb" Inherits="dws.Modules.ReportSelection.ViewReportSelection"
    CodeFile="ViewReportSelection.ascx.vb" AutoEventWireup="false" Explicit="True" %>


.ascx.vb
Namespace dws.Modules.ReportSelection

    Partial Class ViewReportSelection


DLLs
App_SubCode_ReportSelection.dll
App_Web_viewreportselection.ascx.2ae62e86.dll


Is all this case sensitive?

Declan


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0form.ascx.vb missingform.ascx.vb missing


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out