Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, November 21, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Tips and Tricks
You asked for it, and we added it. We have so many great developers using ListX right now - it would be best to get some samples straight from the gurus who swear by it. View and Add your samples and tips here!
Subject: A Tool that creates ListX Modules

You are not authorized to post a reply.   
Page 1 of 41234 > >>
Author Messages
Talal
Middleweight
Posts:90

07/22/2007 5:39 AM Alert 
I am working (testing/debugging) an MS-Access DB i created that you set tables, fields and run it to create an importable LP package.

It creates:
List, Search and Edit modules (used the Hospital tab in the doctor management sample as template).

I promise to share with the community when i am done testing. (been working on it non-stop for 3 days) many tables and logic. (simple VBA)

I just finished the first cut about an hour ago.

Currently when i import the LP i do not get any error. all the modules except the list module are fine. The list module (obviously the most challenging) is empty.
I went through the tab and i could not find what i missed.

Something tells me it is a coma or silly XML tab missing.

Anyone knows a good way to debug?

I checked the log for the modules are empty.

In the Event Viewer in DNN i see many errors (see attached)



Thank you

Attachment: errorTabError.zip

Talal
Middleweight
Posts:90

07/22/2007 12:18 PM Alert 
I GOT IT TO WORK!!!

Was an extra <Query> tag .. DuH!..

emaynard
Heavyweight
Posts:182

07/27/2007 11:13 PM Alert 
Are you going to share your Access DB then? I'd love to give it a spin no matter what shape it's in.

-eric
Talal
Middleweight
Posts:90

07/28/2007 1:52 PM Alert 
Yes i will. I will 'package' it a bit this weekend
emaynard
Heavyweight
Posts:182

07/29/2007 8:25 AM Alert 
Awesome! I can't wait to check it out.

-e
Talal
Middleweight
Posts:90

07/30/2007 10:14 PM Alert 
Ok, I need your help guys.

I got it to work for a week and it was sweet. finshed a full project with it.

I started adding some validation and stuff.. then i tested it today and i got an error :'''(.
Well.. i do not believe in going back so i would like extra eyes to help me fiding the extact cause of the error that i get when i am installing the LP.


So here we go.

http://symphonyoffire.com/ListX/tabid/368/Default.aspx


I have the sample outcome LP (while gives the error now)

and i have the tool.

emaynard; thanks for your email. yes one of teh hardest parts was the variables length and that weird numbering. But as you see in the code i found a way <img src='http://dnn.bi4ce.com/desktopmodules/ntforums/images/emoticons/tongue.gif' height='20' width='20' border='0' title='Tongue' align='absmiddle'>

I would like to fix and have it available for others to use and improve. If at anytime you find a way to improve pleasse let me know and we will update and share.


Any help is appreciated
emaynard
Heavyweight
Posts:182

07/30/2007 10:34 PM Alert 
Talal,

What version of DNN/ListX are you running?

-e
Talal
Middleweight
Posts:90

07/30/2007 10:42 PM Alert 
i have a pre-release of ListX 1.9.8.6
emaynard
Heavyweight
Posts:182

07/30/2007 10:45 PM Alert 
Does it have the fix for LP errors on DNN 4.5.x?

-e
Talal
Middleweight
Posts:90

07/30/2007 10:50 PM Alert 
yea.. seems like it
emaynard
Heavyweight
Posts:182

07/30/2007 10:53 PM Alert 
Ok, just checking to make sure that is not part of the equation. So you were building installable LPs that worked with DNN 4.5.x and latest ListX, then you added additional code that broke the LP installs.

Have you tried installing any modules manually?

-e
Talal
Middleweight
Posts:90

07/30/2007 11:01 PM Alert 
everything else is ok.
i wish the error could be more specific.

The error i get now during installation is:

Failure:
System.NullReferenceException: Object reference not set to an instance of an object. at Bi4ce.Modules.xList.Packaging.Common.CaseLess_SelectSingleNode(XmlNode& SourceNode, String Path) at Bi4ce.Modules.xList.Packaging.Delivery.Tab_Install(PackageItem Item)

During one of the installation steps



Not much os help as to WHERE and what it is crashing on.

Like last time i think i am missing a coma or a tag somewhere... cant find it.. i even tried reversing the changes.. (i still can get the old copy but that had no forms or anything and you would have to fill in directly to the tables ) so not helpful to others,

The DB now is like a wizard , set up teh tables, fields and the layout and voila!
emaynard
Heavyweight
Posts:182

07/30/2007 11:07 PM Alert 
Yeah, it's slick. I'm digging through the individual modules manually right now.

I have a few ideas I'd like to test out if we can get this working again.

BTW - Good job. I just didn't have the patience (or the know-how) to work through the Action length thing.

-e
emaynard
Heavyweight
Posts:182

07/30/2007 11:11 PM Alert 
OK,

So is it safe to say since you had it working before that it has to be something in the validation code?

-e
emaynard
Heavyweight
Posts:182

07/30/2007 11:13 PM Alert 
Also, how far does it get in the LP install process? Does part of it install OK?

I'm asking because I have 4.5.3 and no LPs will install on this without error so I can't see the same error as you.

-e
Talal
Middleweight
Posts:90

07/30/2007 11:13 PM Alert 
not rili, the changes i made in the last day or so wer many.
example, i had a toolbar (same like in the Hospital Tab). but i did not find useful.
I removed and added the ADD button to the list footer. etc.
Talal
Middleweight
Posts:90

07/30/2007 11:29 PM Alert 
it installs many things.

65. MyTab.Tab Complete
65. MyTab.Tab Complete
65. MyTab.Tab Complete
65. MyTab.Tab Complete
65. MyTab.Tab Complete
65. MyTab.Tab Failed
Failure:
System.NullReferenceException: Object reference not set to an instance of an object. at Bi4ce.Modules.xList.Packaging.Common.CaseLess_SelectSingleNode(XmlNode& SourceNode, String Path) at Bi4ce.Modules.xList.Packaging.Delivery.Tab_Install(PackageItem Item)

65. MyTab.Tab Complete
65. MyTab.Tab Complete



So it seems to install 5 'Parts' of the tab then fails on the 6th, then installs the other 2..
hmm.. let me see if i can find 8 parts there.
Talal
Middleweight
Posts:90

07/30/2007 11:32 PM Alert 
By the way, altho it says complete for the other parts i dont see anything in the portal.
So the failure must have cancelled it
emaynard
Heavyweight
Posts:182

07/30/2007 11:48 PM Alert 
I'll keep digging through the files looking for something that might be causing the failure.

BTW - I posted something in the Blue Sky area relating to having a more descriptive error message for LP failures way back when I first got startedd with LX.

Maybe if others join in a bump that message, perhaps it will get worked into a feature.

http://dnn.bi4ce.com/Support/Forums/tabid/106/forumid/19/postid/1734/view/topic/Default.aspx

we can hope right?

-e
emaynard
Heavyweight
Posts:182

07/30/2007 11:51 PM Alert 
Actually, that was more for just single XML imports, but it's more or less the same idea.

-e
You are not authorized to post a reply.
Page 1 of 41234 > >>

Forums > Bi4ce.Modules.ListX > Tips and Tricks > A Tool that creates ListX Modules



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation