www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    HttpWebRequest failed: The remote server returned an error: (401)
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
CB
Posted
We are a small student group (just graduated) working on a prototype digital library for our faculty.

Using Inmagic Content Server Version 10.0 - Webpublisher installed on a Microsoft Windows 2000 Server /SQL Server 2000.

We have had great success at creating forms and most aspects of the web interface.

The issue we have not been able to resolve relates to the “Inmagic Choices Browser”.

When we use the Choices Browser functionality we always get the error:

“HttpWebRequest failed: The remote server returned an error: (401)”

We are hoping somebody can assist us?

This message has been edited. Last edited by: CB,
 
Posts: 1 | Registered: Thu December 18 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Hi,
Try adding the below to your InmagicBrowse web.config file within the <system.net> Section.

  
<defaultProxy>
			<proxy
				 usesystemdefault = "false"
				 proxyaddress="http://localhost:80"
				 bypassonlocal="true"
     />
		</defaultProxy> 
 

Otherwise it could be a permissions thing, check ASPNET and IUSR user accounts have access to the ICSWEB directories..


Craig
 
Posts: 18 | Location: Derby, Uk | Registered: Wed October 04 2006Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
If Craig's suggestion doesn't help, I've had success eliminating that message by using the following two commands at a Windows Command prompt:

proxycfg -d -p " " "*"

cscript \inetpub\AdminScripts\adsutil.vbs set w3svc /NTAuthenticationProviders "NTLM"

You can make the proxycfg command more restrictive (specifying your server name instead of *) once you've verified that the less restrictive command works.

I've only seen the error you're getting when WebPublisher PRO is set up to use Integrated Windows Authentication (rather than Anonymous).
 
Posts: 1920 | Location: Woburn, MA, USA | Registered: Thu July 13 2000Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  WebPublisher PRO    HttpWebRequest failed: The remote server returned an error: (401)