Development kits

A few newbie iPart questions

Hi all,

I’m doing a trivial Hello World iPart just to make sure I know all of the steps, and have a few questions which are probably pretty simple.

When setting up the iMIS Content Type, I’m not sure about this property:
“Name of the serializable class within the assembly that implements this content type”.
I found a comment somewhere:
“Enter the fully qualified class name of the class defined in the iPart Common class file”

CContactUser.LoginByWeblogin only works when passing password

I am attempting to reuse some old iBO.NET code with our new system we are testing with. I am unfortunately unable to create an iMISUser to process orders on without providing a password. Is there a security setting I am missing on the iMIS installation that will allow this?

This does not work:

This does:

Unable to use CStaffUser object in iMIS 20.1.19

After upgrading to iMIS 20.1.19, we now receive the error "Type 'Asi.iBO.CStaffUser' with data contract name 'CStaffUser:' is not expected. Consider using a DataContractResolver or add any types not known statically to the list of known types"

This occurs whenever we user the "CStaffUser.GetDefaultStaffUser or CStaffUser.LoginByUserId"

Has anyone found a viable workaround for this issue? If we use "CContactUser.LoginByWebLogin("MANAGER")" as an alternative, it messes up the current user's cart, since it's authenticating the session to the manager account.

Connection to SOA blocked by firewall. Baffled.

I'm configuring a Vyatta gateway/firewall in front of several web servers I have hosted by Softlayer. Those servers host a combination of RiSE, eCM, and Kentico websites, all of which talk to the iMIS SOA, which is hosted on a webserver *outside* of Softlayer (on my LAN). An example URL for the SOA is

we have the normal set of rules configured on the firewall (allow inbound traffic on ports 80,443,1433,25, etc), and in almost every respect, the firewall is doing it's job correctly.

Unable to update Address and Demographic data using IBO coding - iMIS

Below IBO code works fine in earlier versions (IMIS 15.13, IMIS 15.2, iMIS ), but not working in iMIS

Client having three address type: Main, Journnal, Home
Trying to update Address and Demographic table.

Asi.iBO.ContactManagement.CContact _CurrentUser = null;
Asi.iBO.ContactManagement.CAddress _MainAddress = null;
//Asi.iBO.ContactManagement.CAddress _JournalAddr = null;

Using AsiMembershipProvider within Sharepoint

I'm currently trying to configure the out-of-the-box AsiMembershipProvider authentication provider as the authentication mechanism for a site within Sharepoint 2013, and am running into some issues, which hopefully someone can shed some light on.

I am currently running utlizing the DLLs and default configurations that came with the IMIS 20.1.19 .

Through trial and error I've narrowed the authentication provider to need the following IMIS assemblies in the applications bin folder (or in the GAC):

Looking for Document Manager hack for Event Display page

In order to give staff a fast and easy way to upload documents to the RiSE system, I created a hack to the \Net\AsiCommon\Controls\ContentManagement\ContentDesigner\ContentHtmlEdit.asc file. The hack was found on somewhere on this Community website, specifically here, I think - It essentially adds an icon to the Content HTML iPart called Document Manager, placing it right next to the Image Manager icon. While it works great for the staff, it only works in that iPart. When clicking on the Edit button from the Event Display page, the same WYSIWYG editor appears, including the Document Manager icon. However, it doesn't work from this iPart, presumably because it's a different one than Content HTML. The main problem is that when you click on the icon, iMIS starts off looking in what appears to be the Images folder rather than the Docs folder I created for this purpose. Can I make the same hack to another control file, which would allow me to use Document Manager from the iPart on the Event Display page?

Using the Membership Webservice to log users into RiSE


We're working on a website redesign for one of clients on our test server, and our environment is set up as follows (the client acronymn has been replaced with "client" for this post):

Kentico 8 CMS is being used for the main site, hosted at

RiSE is being used for eCommerce components, hosted at

If we try using the LoginUser webservice directly from and log in as the manager, this works, and then we are also logged into the RiSE site.

However, if we invoke this webservice from a page on the Kentico site, again using the manager credentials, this does not work. The call to the method is successful, and returns "succeeded", but then if you go to the RiSE site you're not actually logged in.

It was our understanding that as long as the site invoking the webservice and the RiSE site were both on the same primary domain (which they are, in this case, this should work. Is there something else we need to configure for this to work, or is it not possible?

Thank you,

How to update user cart with dues subscription using IBO


iMIS newbie here. Using iMIS I have a "DUES" item sitting in the Subscriptions table for a given user. What I'd like to do is update the user's cart with the modified BILL_AMOUNT from Subscriptions. Using IBO I have a CContact object for the desired user; can I use that to update the user's cart? If so, how? I already tried calling CContact's BillDuesSubscriptions() method but the cart was not updated.

Using SQL Service Broker to asynchronously invoke MembershipService SOAP request from trigger


we're trying to use members email address as their logon credentials and automatically update their logon name via trigger when member email address changes. As we're planning to call ChangeUsernameForUserWithLogin Membership Web Service method (as Bruce Wilson suggested here: we cannot call it directly from trigger. This is why we're trying to invoke it asynchronously from SQL Service Broker service queue.