AbleCommerceHttpModule does not appear to be configured

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mahfuz2009
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Wed May 27, 2009 9:37 pm

AbleCommerceHttpModule does not appear to be configured

Post by Mahfuz2009 » Thu May 28, 2009 9:57 am

I recently purchased the AbleCommerce software with source code. I want to call the AbleCommerce Api from my web application. What are the common steps?

To test out, I created a test page in my web application and then I called the CommbceBuilder API to create my store and I was getting this error:

AbleCommerceHttpModule does not appear to be configured

If I follow this forum viewtopic.php?f=42&t=8080 and add these two lines:
Please have a look at your web.config file and make sure that httpModules section includes

Code:
<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services"/>



also make sure that system.webServer/modules has

Code:
<add name="AbleCommerceHttpModule" type="CommerceBuilder.Services.AbleCommerceHttpModule, CommerceBuilder.Services" preCondition="managedHandler" />

I get the following error message:
object reference not set to an instance of an object.

Please suggest how to approach this problem. Due the above issue, my development is kind of stuck.

Thanks.

Mahfuz

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: AbleCommerceHttpModule does not appear to be configured

Post by mazhar » Thu May 28, 2009 10:04 am

In order to call AbleCommerce API your application must be in AbleCommerce application scope. Could you explain in details what are you trying to achieve? It seems to me that you are trying to use CommerceBuilder or AbleCommerce API in some where outside of AbleCommerce scope.

Mahfuz2009
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Wed May 27, 2009 9:37 pm

Re: AbleCommerceHttpModule does not appear to be configured

Post by Mahfuz2009 » Thu May 28, 2009 10:25 am

Yes, I am trying to use the CommerceBuilder or AbleCommerce API to do some customization. We have an existing functional web application where we want to integrate the AbleCommerce to implement the purchasing facility, with cart, store etc. and we will need to make some customization on some business logic. Discussing with my developer, he suggests that we would be able to accomplish this easily if he can call the APIs.

I know from the requirement perspective, we will need to apply some business logic but since the current AbleCommerce might now have the facilities, we thought the API call might enable us to achieve this goal.

Any suggestion/recommendation would be highly appreciated.

Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: AbleCommerceHttpModule does not appear to be configured

Post by mazhar » Thu May 28, 2009 10:49 am

Although this is quite unusual use of application, I suggest you better to have another look at your requirements. You can skin AbleCommerce to look exactly like your existing application. One of following theads discuss that scenario as well.

In order to run API calls there must be a valid license available in that context make sure that you have license placed in your application. Read following thread
viewtopic.php?f=42&t=9545

Some other helpful threads
viewtopic.php?f=42&t=9592
viewtopic.php?f=42&t=9545
viewtopic.php?f=42&t=9148
viewtopic.php?f=42&t=8081

Mahfuz2009
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Wed May 27, 2009 9:37 pm

Re: AbleCommerceHttpModule does not appear to be configured

Post by Mahfuz2009 » Thu May 28, 2009 11:48 am

Thanks for your response. Will have my developer look at those and have one of the ways suit to our need.

Do you think we could simply copy all our contents to the AbleCommerce web app and make the API calls from there? This would make the scope to AbleCommerce app itself.

Thanks a lot for your quick help.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: AbleCommerceHttpModule does not appear to be configured

Post by Logan Rhodehamel » Thu May 28, 2009 12:19 pm

Mahfuz2009 wrote:Do you think we could simply copy all our contents to the AbleCommerce web app and make the API calls from there? This would make the scope to AbleCommerce app itself.
That would probably work well.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply