|
Rank: Newbie Groups: Member
Joined: 8/24/2012 Posts: 4
|
We are running a load balancer to go between different servers. I am not sure if it is do to the load balancer that we are getting an error:
Failed to convert Url 'http://www.naturessunshine.com/us/products/product/DefaultForPDF.aspx?sku=30&language=1'.(1007:Failed to connect the remote server.) /n at UserControls_General_GeneratePdf.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
We don't get the error on Local or Test, or if we use a specific servers IP. The only time we get the error is when we access our site through the load balancer. Has anyone else run into this problem?
Thank you for any help you can provide.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, This is usually a DNS error. See here for more details: http://www.essentialobjects.com/doc/4/web/aspxtopdf.aspxLook for "Troubleshooting ASPX to PDF". The documentation is for ASPXToPDF, however the idea applies to anything that runs on your server side. Note that while it is USUALLY a DNS issue, it can be anything else. The root of the problem is you are not able to connect to your web server from within your web server. That is something that you may ultimiately need your network administrator to fix. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 8/24/2012 Posts: 4
|
I looked through the Troubleshooting ASPX to PDF. When we log into one of our web servers and access the URL with a browser the page does load correctly. What we are thinking the problem could be, and we might be way off on this, is: we have 6 web servers, when I go to www.oursite.com it passes through the load balancer and will end up on one of the 6 servers. From there when I click on the link that triggers the HtmlToPdf, it tries to connected to www.oursite.com which again passes through the balancer and will end up on one of the 6 servers. If this second request lands on a different server will that cause this error we are seeing?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
It's fine if you land on a different server. The HTML to PDF converter does not care which server responds. As long as it can get a response it's happy. The error message you have indicates it CAN NOT EVENT CONNECT to the server.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 8/24/2012 Posts: 4
|
That is good to know, thank you. I will get with our network guys again.
|
|
Rank: Newbie Groups: Member
Joined: 8/24/2012 Posts: 4
|
I have another question about this if I may. Do you know by chance what might be causing the server to deny access? Are there rights that need to be allowed? Would we be getting this error if the licence was not verified correctly?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
No. We have no idea why your server would deny access. Your network administrator should be able to tell you that. The issue wouldn't have anything to do with license either.
Thanks!
|
|