[cisco-voip] FW: "Authorization Required!" Error when accessi ng Directory on CCM 4.1(3)

Kevin Thorngren kthorngr at cisco.com
Mon Jul 3 22:05:17 EDT 2006


Here are a couple of quick things you can look at.

Could be an issue with the Virtual Directory configuration for CCMCIP.  
Take a look at the following:
- Go to Start > Programs > Administrative Tools > Internet Services 
Manager
- Find CCMCIP under the Default Web Site
- Right click CCMCIP and select Properties
- Click on the Directory Security tab
- Click Edit in the Anonymous Access and authentication control section
- Make sure only the Anonymous Access option is checked

Could also be a problem with the IUSR_Guest account.  Make sure it is 
in the WebUsers group.

If these steps don't help then it may be best to open a TAC case to 
find out what permissions are incorrect.

Kevin
On Jul 3, 2006, at 9:03 PM, Joseph CTR Alan N wrote:

> Discovered what the problem with the "Host Not Found" error ... I had
> changed the Ent params, but hadn't reset the phone. It still had the
> http://hostname/CCMCIP/xmldirectory.asp
>
> Now, if I check the directories URL in "Network settings" on the phone
> itself, I see
>
> http://10.10.10.1/CCMCIP/xmldirectory.asp (This is correct)
>
> Though now I'm getting "Authorization Required" and it is asking for a
> Username and Password when I hit the "Directories" button on the 7960.
>
> Any ideas here?
>
> Thanks again,
>
> Joe
>
>
>
> -----Original Message-----
> From: Ted Nugent
> To: Joseph CTR Alan N; cisco-voip at puck.nether.net
> Sent: 7/3/06 11:33 AM
> Subject: Re: [cisco-voip] FW: "Host Not Found" Error when accessing
> Directory on CCM 4.1(3)
>
> Yep it could be a whacked file however I had the same
> problem a few months back and it turned out it was my
> fault, I had copy/pasted a "space" into my url when I
> changed my ent params to IP addresses. If you have not
> modified your xml file I'd triple check your ent
> params. Otherwise if this is a non-MCS box I'd check
> for security errors in the event viewer.
>
> http://X.X.X.X/CCMCIP/xmldirectory.asp
>
>
> --- Joseph CTR Alan N
> <JosephAN.CTR at mcbbutler.usmc.mil> wrote:
>
>> Hello All,
>>
>>
>>
>>             I have a fresh build of CCM 4.1(3) and
>> I'm getting "Host Not
>> Found" when I hit the Directories button on my IP
>> phones. I know that this
>> is typically due to the CCM name being in the "Phone
>> URL Parameters" in
>> "Enterprise Parameters" though I have already
>> changed this from the hostname
>> to IP address of my CallManager.
>>
>>
>>
>> Could it be a whack xmldirectory.asp file? Here's
>> the contents of my
>> xmldirectory.asp ... standard stuff ...
>>
>>
>>
>> Any ideas?
>>
>>
>>
>> Thanks in advance,
>>
>>
>>
>> Alan Joseph III
>>
>> CCNP, CCDP
>>
>> Network Engineer
>>
>> Okinawa, Japan
>>
>>
>>
>>> <%@ Language=JavaScript %>
>> <%
>>
>> %>
>> <!-- #include file="_top.asp" -->
>> <%
>>
>> function getBaseURL()
>> {
>> 	var scriptName =
>> Request.ServerVariables("SCRIPT_NAME") ;
>> 	var endloc     =
>> String(scriptName).lastIndexOf("/") ;
>> 	var baseURL    = "http://" +
>> 				
>> String(Request.ServerVariables("SERVER_NAME")) + ":"
>> +
>>
>> String(Request.ServerVariables("SERVER_PORT")) +
>> 				     String(scriptName).substr(0, endloc
> + 1) ;
>> 	return baseURL ;
>> }
>>
>> try
>> {
>>   var name =
>> String(Request.QueryString("Name").Item);
>> 	Response.ContentType = "text/xml";
>> 	Response.Buffer = true;
>>
>>
> //Response.Write("<CiscoIPPhoneMenu>\r\n<Prompt>Select
>> a
>> directory</Prompt>\r\n<MenuItem>\r\n<Name>Corporate
>> Directory</Name>\r\n<URL>" + getBaseURL() +
>>
> "xmldirectoryinput.asp</URL>\r\n</MenuItem>\r\n</CiscoIPPhoneMenu>");
>> 	%>
>> 	<CiscoIPPhoneMenu>
>> 	<Prompt><% = outputString(
>> dictionary.xmldirectoryMsgPagePrompt,
>> "dictionary.xmldirectoryMsgPagePrompt" ) %></Prompt>
>> 	<MenuItem>
>> 	<Name><% = outputString(
>> dictionary.lblCorporateDirectory,
>> "dictionary.lblCorporateDirectory" ) %></Name>
>> 	<URL><% = getBaseURL()
>> %>xmldirectoryinput.asp</URL>
>> 	</MenuItem>
>> 	</CiscoIPPhoneMenu>
>> 	<%
>> }
>> catch (err)
>> {
>> 	Response.Clear();
>>     Response.Write(dictionary.msgGeneralError + " (
>> "+ name + " )");
>>     Response.AppendToLog(name + ":" + err.number +
>> ":" + err.description);
>> }
>>
>> Response.Flush();
>>
>> %>
>>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>



More information about the cisco-voip mailing list