.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

An unrecognized HTTP status was received. Check that the address can be accessed using Internet Expl

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :SharePoint
 

Hi All,

I am getting following error message in my crawl logs.

An unrecognized HTTP status was received. Check that the address can be accessed using Internet Explorer. (WebExceptionStatus KeepAliveFailure The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.)

Any idea how to solve this issue ?




View Complete Post


More Related Resource Links

An unrecognized HTTP response was received when attempting to crawl this item

  
I have just done a dbattach upgrade of our servers and so far everything has come up very nicely. Except for the Search service. I cannot get Search to crawl our 4 web applications. The crawl finishes with errors everytime. I get the following error. "An unrecognized HTTP response was received when attempting to crawl this item. Verify whether the item can be accessed using your browser. ( Error from SharePoint site: HttpStatusCode GatewayTimeout The remote server returned an error: (504) Gateway Timeout. )" Does anybody recognize this. Server configuration: WFE: windows server 2008 R2, Sharepoint 2010 enterprise, SSL(wildcard certificate) DB: windows server 2008 R2, SQL Server 2008 R2 Things i've already tried: Used another browser Set disableloopbackcheck to 1 iisreset reset index modified the hosts file verified DB account extended timeout settings turned off "warn on ssl errors" Any help would be greatly appreciated. Need to go live in a couple of days. Cheers

MSMQ and .NET: Send MSMQ Messages Securely Across the Internet with HTTP and SOAP

  

When creating a distributed system you frequently need to provide for communication between two entities that are not in sync. Microsoft Message Queue Server (MSMQ) provides the kind of store-and-forward messaging in a pre-built infrastructure that can help you address these kinds of messaging needs. In the past, MSMQ was accessed using a COM wrapper. Now there's a .NET wrapper that lets you accomplish your messaging goals easily from your Framework-based code. To illustrate the use of the wrapper, the author builds a messaging application, sends MSMQ messages over the Web, and discusses messaging security.

David S. Platt

MSDN Magazine December 2003


Redirect to Security Questions if Site accessed from unrecognized computer?

  

Hello,
I'm fairly new to ASP.NET and i'm using the Membership Provider.  I have the need to do similar to some banking sites. Baically I need to track "authorized" computers/ip's for a user.  If the user accesses the site form a recognized Computer/IP then the user is allowed into the app after successful login.  If the computer/IP is not recognized I need to redirect them to a screen to answer the security question setup in fhte Membership Provider.

Has anyone done anything like this or can anyone point me to any examples?  I did a search, but can't seem to find anything.


My idea is to maintain a list of authorized computers/IP addresses and check them on initial login.  If the IP address isn't found I can redirect them to the questions.  My concern is that they are then actually authenticated and could enter any of the site URL's as an authenticated user.

Any suggestions greatly appreciated. 


Anonymous Web Site receives "The request failed with HTTP status 401: Unauthorized"

  

I set up a test website on my local box and was able to access sharepoint search using the querySearch web service from SP.  After I got it all working properly I transferred the code to the target website that is set up with anonymous access for all people on the fab floor.  However from this website I keep getting the 401 error.  It can't be SP because the same code worked from my local website "localhost".  Any suggestions?  we don't want to have to have the fab people log in so we can't not have the box anonymous.  I would appreciate any suggestions very much!!!

Using WSS 2007 with MOSS.

