Connecting to a site with a port number or forced login

A forum where issues related to the DataPort utility can be discussed.
Post Reply
jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

Connecting to a site with a port number or forced login

Post by jdarby » Wed Jun 19, 2013 8:25 am

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?

jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

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

Post by jdarby » Wed Jun 19, 2013 8:50 am

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>

Post Reply