Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


MikeyP
2014-03-21T17:18:19Z
We have a site that uses Windows Authentication. I created an HTTP task to load a website (basica connectivity test then take action based on return code).

The credentials are specified and correct - the HTTP task just seems not to pass it as a windows authneticated login - even if I specify in IE Security Zone settings that the website should accept automatic login using current creds (Intranet Zone)

We see this in the IIS log:

2014-03-20 14:47:13 W3SVC2 <SERVERNAME> <IP ADDRESS> GET /userhomepage.aspx - 80 <DOMAIN>\<USERNAME> IP ADDRESS> HTTP/1.1 VisualCron - - <SERVERNAME> 302 0 0 378 821 15
2014-03-20 14:47:13 W3SVC2 <SERVERNAME> <IP ADDRESS> GET /userhomepage.aspx - 80 - <IP ADDRESS> HTTP/1.1 VisualCron - - <WEBSITEURL> 401 2 5 1566 184 0

and this in the task Stderr output:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
</fieldset></div>
</div>
</body>
</html>
Error getting HTTP response: The remote server returned an error: (401) Unauthorized.
Sponsor
Forum information
Support
2014-03-25T07:56:33Z
Try 7.1.4 which supports Basic and NTLM auth with a setting on the Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MikeyP
2014-03-28T14:52:37Z
Updating and then using NTLM worked!
Thanks so much!!!!
Support
2014-03-29T01:10:27Z
Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top