Page 1 of 1

Connecting to a site with a port number or forced login

Posted: Wed Jun 19, 2013 8:25 am
by jdarby
I have two scenarios that I'm having trouble connecting to with DataPort.

I have one development site that is running on a specific port and it doesn't seem to like it. I enter http://example.com:100 into the address field at it comes back with "Failed to connect - are you sure the store url is correct?", which it is.

The second layer to this is that we've modified the store to require users to login before they see *anything* cart related, could this cause an issue? Is it possible to allow access to the API files needed to connect?

Re: Connecting to a site with a port number or forced login

Posted: Wed Jun 19, 2013 8:50 am
by jdarby
figured it out. Add an exception in your web.config file to allow ClientApiService.ashx to be accessed. I guess the port number wasn't a problem, just the security.

Code: Select all

  <location path="clientapi/ClientApiService.ashx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>