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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents Source and VWD2005Events Source and VWD2005
Previous
 
Next
New Post
4/25/2006 11:08 AM
 
I'm a long time ASP developer relatively new to ASP.NET and DNN. My existing setup uses DNN 4.0.3 and VWD 2005 Express.

The Events_3.2_Install edition works as expected but Events_3.2_Source does not. The source install appears to use the wrong resource (.resx) files and doesn't place the source files in the correct directories.

Obviously this source install was built around DNN3.. no problem. Can I manually install the source files for DNN4 by moving the source files to the correct folders? For example moving the EventController.vb file the App_Code/Events folder. If so I am fairly clear on what goes under the "App_Code" and "DesktopModules" folder but I am unsure of where to put the custom Event.WebControls.

Any help would be appreciated.
 
New Post
5/3/2006 6:29 PM
 
I also am having difficulty integrating the new Events source into a DNN4.x development project. I would like to extend the functionality of the new Events module but have had no luck in integrating the Events source into my DNN4.x project using VS2005.

Suggestions?

esmamlin atxgeek.me
 
New Post
5/4/2006 9:48 AM
 
I couldn't find any information on migrating source modules from DNN3 to DNN4, so I am just going to try it and see what happens.

Using existing DNN4 modules as a guide I am attempting to port the 3.2 Events code over to VS2005. I started with SqlDataProvider and am working up towards the ascx files.

Once I have all the source files in the correct VS2005 folders and have fixed all the obvious problems I will try to run it in DNN4.

Cross your fingers.
 
New Post
5/4/2006 2:03 PM
 
I'll be extremely interested to learn what you find, DSlage -- please post your results! I'm continuing my trek into the void of module source code migration for the Events mod as well and will post any positive results.


esmamlin atxgeek.me
 
New Post
5/4/2006 6:35 PM
 

Good news! After several days of head scratching, reading DNN forums and a bit of Google time, I finally got a clean compile and run of the beta Events module source code under VS2005.   

(I'm running WinXP Pro, VS2005 with VB.net version 77626-009-0000007-41607, SQL Server 2005, DNN 4.02)

Unfortunately I'm not sure which of the many things I tried were key to getting there but I will, as promised, share a few items that I know were helpful:

Installation of Events 3.02 module for VS2005:  Use the install version of the Events module first.  Do a regular "upload module" using the DNN interface and verify that the new Events module works.  Once you're sure it's ok, drop the unzipped source code on top of your current Events directory in the DNN folder:  \WebSite\DesktopModules\Events

Modifications to the project:
(1) Before opening the Events project in Studio, remove the web project reference from the Events solution file.  Web projects are no longer supported in VS2005 (or so my shiny new copy of Studio tells me).  In file "DotNetNuke.Events.sln", remove the reference to http://localhost/DNN32Debug/DotNetNuke.vbproj.
  Just delete the whole block containing that reference starting from "Project..." to "EndProject".  In my file it was the very first project reference.

(2) The current version of source contains bad HTML in the file "EditEvents.ascx".  Look at the end of the file and you'll see orphaned HTML code.  Fortunately much of it does not do anything and can be removed.  You'll have to do a good bit of eyeballing to make sure you've got closing tags in the right spots.  I fould it useful to collapse all the table rows I could -- this made it easy to spot the bad tags. 

Also, VS2005 does not like tables contained within paragraph (<p>...</p>) tags.  You can safely get rid of the very first <P> tag before the first <TABLE> tag.  My source did not have a matching closing </P> tag anyway.

(3) Next comes more effort to please VS2005:  per XHTML specs, HTML tags should not contain any uppercase letters (again, this is what Studio tells me).  I used find..replace to convert upper to lower case for each of the offending HTML tags in the file (tedious but effective).  The VS2005 error page is your friend for tracking these tags down.  If you don't have an error page to refer to just select the menu option BUILD->BUILD SOLUTION (also done with CONTROL-SHIFT-B).  Now you should have plenty of errors to play with (thank me later).  Start correcting tags...

These steps should get you most, if not all, of the way there.  Hopefully future DNN source will be a little more "VS2005-friendly". 

A final item of note that caught my attention is a post from ErikVB regarding an apparent change in VB.Net between two minor releases and the issue it could cause.  My copy of VS2005 includes an older "good" VB.net version so I can't verify if this will be an issue with newer VB.net releases.  See Erik's post here:  http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/111/threadid/34499/scope/posts/Default.aspx

-mamlin


esmamlin atxgeek.me
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsEvents Source and VWD2005Events Source and VWD2005


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