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.
 
Modifying complied listx module RESX to add param to stored proc call
Last Post 03 Apr 2009 08:01 PM by sheryls. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
sherylsUser is Offline
New Member
New Member
Posts:2

--
31 Mar 2009 07:58 PM  
Hello everyone.

I have a compiled Publish module which i cannot access the ListX interface for.

Inside the resx, i have the following code:

<anyType xsi:type="MessageActionItem">
<Index>4</Index>
<ActionType>Action-Execute</ActionType>
<ActionInformation>10:12;59;5;0;DataTransferexec [SiteMigration_Portal] 1
exec [SiteMigration_Portal] 0False</ActionInformation>
<Level>1</Level>
</anyType>

I have modified SiteMigration_Portal to also take a portal id - so i tried to modify this code to say:

<anyType xsi:type="MessageActionItem">
<Index>4</Index>
<ActionType>Action-Execute</ActionType>
<ActionInformation>10:12;59;5;0;DataTransferexec [SiteMigration_Portal] 1,[PortalID,System]
exec [SiteMigration_Portal] 0,[PortalID,System]False</ActionInformation>
<Level>1</Level>
</anyType>

However, when i run a sql profiler trace, i get and exception: System.InvalidCastException: Conversion from string "Migra" to type ''Boolean'' is not valid. ---> System.FormatException: Input string was not in a correct format.

Somehow it is offsetting my call and getting part of the stored proc name as a parameter. What am i doing wrong? i've tried several permutations of the SP call - adding spaces where things look goofy (i swear the old code with no space between "0" and "False" functions completely correctly when i remove the new parameter from the stored proc) and still I get this exception.

Anyone have any experience with altering compiled ListX modules? Why is it shifting the call?

Thank you!!
-sheryls.
sherylsUser is Offline
New Member
New Member
Posts:2

--
03 Apr 2009 08:01 PM  
bumping for ...well, to bump it. no one has ever heard of this? hello? anyone? beuller?
You are not authorized to post a reply.

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