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.0Custom Module Installs on Local Site but Not on HostCustom Module Installs on Local Site but Not on Host
Previous
 
Next
New Post
4/3/2007 9:59 PM
 

Hi,

I have created a custom module with an MS ASP.NET 2.0 GridView. I installed it on a DNN framework on my local machine and tested it. I then tried to do the same on the hosting site and got this error when I tried to add it to a page:

 C:\Inetpub\vhosts\iatselocal476.org\httpdocs\DesktopModules\SSCITableMod\ViewSSCITableMod.ascx(4): error BC30456: 'MbrGridView_RowDataBound' is not a member of 'ASP.desktopmodules_sscitablemod_viewsscitablemod_ascx'.

Note that MbrGridView_RowDataBound is a VB method and was set as the value for the GridView OnRowDataBound property in an ascx file with the method in the code beside ascx.vb file. There were no problems in the compilation, installation, or use of the module on my local machine. 

Initially the DNN version on my local machine was 4.03.05 on the hosting site the version is 4.03.04. I have upgrade everything to 4.4.1 on my local machine and everything still works fine. However, before I use that brute force method on the hosting site I thought I would get some input from some folks who may have had experience with this sort of error. For example I am wondering if this could be an IIS problem and not a DNN problem. Any enlightenment or suggestions would be most appreciated.  

 
New Post
4/4/2007 3:29 AM
 

Have seen this sort of problem before a couple of times ...

And it most cases it was tied to some weirdness is how the IDE manages code behind code - though as always tends to happen ... we only found out the cause AFTER all but re-writing the module - convinced that its was something we had done wrong in code.

First off what IDE are you using - VS2005  or Express.

And second is the a WAP based module or a dynamic module.

Westa

 

 
New Post
4/4/2007 3:02 PM
 

Thanks for the quick reply. I am using VS2005, VB, ASP.NET 2.0 and SQL Server 2005. I have my development environment on a desktop running Win XP Pro V2002 SP 2. I am using the VS2005  Web Deployment Project model not WAP. I use my local IIS which is 5.1 rather than the VS2005 file based method with the built in web server. 

I build my DNN module as a WDP with a single dll file and then zip that with the ascx, .dnn, file, etc. I then upload it to one of my three local DNN installations. I think Strahl calls this the partial compilation model because the ascx files do get compiled by the ASP.NET compiler. I am not a VS2005 internals expert. I am not sure what the host is using as the web server either. I think it is IIS 6.0. I’ll have to check that and some other details. I am assuming that on my machine the ASP.NET compiler  finds my OnRowDataBound method in the dll whereas on the host it can't for some reason. I am not an ASP.NET internals expert either so the reason eludes me. I did check the host bin folder and the DesktopModules folder. All the files for my new module are there where I expected them to be.

I have converted my local stuff to DNN 4.4.1 and everything works fine. I do have a test DNN installation on the host and was going to upgrade it to DNN 4.4.1 and then see if I can install the new module there. Does that sound like a reasonable plan or will I be spinning my wheels? Strahl and others have written pretty extensively on deployment of ASP.NET 2.0 apps. I know the hook up mechanisms for the code beside and aspx partial classes are pretty complex. Maybe I should bite the bullet and spend a couple of days reading. 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Module Installs on Local Site but Not on HostCustom Module Installs on Local Site but Not on Host


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