View Full Version : Access Denied Error
12-13-2006, 04:13 AM
Dim api As New discountASP.CustomerApi
Dim blnTest As Boolean
blnTest = api.VerifyKey("XXX Correct Key XXX")
Catch ex As Exception
api = Nothing</CODE>Results in:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> DiscountASP.net.UserErrorException: Access denied.</CODE>
My IP address is on the white list and in fact I cannot run any of the test apps from this forum. Am I totally missing something?
12-13-2006, 08:11 AM
Are you running the code on DASP Servers or locally? In the former case ,you will need to add dasp server's Ip to the whitelist for which you will need to issue a ticket.
Its most probably an IP issue assuming the key you provided is correct.
12-13-2006, 08:24 AM
The code is being run locally (not from DASP servers), from a winforms app. I've checked the IP on the setup screen, and the one it says I am using is in the whitelist. I am also using the key listed on the same page. Could it have something to do with the fact that my machine is using an internal IP (10.1.1.x) and is not actually directly exposed to the outside?
12-13-2006, 09:02 AM
Yes,if you are behind a router,your public Ip needs to be white listed and not your internal Ip.
To know your Ip see: http://myipaddress.com/show-my-ip-address/
12-13-2006, 09:08 AM
My external IP is in the white list. In fact, it won't let you put in an internal IP as I tried that to make sure.
12-13-2006, 10:18 AM
If you have more than one entry in your IP whitelist, make sure that it's comma separated with no spaces.
12-13-2006, 10:25 AM
I have it such as: "184.108.40.206,220.127.116.11"
12-13-2006, 11:23 AM
Just reconfirm your Ip once again,because that the cause of your error.
You should see your IP in the Control panel itself,something like -Your current IP Address: X.X.X.X
If the problem still persists,issue a ticket, so that DASP support will be able to help you with it.
12-13-2006, 11:51 AM
I have created a ticket. Thanks!
12-14-2006, 03:38 AM
All seems to be ok now. I received an e-mail from support saying there was an issue with the API database that has now been resolved.
12-14-2006, 09:00 AM
Yep, they sent that e-mail to everyone that signed up for the API launch, I believe.
As usual the support guys here are top shelf.
It wasn't sent to everyone, just those who we had to generate new keys for.
We're glad to see so many API users! But then DiscountASP.NET users are an "early adopter" bunch, so it's not surprising. ;)
05-07-2007, 02:55 AM
I received same error, I read this topic and Idid what say previous posts.
Ihave a ticket and I received this answer : "Please try also posting your issue on our community forum. We do have numerous experienced customers and staff members who actively participate in providing conding related solutions and recommendations."
What should i do ?
05-07-2007, 06:14 AM
Have you added your IP address or the calling computer's IP address to the IP white list?
05-07-2007, 10:00 AM
Yes. I am sure.
Is threr wrong anything this screenshot ?
05-07-2007, 10:28 AM
I see your Whitelist texbox empty.Please populate it with the IP address in the screenshot!
05-09-2007, 10:52 AM
HowI amstupid :(
I think everything isok, when i see my ip under textbox.
Thanks a lot vvsharma !
12-22-2007, 08:09 AM
I'm afraid I have the same kind of error, ASP.Net kicks out:
Server was unable to process request. ---> Access denied.
Server was unable to process request. ---> DiscountASP.net.UserErrorException: Access denied.
as stated in Bretts first post.
I DO NOT get this error when connecting locally from my dev machine, I HAVE entered my server's IP address into the whitelist box. However that seems to have made no difference. As far as I am aware I have entered everything correctly, no spaces etc..
Can one of the admin's please take a look at my account (domain: brnc.co.uk) -- I have tried raising a ticket, but they dont wish to know! lol
Post Edited (Irish) : 12/24/2007 10:15:29 PM GMT
12-24-2007, 06:37 AM
You'll need to include the primary IP on the server rather than your unique IP because windows makes an outbound connection using the primary IP.
Create a support ticket and we can supply the server IP to you.
12-24-2007, 07:12 AM
Ah right, cheers Bruce, will do.
Note to those who havea similar problem to myself:
When creating a ticket ask for the "servers interface IP" (mine was 64.79.X.X)
Post Edited (Irish) : 12/24/2007 10:18:08 PM GMT
vBulletin® ©Jelsoft Enterprises Ltd.