code:

  private void GetDefaultCredentials()
  {
    try
    {
      m_where = "get configuration data for credentials";
      string userid = ConfigurationManager.AppSettings[ "userid" ];
      string password = ConfigurationManager.AppSettings[ "password" ];
      string domain = ConfigurationManager.AppSettings[ "domain" ];

      m_where = "set search query credentials";
      m_query.Credentials = new NetworkCredential ( userid, password

While calling Web service gets exception "The request failed with HTTP status 401: Unauthorized"

  
Hi All, I created a ASP.NET web service, which was hosted on default visual studioserver, and on excecution of webservice it run .exe file which in turn update xml file. Now i hosted this webservice on IIS 6.0 server, and when i run the service, itfails to execute the exe.When i run it on debug mode, i never get any exception.Code...public string HelloWorld()    {        Process myProcess = new Process();        try        {            myProcess.StartInfo.UseShellExecute = false;            // You can start any process,             myProcess.StartInfo.FileName = @"E:\Projects\some.exe";            myProcess.StartInfo.CreateNoWindow = true;            myProcess.Start();            myProcess.Close();            myProcess.Dispose();            return "Suceess";         }&n

No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'.

  
I am getting this error whenever I tried to open the svc file in the browser using the Visual Studio 2008. The puzzling part is the localhost address being interpreted as '0.0.0.0 '. What are should I look for in order to troubleshoot this problem?Exception Details: System.InvalidOperationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.][ServiceActivationException: No protocol binding matches the given address 'http://0.0.0.0:1143/Host/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.] System.ServiceModel.AsyncResult.End(IAsyncResult result) +4413209

i cannot access iis virtual directory using http protocol..getting status code error 403

  
i am trying to connect to remote exchange using powershell..while using powershell session i get status error 403...i changed the settings in iis manager...i have set all the settings in the iis manager as said in the msdn support blogs...yet i get the same error when i access it in the client url and also in powershell of the client computer...if i cannot connect using powershell,can i connect using .net???somebody help me...i am beginner and i am stuck...

WCF The request failed with HTTP status 404: Not Found

  

Hello,

I get the error above with a WCF service I've deployed to a Windows Server 2008 box (with IIS 7). When using a test client with a proxy WSDL class to try to consume the service this error pops up while debugging. Using http is fine, however using https causes the error. We do have an SSL on the URL for the WCF service.

Is there a setting I'm missing?

Thanks.




WCF The request failed with HTTP status 404: Not Found

  
Hello,

I get the error above with a WCF service I've deployed to a Windows Server 2008 box (with IIS 7). When using a test client with a proxy WSDL class to try to consume the service this error pops up while debugging. Using http is fine, however using https causes the error. We do have an SSL on the URL for the WCF service.

Is there a setting I'm missing?

Thanks.

IP address range check

  

Hi There,

I having a problem in getting the ip address of the client. I need to check a Ip and if it is within a range then, it should use resource from local intranet otherwise it should use the web content.  I tried all the below methods. These methods return a three different  ip address on the local sharpoint hosted site, development and production server. also when i check the ip using ipconfig, it is different to the returned ip's. any help would be great !! 

string ClientIP = Request.ServerVariables["remote_addr"].ToString();

---------------------------------------------------------------------------------------------
     
string ClientIP1 = Request.UserHostAddress;

-------------------------------------------------------------------------------

string ipaddress;

ipaddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];

if (ipaddress == "" || ipaddress == null)

ipaddress = Request.ServerVariables["REMOTE_ADDR"];
-------------------------------------------------------------------------------------------

string strHostName = System.Net.Dns.GetHostName();
string strIp = System.Net.Dns.GetHostAddresses(strHostName).GetValue(1).ToString(); 

-----------------------

http status 415 unsupported media type

  

Dear all,

Please Provide me solution of http status 415 unsupported media type error.. 

i have used

<?xml version="1.0" encoding="utf-8"?>

<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

<add assembly="Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

<webServices>
      <soapExtensionImporterTypes>
        <add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </soapExtensionImporterTypes>
      <soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </webServices>

<microsoft.web.services3>
    <messaging>
    

SQL Server Reporting Service 2008 R2 - The request failed with HTTP status 401: Unauthorized.

  
I got the error "The request failed with HTTP status 401: Unauthorized." when I call the Reporting Service Web Service.

The code is very simple:

// Initialise the reporting service Web Service

this.RSWebService = new ReportingService2010();

// Pass windos authentication credentials to Web Service

this.RSWebService.Credentials = System.Net.CredentialCache.DefaultCredentials;

// List children

List<CatalogItem> reports = this.RSWebService.ListChildren(folder, false).ToList();

The SQL Server is installed on a different machine (say server A) from the Web server (say server B). We are using Windows Server 2003.

The code work fine for all the scenario below:

i) Run locally (XP) to call the web service on the sql server

ii) Provide the Network Credentials with the username, password, and domain when calling the web service

iii) If the web server and sql server is using same server (i.e. not distributed)

I'm using windows authentication and impersonation. Any idea?


error on install: Performance counter registry hive consistency check - Status:Failed

  

Hi, I'm tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED  all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?

 

best regards


Im downloading a file and checking internet connection im trying to use event to check when the file

  

I used breakpoint on the event but its never get there.

This is the code of the connection testing of the internet while downloading the file in the contrustor:

if (fdt.http_test()== true)
            {              
                    Client.DownloadFile(remote_image_on_server, temp_dir + temp_file);
                    label6.Enabled = true;
                    label6.Visible = true;
                    label6.Text = "Internet connection active";              
            }
            else
            {
           &nb

Reporting Services 2008: "HTTP status 401: Unauthorized" Issue

  

I'm getting the error "The request failed with HTTP status 401: Unauthorized" whenever I try to list the reports on my reporting server. The weird thing is, it works when I run the asp.net application on my dev machine hitting the server reporting services web service url (http://www.example.com/reports/reportservice2005.asmx?wsdl) but when the asp.net app is installed on the server (running iis 7) hitting the same url I get the error. Here's my set up:


Server:

SQL Server Reporting services 2008 (not R2)

Web service url: http://www.example.com/reports/reportservice2005.asmx?wsdl


Client

Created a proxy ReportingServices2005.cs

Web.config has <identity impersonate="true"/>

Code to list reports:


<asp:ListView ID="lvReportList" runat="server">
    <LayoutTemplate>
        <ul>
            <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
        </ul>
    </LayoutTemplate>
    <ItemTemplate>
        <li>
            <asp:HyperLink runat="server" ID="hpReportLink" NavigateUrl='<%#Eval("Url")%>'><%#Eval("Name")%></asp:HyperLin

Webs Webservices problem : The request failed with HTTP status 401: Unauthorized

  
I am trying to run this code to get the web collection details. I am running this code in debug mode in Visual Studio 2005. I am running this code on sharepoint.acme.com, the same machine on which MOSS 2007 is installed.

        Webs websService = new Webs();
        System.Net.SystemNetworkCredential credentials =
        websService.Credentials = System.Net.CredentialCache.DefaultCredentials;
        websService.Url = "http://sharepoint.acme.com/_vti_bin/Webs.asmx";

        System.Xml.XmlNode myNode = websService.GetAllSubWebCollection();

I get this error. "The request failed with HTTP status 401: Unauthorized" in the last line while debug mode running. Earlier it used to work fine, but today I see this problem. Both acme\administrator and sharepoint\administrator can log into SharePoint. I tried running this code by logging in to my win2k3 desktop as acme\administrator once and launching Visual Studio 2005 and sharepoint\administrator another time. Both time it I got the same error.

Could someone please help me in resolving this error?

An add-on for this website failed to run. Check the security settings in Internet options for potent

  

Hello everyone,,

I am using IE8 and getting this problem.

An add-on for this website failed to run. Check the security settings in Internet options for potential conflicts.


Can anyone help me,,,plz


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend