R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
A Tool that creates ListX Modules
Last Post 01 Jan 1900 05:00 AM by . 62 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 41234 > >>
Author Messages Informative
TalalUser is Offline
New Member
New Member
Posts:90

--
22 Jul 2007 10:39 AM  
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

TalalUser is Offline
New Member
New Member
Posts:90

--
22 Jul 2007 05:18 PM  
I GOT IT TO WORK!!!

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



emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
28 Jul 2007 04:13 AM  
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


TalalUser is Offline
New Member
New Member
Posts:90

--
28 Jul 2007 06:52 PM  
Yes i will. I will 'package' it a bit this weekend


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
29 Jul 2007 01:25 PM  
Awesome! I can't wait to check it out.

-e


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 03:14 AM  
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='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


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 03:34 AM  
Talal,

What version of DNN/ListX are you running?

-e


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 03:42 AM  
i have a pre-release of ListX 1.9.8.6


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 03:45 AM  
Does it have the fix for LP errors on DNN 4.5.x?

-e


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 03:50 AM  
yea.. seems like it


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 03:53 AM  
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


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 04:01 AM  
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!


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 04:07 AM  
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


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 04:11 AM  
OK,

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

-e


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 04:13 AM  
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


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 04:13 AM  
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.


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 04:29 AM  
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.


TalalUser is Offline
New Member
New Member
Posts:90

--
31 Jul 2007 04:32 AM  
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


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 04:48 AM  
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


emaynardUser is Offline
Basic Member
Basic Member
Posts:182

--
31 Jul 2007 04:51 AM  
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 > >>


Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share