PrinttoPrinter not working in IIS 7

I have a web App that is not working properly when deployed to IIS.  The code that I am using is as follows:
crReportDocument.PrintToPrinter(1, True, 0, 0).
This code works in design mode with visual studio on the server, however when deployed on the same machine to IIS it does not work.
I am wondering how to correct this issue?
Your prompt response to this would be greatly appreciated.

Hi Eric
I'll need a bit more info:
Version of CR - please be precise.
Version of .NET
Version of OS?
Speak a bit more to: "...when deployed on the same machine to IIS it does not work.". What does that mean? Describe the behavior / symptom. Error messages?
If this is a critical issue, you may want to consider creating a hone incident here:
Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • NTLM SSO is not working using IIS

    Hi,
    We have unable to login to the infoview using SSO getting u201C page canu2019t found u201C error.
    1. We can  login to the infoview using AD authentication when tomcat as the application server but we are  unable to login to the infoview using SSO when IIS as the application server.
    2. If we select  the option called u201Cintegrated windows Authenticationu201D under internet options then the  SSO is not working and if we  uncheck the u201Cintegrated windows Authenticationu201D in the internet options then we are  able to login to the infoview using SSO.We are  able to login to the infoview using SSO on another environments and the working and problematic environments we  Configured IIS6, XI2 SP4.
    4.We tried to login to the infoview using http://servername instead of entire URL however we are getting error.
    5.We restarted IIS but no use.
    6.Our admin follow the below options-
    Open a registry editor, such as Regedit.exe or Regedt32.exe.
    Navigate to:
    HKLM\System\CurrentControlSet\Services\HTTP\Parameters
    Right-click Parameters, select New | DWORD value, and then name the value MaxFieldLength.
    Right-click Parameters, select New | DWORD value, and then name the value MaxRequestBytes.
    In the right pane, double-click MaxFieldLength, and then set its value to 32768 (decimal).
    In the right pane, double-click MaxRequestBytes, and then set its value to 32768 (decimal).
    Close the registry editor and restart the IIS Admin service for the change to take effect.
    But we are getting same problem.
    7.We  tried  to login to the infoview using http://localhost but issue still persists.
    8.We installed jakarta redirector.Is this root cause of this issue?
    9.We selected  intigrated windows authentication under default websites and i am sure i gave all the options under internet information  manager.
    Any one please help on this.
    My environment is-
    BOXIR2 SP4,
    NTLM SSO,
    Windows 2003,
    IIS6.

    "We tried to login to the infoview using http://servername instead of entire URL however we are getting error"
    What's the error using the hostname for SSO with integrated windows authentication enabled on only the infoview virtual directory?
    Regards,
    Tim

  • PrintToPrinter Not working in Web Server

    Dear Experts,
                        I have created report for direct printing at client machine. It's working in Local machine. Once i deployed in web server
    first time itself viewer opening then second time page loading only even viewer didn't open.
    rpt.PrintToPrinter(No_of_copies, True, 0, 0)
    Once i comment this line and restart the server first time only viewer opening. i cannot find why it's happening...
    How can i solve this issues ?
    thanks in advance,
    Mani

    Hi Ludek,
                   After installing default printer on Server, i got No printers installed.
    below is my code, (checking in Default printer installed or not in TRY)
    CR_TGL_EBL.HasPrintButton = False
    CR_TGL_EBL.ReportSource = rpt
    Try
    rpt.PrintToPrinter(No_of_copies, True, 0, 0)
    Catch ex As Exception
    Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
    End Try
    Even i installed default printer i got alert message, How to get direct print in server.
    Locally it's working fine. Once i enable printtoprinter it's loading only...
    Please help me to solve this issue...
    Regards,
    Mani.

  • Rewrite module not working in iis 8

    Hi All,
    I have a SharePoint site hosted in ports 1122 and I have configured alternate access mapping to "http://batman".
    Now, I want if some body types "http://batman" then it should get redirected to some other site. For this I am using URL Rewrite module. My rule is 
    <rule name="Redirect Batman" stopProcessing="true">
              <match url="(.*)" />
                  <conditions>
                         <add input="{HTTP_HOST}" negate="true" pattern="^http://batman$" />
                  </conditions>
                      <action type="Redirect" url="http://sedwdevrtm:11731/{R:1}" redirectType="Permanent" />
       </rule>
    which is not working at all. Please suggest something.

    Hello Alok,
    Can you check if it is related to the rule? You can do this by creating a simple redirect rule without a condition and see if that's working.
    Otherwise I would also try posting your question in the IIS forums, like suggested in this thread:
    http://social.technet.microsoft.com/Forums/office/en-US/bbbe4bae-0f72-4c28-8aa8-27e5585e3062/sharepoint-ignoring-iis-8-rewrite-rule
    - Dennis | Netherlands | Blog |
    Twitter

  • Hi doc.print() is not working in iis 7 and windows 7 when my site hosted..

    PrintVisitorEntry() {
    PrintDocument doc = new PrintDocument();
    doc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(Visitor_Print);
    doc.Print();
    void Visitor_Print(object sender, System.Drawing.Printing.PrintPageEventArgs e)
    DataTable dt = new DataTable();
    PrintVisitorEntry_Graphics(dt, e, 1);
    PrintVisitorEntry_Graphics(dt, e, 1)
    Point loc = new Point(100, 100);
    e.Graphics.DrawImage(img, 0, 90, 80, 80);
    int startX = 10;
    int startY = 10;
    int offset = 5;
    graphic.DrawString("---------------------------------------------------------------------", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("LOT MOBILES VISITOR PASS".PadLeft(38), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 40;
    graphic.DrawString("---------------------------------------------------------------------", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("S.NO ".PadLeft(50) + "808808809", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 35;
    graphic.DrawString("Visitor Name ".PadLeft(35) + txtVisitorName.Text.PadLeft(20), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Phone ".PadLeft(28) + txtmobilenumber.Text.PadLeft(27), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Employee Name ".PadLeft(36) + "Mr.Satyanarayana", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Dept ".PadLeft(27) + "Admin".PadLeft(25), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Allow To ".PadLeft(31) + txtAllowTo.Text.PadLeft(20), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Pass Validity ".PadLeft(36) + " ", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Check In Time ".PadLeft(36) + "2103/08/27 8.00 PM".PadLeft(23), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Visitor Belongings ".PadLeft(41) + "Mobile", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Issued By ".PadLeft(33) + "LOT Security(Mr.Said)".PadLeft(33), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("Employee Sign".PadRight(20) + "*808808809*".PadLeft(20), font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    graphic.DrawString("----------------------------------------------------------------------", font, new SolidBrush(Color.Black), startX, startY + offset);
    offset = offset + 20;
    protected void btnPrint_Click(object sender, EventArgs e)
    PrintVisitorEntry();
    using above code it is working fine in development but when i hosted the asp.net 4.0 site in iis 7 only that print is not responding
    no error and no exceptions...Please Provide the suggestions.....Thank You

    I'd ask in http://forums.iis.net/
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • ICal not working with IIS?

    I'm serving an iCal file (.ics) from IIS on windows but iCal can't subscribe to it using anything other than basic authentication.
    If I configure IIS to use digest or integrated windows authentication iCal says "access denied." Safari is able to download the file using these other authentication mechanisms...why can't iCal?

    I had to manually enter my account in iCal>Preferences>Accounts.  "Calendars" does not show as a sync item in the System Preferences>MobileMe , but adding the account manually in iCal has it working.
    Ed

  • Exchange Management not working (Shell & IIS)

    I have a windows 2008 Server running with Exchange 2010 SP3. I installed a new Exchange Server on another Windows Server 2012 in the same domain (Exchange 2013 SP1). Everything went fine, except that I am not able to access Exchange Management not by Shell
    nor IIS (ECP / OWA etc...)
    The following error shows up when I execute:
    https://server.mydomain.ch/ecp?ExchClientVer=15
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request.
    Please review the stack trace for more information
    about the error and where it originated in the code.
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    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:
    [NullReferenceException: Object reference not set to an instance of an object.]
    System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url) +60
    System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +128
    Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason) +1664
    Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication) +808
    Microsoft.Exchange.HttpProxy.<>c__DisplayClasse.<OnEndRequest>b__d() +1221
    Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) +39
    Microsoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate methodDelegate) +407
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +164
    If I try a connection with Exchange Management Shell I get the following error:
    New-PSSession : [server.mydomain.ch] Connecting to remote server server.mydomain.ch failed with the
    following error message : <!DOCTYPE html>
    <html>
    <head>
    <title>Access is denied.</title>
    <meta name="viewport" content="width=device-width" />
    Whichever of both I execute, I get the following Event Log Entry:
    Error 7/3/2014 04:50:45 MSExchange Front End HTTP Proxy 1003 Core
    Log Name: Application
    Source: MSExchange Front End HTTP Proxy
    Date: 7/3/2014 04:50:45
    Event ID: 1003
    Task Category: Core
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: server.mydomain.ch
    Description:
    [Ecp] An internal server error occurred. The unhandled exception was: System.NullReferenceException:
    Object reference not set to an instance of an object.
    at System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url)
    at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
    at Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason)
    at Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication)
    at Microsoft.Exchange.HttpProxy.ProxyModule.<>c__DisplayClasse.<OnEndRequest>b__d()
    at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate,
    CatchDelegate catchDelegate)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="MSExchange Front End HTTP Proxy" />
    <EventID Qualifiers="49152">1003</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-07-03T08:50:45.000000000Z" />
    <EventRecordID>117487</EventRecordID>
    <Channel>Application</Channel>
    <Computer>server.mydomain.ch</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Ecp</Data>
    <Data>System.NullReferenceException: Object reference not set to an instance of an object.
    at System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url)
    at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
    at Microsoft.Exchange.HttpProxy.FbaModule.RedirectToFbaLogon(HttpApplication httpApplication, LogonReason reason)
    at Microsoft.Exchange.HttpProxy.FbaModule.OnEndRequestInternal(HttpApplication httpApplication)
    at Microsoft.Exchange.HttpProxy.ProxyModule.<>c__DisplayClasse.<OnEndRequest>b__d()
    at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate,
    CatchDelegate catchDelegate)</Data>
    </EventData>
    </Event>
    I am not sure, if it is a real Permission Problen, or if this is a consequence of the NullReference Object error. 
    Even uninstall/reinstall of the Exchange 2013SP1 did not resolved the problem. I tried everything I found in the internet, (Security Issues). BTW, if I start Exchange Management Shell,  after the connect error above, it tries and succeed to connect
    to the other old 2010 Exchange server.
    Any help would be really appriciated!

    Hi,
    Firstly, please make sure all Exchange services are started and running in Exchange servers. Please check your MsExchangeOWAapp pool and MSExchangeECPApp pool in IIS manager. Make sure their Identity are both LocalSystem instead of ApplicationPoolIdentity.
    In Exchange Back End > ECP home, open Application Settings in /ecp Home, please check whether the value for “BinSearchFolders” is changed to an invalid value. If so, please change it to:
        C:\Program Files\Microsoft\Exchange Server\V15\bin;C:\Program Files\Microsoft\Exchange Server\V15\bin\CmdletExtensionAgents;C:\Program Files\Microsoft
    Exchange Server\V15\ClientAccess\Owa\bin. And run IISReset command to restart IIS services.
    Also make sure you are access Exchange server with Domain\Administrator account and make sure the administrator have the following group membership to access EAC:
    Domain Admins
    Schema Admins
    Enterprise Admins
    Organization Management
    Thanks,
    Winnie Liang
    TechNet Community Support

  • CC Shared Review using WebDAV not working on IIS

    I have a WebDAV IIS 7.5 server using basic authentication and I'm trying to use it with Acrobat 11.0.07. Acrobat creates folders on the WebDAV server but at a point after that and before the pdf has completed setup, Acrobat fails to authenticate.
    I have Charles setup and I can see the traffic and see the authentication work but then it appears Acrobat stops using the Charles proxy. It's at this point I sniff the packets see the server request authentication but Acrobat doesn't authenticate.
    Does anyone have any ideas what I'm doing wrong? What I can check?
    Thanks
    Doug

    Try using "Basic Authentication" as a test rather than Digest or something else.

  • CFGRID not working with IIS Virtual Directories

    I was wondering if anyone else is having this issue?
    Cfgrid works fine outside of the virtual directory. But when
    I put the file in a virtual directory the applet doesn't load.
    Please help
    Thank you
    Jeff S

    Got it working with "nodePath"
    Thanks,
    Ranjith Pillai

  • cfauthenticate does not working

    <cfauthenticate> does not working under IIS. I've tried
    everything but the username / password requesting window doesn't
    appear. What's gonna be the problem?
    Thanks

    Back on CF 5.0, you would need the Enterprise edition (not
    Standard) so that you'd have SiteMinder up and running as a
    service. You'd then need to configure (via CF Administrator) the NT
    domains and Policies for <cfauthenticate> and Siteminder to
    co-ordinate on. And you would then need to build your own Logon
    page yourself, giving the keyed arguments to <cfauthenticate>
    to give you back an answer.
    If you're talking about standard IIS Windows Authentication
    at the folder level and automatic Windows Pop-ups, that is a whole
    nother story and has nothing to do with Cold Fusion. You'd do all
    that right in IIS and pages would never even get passed to CF until
    IIS was satisfied.

  • NOT WORKING - Tomcat 4.0.5 and IIS 5

    I'm trying to set up Tomcat to work with IIS 5 on windows 2000 server.
    I got everything working fine locally. I deployed my app and it's working fine on localhost:8080. Now I want to be able to see it from the outside and some files that I try to view from my domain come up with the actual source code.
    I ran with several tutorials that keep saying "Hey, you did it...it's was so easy wasn't it?" and they don't say anything when it all goes wrong. No one goes the extra step to help out when these easy instructions do nothing. I'm looking at this for far too long now and I'm losing my mind slowly.
    I have IIS running and restarted it with jakarta virtual directory that has a green arrow up. But localhost doesn't find the pages. So I'm not sure what could be wrong.
    I'm having a lot of trouble with the workers.properties file. If anyone could help me with that it would be great. The uriworkmap seems to be quite simple, and goes the same way as the web.xml server uri-mapping. But I'm not sure what could be wrong.
    I also tried to get tomcat to service jsp files and IIS everything else, but still nothing.
    Thanks in advance,
    Lior

    Well, something was wrong with my configurations of the registry amongst other things. Now I have everything in place and I played with the workers.prop file. However, it still doesn't work. I get the following in the isapi_redirect.log file:
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (806)]: Using registry.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (808)]: Using log file C:\tomcat\logs\iis_redirect.log.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (809)]: Using log level 0.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\tomcat\conf\workers.properties.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\tomcat\conf\uriworkermap.properties.
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 5
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /refcoapp/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (82)]: Into wc_open
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (138)]: Into wc_create_worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (177)]: wc_create_worker, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (235)]: build_worker_map, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (102)]: wc_open, done
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/num/numguess.jsp'
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (617)]: HttpFilterProc [examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (639)]: HttpFilterProc check if [examples/jsp/num/numguess.jsp] is points to the web-inf directory
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name ajp13
    I have no idea why it cannot get the worker. This is the prop file I have:
    workers.tomcat_home=c:\tomcat
    workers.java_home=c:\jdk1.3.1_04
    ps=\
    worker.list = ajp13
    worker.ajp13.type = ajp13
    worker.ajp13.host = localhost
    worker.ajp13.port = 8009
    Thanks.

  • Cold fusion 9 Installation on Windows server 2008 (IIS 7.0) - IIS websites not working ?

    I am having a 64 bit machine on which windows server 2008 R2 is installed. IIS 7.0 is configured and running on it. on which I have my organisations main website. I have to install Cold fusion on this machine as some of my site pages are designed with CF.
    I used all the default settings for installing cold fusion 9. It got completed succefully. But after I restarted my system and tried accesing my ASP.net website it was not loading the page. Text getting displayed was only as follows '<script> src="'. Later I unsistalled CF and my site was working fine.
    Please can any one guide me to successfully install Cold fusion without disturbing my main site deployed on IIS ?

    Sarfarajms, I don't recognize what about the CF install would conflict with ASP.NET, but I'll note this:
    If you downloaded CF 9 recently, you are still running 9.0--which does NOT formally support IIS 7. If you followed the steps about enabling IIS 6 compatibility and such (in the install guide or some blog entry), perhaps that caused the conflict.
    Instead, you will want to install 9.0.1 (CF 9 Updater 1, which is NOT provided in the current 9.0 install). THAT is the first release to formally support IIS 7. And if you read the updater installation guide (http://www.adobe.com/support/documentation/en/coldfusion/901/cf901install.pdf), it discusses how to deal with the upgrade depending on what you had done with respect to IIS, starting at the bottom of its page 8.
    Hope that helps.
    /charlie

  • Added barracuda LB. owa 2010 not working on virtual IP - works using host IP. IIS home page works on virtual IP

    Hi,
    I have 2 exchange servers in a DAG. (exc1 and exc2) (DAG is called: outlook.domain.com)
    I added 2 load balancers in front of them to distribute the load + ensure uptime for the users.
    the load balancers have a virtual IP - 192.168.1.33
    there is an A record in DNS pointing to this IP called: outlook.domain.com
    SSL offloading is enabled and certificate has been imported to the LBs
    Outlook clients work just fine using outlook.domain.com - everything OK
    OWA works using https://exc1/owa and https://exc2/owa
    but OWA does NOT work using Https://outlook.domain.com/owa
    I get "connection reset"
    IIS front page works just fine (https://outlook.domain.com gives iis7 welcome page) - its only when I add /owa to it, that the error appears.
    any ideas?
    thanks in advance
    /chris

    Do both sets not say to
    set Client certificates, select Ignore?  
    I'm skimming so may be missing something. 
    You can have session persistence using IP affinity, but depending on what you want to publish and achieve you may need to inspect the traffic on the LB.  I was curious as it adds a bit more complexity.
    And is Outlook 2010 upto date?  What is the exact build string on a client that is getting the prompt please?  This is a person bugbear of mine:
    http://blogs.technet.com/b/rmilne/archive/2013/07/18/patching-exchange-don-t-overlook-outlook.aspx
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Form Based Auth Scheme on IIS not working

    Hi All
    I am facing some issues while using Form Based Authentication scheme to protect a resource which is on IIS 6.0. The problem comes only when the action URL is other than "/access/oblix/apps/webgate/bin/webgate.dll".
    The form reappears even after submitting the correct credentials. The login form also having a same action URL as of Authentication scheme and also it (action URL) has been protected with Anonymous Authentication scheme.
    The same scenario works when there is GET in the login form. But when I use POST, it does not work. I have also made sure that the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Oblix\Oblix COREid\version\WebGate\postdata="yes" has been correctly set. Policy Manager and WebGate have been installed in the same folder.
    Any suggestion on what I might be missing in the configuration?

    Hi,
    Thank you very much for your valuable inputs on this topic. I tried the changes to my web service configuration as per your suggestions & also made the remote web application adhere to form based authentication but i still see the login page everytime i create a new session with the portal. My web.xml file for remote web app looks like this now:
    <web-app>
    <security-constraint>
    <display-name>Example Security Constraint</display-name>
    <web-resource-collection>
    <web-resource-name>Protected Area</web-resource-name>
    <url-pattern>/protected/*</url-pattern>
         <http-method>DELETE</http-method>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
         <http-method>PUT</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>admin</role-name>
    </auth-constraint>
    <user-data-constraint><transport-guarantee>NONE</transport-guarantee></user-data-constraint>
    </security-constraint>
    <!-- Default login configuration uses form-based authentication -->
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>Example Form-Based Authentication Area</realm-name>
    <form-login-config>
    <form-login-page>/login.jsp</form-login-page>
    <form-error-page>/error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description> An administrator </description>
    <role-name>
    manager
    </role-name>
    </security-role>
    </web-app>
    Now, my portlet url is http://pc:8080/TestLoginApp/protected/index.jsp
    & login & post urls are:
    http://pc:8080/TestLoginApp/login.jsp &
    http://pc:8080/TestLoginApp/protected/index.jsp respectively.
    What is it that i am still missing? Any help in resolving this would be greatly appreciated.
    Thanks
    Ankur

  • Autodiscovery not working at a complete loss

    Hi 
    I have a setup with one CAS server and one Exchange backend server. Serves 4 Domains.
    Activesynch is working (both on intranet and internet). owa is working both Networks too.
    heres some test data (domain and such stuff have been sanitized contoso.com is the excernal name, contoso is the internal name, casserver is the CAS Server etc.
    my autodiscover is on
    https://mail.contoso.com/autodiscover/autodiscover.xml
    any http on autodiscovery.* (my 4 domains) will do a 302 redirect to
    https://mail.contoso.com/autodiscover/autodiscover.xml
    browsing https://mail.contoso.com/autodiscover/autodiscover.XML from intranet or internet yields this response (after providing username and password
    <Autodiscover>
    <Response>
    <Error Time="09:32:02.3112517" Id="2271660173">
    <ErrorCode>600</ErrorCode>
    <Message>Invalid Request</Message>
    <DebugData/>
    </Error>
    </Response>
    </Autodiscover>
    Other Things I've done to help showing the configuration: 
    1. Test autodiscover configuration: Test-OutlookWebServices -ClientAccessServer "casserver"
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Test-OutlookWebServices -ClientAccessServer casserver
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1019
    Type : Information
    Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://casserver.contoso.com/Autodiscover/Autodiscover.xml.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1023
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/EWS/Exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXCH] Error contacting the AS service at https://casserver.contoso.com/EWS/Exchange.asmx. Elapsed time was 437 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://casserver.contoso.com/EWS/Exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1027
    Type : Error
    Message : [EXCH] Error contacting the UM service at https://casserver.contoso.com/EWS/Exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/ews/exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXPR] Error contacting the AS service at https://mail.contoso.com/ews/exchange.asmx. Elapsed time was 468 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXPR] Successfully contacted the UM service at https://mail.contoso.com/ews/exchange.asmx. The elapsed time was 140 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1125
    Type : Error
    Message : [Server] Error contacting the AS service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1127
    Type : Error
    Message : [Server] Error contacting the UM service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    2. Ping and browse https://mydomain/autodiscover/autodiscover.xm
    Browse https://casserver/autodiscover/autodiscover.XML = 404
    ping casserver Works OK
    note above about
    https://mail.contoso.com/autodiscover/autodiscover.XML actually Works.
    3. If you are testing from outside, test https://autodiscover.mydomain/autodiscover/autodiscover.xml
    See 2
    4. Test autodiscover virtual diretories: Get-AutodiscoverVirtualDirectory |FL
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-AutodiscoverVirtualDirectory |FL
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Name : Autodiscover (Default Web Site)
    InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    LiveIdSpNegoAuthentication : False
    WSSecurityAuthentication : False
    LiveIdBasicAuthentication : False
    BasicAuthentication : True
    DigestAuthentication : False
    WindowsAuthentication : True
    MetabasePath : IIS://casserver.contoso.com/W3SVC/1/ROOT/Autodiscover
    Path : C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Autodiscover
    ExtendedProtectionTokenChecking : None
    ExtendedProtectionFlags : {}
    ExtendedProtectionSPNList : {}
    Server : CASSERVER
    InternalUrl :
    ExternalUrl :
    AdminDisplayName :
    ExchangeVersion : 0.10 (14.0.100.0)
    DistinguishedName : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=CASSERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com
    Identity : CASSERVER\Autodiscover (Default Web Site)
    Guid : 9f99c3b7-f63f-474c-899d-72c6d4f5d480
    ObjectCategory : contoso.com/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
    ObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
    WhenChanged : 29-08-2014 02:45:44
    WhenCreated : 29-08-2014 02:46:03
    WhenChangedUTC : 29-08-2014 00:45:44
    WhenCreatedUTC : 29-08-2014 00:46:03
    OrganizationId :
    OriginatingServer : adserver.contoso.com
    IsValid : True
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    5. Also Checked my Certificate:
    The certificate is a signed UCC / SAN certificate from my own authority it contains the following (sanitized) information:
    Certificate:
    Identity / Subject:
    casserver.contoso.com
    SAN
    dns=casserver.contoso.com
    dns=mail.contoso.com
    dns=autodiscover.contoso.com
    dns=mail.domain2.com
    dns=autodiscover.domain2.com
    dns=mail.domain4.com
    dns=autodiscover.domain4.com
    dns=mail.domain3.com
    dns=autodiscover.domain3.com
    dns=contoso.com
    dns=domain2.com
    dns=domain4.com
    dns=domain3.com
    dns=casserver
    6. Tried resetting the Autodiscovery Virtual Directory.
    7. Testing on https://testconnectivity.microsoft.com/ (remote Connectivity Analyzer):
    Exchange ActiveSync Autodiscover:
    <?xml version="1.0" encoding="utf-8"?>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting the Autodiscover and Exchange ActiveSync test (if requested)." resultdescription="Testing of Autodiscover for Exchange ActiveSync failed." additionaldetails="" elapsedMilliseconds="22354">
    <children>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting each method of contacting the Autodiscover service." resultdescription="The Autodiscover service couldn't be contacted successfully by any method." additionaldetails="" elapsedMilliseconds="22354">
    <children>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://contoso.com:443/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="17286">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="332">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="293">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="15540">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="15517">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="679">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="440">
    <children>
    <testresult status="Error" errorid="12f4b21a-7e8d-4c95-b4a8-f4608e7d73b0" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://contoso.com:443/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Connection: close&#xD;&#xA;Content-Length: 315&#xD;&#xA;Content-Type: text/html; charset=us-ascii&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:13 GMT&#xD;&#xA;Server: Microsoft-HTTPAPI/2.0&#xD;&#xA;" elapsedMilliseconds="440">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://autodiscover.contoso.com:443/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="2303">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="321">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host autodiscover.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="347">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="505">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server autodiscover.contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="483">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name autodiscover.contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="676">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="451">
    <children>
    <testresult status="Error" errorid="12f4b21a-7e8d-4c95-b4a8-f4608e7d73b0" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://autodiscover.contoso.com:443/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Connection: close&#xD;&#xA;Content-Length: 315&#xD;&#xA;Content-Type: text/html; charset=us-ascii&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:15 GMT&#xD;&#xA;Server: Microsoft-HTTPAPI/2.0&#xD;&#xA;" elapsedMilliseconds="451">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to contact the Autodiscover service using the HTTP redirect method." resultdescription="The attempt to contact Autodiscover using the HTTP Redirect method failed." additionaldetails="" elapsedMilliseconds="2487">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name autodiscover.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="8">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 80 on host autodiscover.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="161">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is checking the host autodiscover.contoso.com for an HTTP redirect to the Autodiscover service." resultdescription="The redirect (HTTP 301/302) response was received successfully." additionaldetails="Redirect URL: https://mail.contoso.com/Autodiscover/Autodiscover.xml&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Content-Length: 179&#xD;&#xA;Content-Type: text/html; charset=UTF-8&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:15 GMT&#xD;&#xA;Location: https://mail.contoso.com/Autodiscover/Autodiscover.xml&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;" elapsedMilliseconds="310">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to test potential Autodiscover URL https://mail.contoso.com/Autodiscover/Autodiscover.xml" resultdescription="Testing of this potential Autodiscover URL failed." additionaldetails="" elapsedMilliseconds="2006">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Attempting to resolve the host name mail.contoso.com in DNS." resultdescription="The host name resolved successfully." additionaldetails="IP addresses returned: 255.255.255.255" elapsedMilliseconds="368">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing TCP port 443 on host mail.contoso.com to ensure it's listening and open." resultdescription="The port was opened successfully." additionaldetails="" elapsedMilliseconds="169">
    <children />
    </testresult>
    <testresult status="Success" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Testing the SSL certificate to make sure it's valid." resultdescription="The certificate passed all validation requirements." additionaldetails="" elapsedMilliseconds="354">
    <children>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server mail.contoso.com on port 443." resultdescription="The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate." additionaldetails="Remote Certificate Subject: CN=casserver.contoso.com, OU=contoso, O=contoso, L=City, S=State, C=US, Issuer: CN=my-ca-autority, DC=contoso, DC=com." elapsedMilliseconds="329">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Validating the certificate name." resultdescription="The certificate name was validated successfully." additionaldetails="Host name mail.contoso.com was found in the Certificate Subject Alternative Name entry." elapsedMilliseconds="0">
    <children />
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Testing the certificate date to confirm the certificate is valid." resultdescription="Date validation passed. The certificate hasn't expired." additionaldetails="The certificate is valid. NotBefore = 8/28/2014 11:15:35 PM, NotAfter = 8/27/2016 11:15:35 PM" elapsedMilliseconds="0">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Success" errorid="00000000-0000-0000-0000-000000000000" contentUrl="" testdescription="Checking the IIS configuration for client certificate authentication." resultdescription="Client certificate authentication wasn't detected." additionaldetails="Accept/Require Client Certificates isn't configured." elapsedMilliseconds="669">
    <children />
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to send an Autodiscover POST request to potential Autodiscover URLs." resultdescription="Autodiscover settings weren't obtained when the Autodiscover POST request was sent." additionaldetails="" elapsedMilliseconds="445">
    <children>
    <testresult status="Error" errorid="a28be452-a4b2-419c-851a-37f441f3120e" contentUrl="" testdescription="The Microsoft Connectivity Analyzer is attempting to retrieve an XML Autodiscover response from URL https://mail.contoso.com/Autodiscover/Autodiscover.xml for user [email protected]." resultdescription="The Microsoft Connectivity Analyzer failed to obtain an Autodiscover XML response." additionaldetails="An HTTP 500 response was returned from Unknown.&#xD;&#xA;HTTP Response Headers:&#xD;&#xA;Content-Length: 0&#xD;&#xA;Cache-Control: private&#xD;&#xA;Date: Fri, 29 Aug 2014 07:46:18 GMT&#xD;&#xA;Server: Microsoft-IIS/7.5&#xD;&#xA;X-AspNet-Version: 2.0.50727&#xD;&#xA;X-Powered-By: ASP.NET&#xD;&#xA;" elapsedMilliseconds="444">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    <testresult status="Error" errorid="734044ef-11c2-4e30-9ee6-450d49e9d92c" contentUrl="" testdescription="Attempting to contact the Autodiscover service using the DNS SRV redirect method." resultdescription="The Microsoft Connectivity Analyzer failed to contact the Autodiscover service using the DNS SRV redirect method." additionaldetails="" elapsedMilliseconds="132">
    <children>
    <testresult status="Error" errorid="8249cc81-d0ce-43d2-b319-48ceadb1bfe7" contentUrl="http://go.microsoft.com/?linkid=9843849" testdescription="Attempting to locate SRV record _autodiscover._tcp.contoso.com in DNS." resultdescription="The Autodiscover SRV record wasn't found in DNS." additionaldetails="" elapsedMilliseconds="132">
    <children />
    </testresult>
    </children>
    </testresult>
    <testresult status="Warning" errorid="c0f75b77-072c-48d5-ab17-eebc99a4b3d9" contentUrl="http://go.microsoft.com/?linkid=9843786" testdescription="Checking if there is an autodiscover CNAME record in DNS for your domain 'contoso.com' for Office 365." resultdescription="Failed to validate autodiscover CNAME record in DNS. If your mailbox isn't in Office 365, you can ignore this warning." additionaldetails="There is no Autodiscover CNAME record for your domain 'contoso.com'." elapsedMilliseconds="145">
    <children />
    </testresult>
    </children>
    </testresult>
    </children>
    </testresult>
    8. Testing Autodiscover from Exchange Client (intranet):
    [email protected]
    Attempting URL https://casserver.contoso.com/Autodiscover/Autodiscover.xml Found Through SCP
    Autodiscover to https://casserver.contoso.com/Autodiscover/Autodiscover.xml starting
    GetLastError=0;httpStatus=404.
    ... more errors...
    Redirect Check to http:/autodiscover.contoso.com/Autodiscover/Autodiscover.xml starting
    (recieves redirect)
    Autodiscover to https://mail.contoso.com/Autodiscover/Autodiscover.xml starting
    GetLastError=0;httpStatus=500.
    ..SRV Attempt..
    .Fails.
    End of tests.
    (sorry for lack of details in this test) - the tests done by Outlook has to be transcribed by hand :-(
    I hope anyone out there can help me resolve my issue.
    Regards,
    Henrik

    Found these instructions in another post:
    After doing the below changes , Exchange 2010 and 2013 Autodiscovery working without any error .
    Set-ClientAccessServer -Identity e2013ht -AutodiscoverServiceInternalUri https://mail.mydomain.com/autodiscover/autodiscover.xml
    Set-WebServicesVirtualDirectory -Identity “e2013ht\EWS (Default Web Site)” –InternalUrl https://mail.mydomain.com/EWS/Exchange.asmx
    Set-OABVirtualDirectory -Identity “e2013ht\OAB (Default Web Site)” -InternalURL https://mail.mydomain.com/OAB
    Set-ActiveSyncVirtualDirectory -Identity “e2013ht\Microsoft-Server-ActiveSync (Default Web Site)” -InternalURL https://mail.mydomain.com/Microsoft-Server-Activesync
    For Outlook Anywhere,
    Set-WebServicesVirtualDirectory –Identity ‘e2013ht\EWS (Default Web Site)’ –ExternalUrl https://mail.mydomain.com/ews/exchange.asmx
    Regards
    Bhupen
    After changing and applying these commands to match my server etc:
    Set-ClientAccessServer -Identity CASSERVER -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml
    Set-WebServicesVirtualDirectory -Identity "CASSERVER\EWS (Default Web Site)" –InternalUrl https://mail.contoso.com/EWS/Exchange.asmx
    Set-OABVirtualDirectory -Identity "CASSERVER\OAB (Default Web Site)" -InternalURL https://mail.contoso.com/OAB
    Set-ActiveSyncVirtualDirectory -Identity "CASSERVER\Microsoft-Server-ActiveSync (Default Web Site)" -InternalURL https://mail.contoso.com/Microsoft-Server-Activesync
    Set-WebServicesVirtualDirectory –Identity "CASSERVER\EWS (Default Web Site)" –ExternalUrl https://mail.contoso.com/ews/exchange.asmx
    The result of Test 1. Test autodiscover configuration: Test-OutlookWebServices -ClientAccessServer CASSERVER changed, its still not working - but there are less errors now.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Test-OutlookWebServices -ClientAccessServer CASSERVER
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1019
    Type : Information
    Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://mail.contoso.com/autodiscover/autodiscover.xml.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/autodiscover/autodiscover.xml received the error The remote server returned an error: (500) Internal Server Error.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1023
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://CASSERVER.contoso.com:443/autodiscover/autodiscover.xml received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1123
    Type : Error
    Message : The Autodiscover service couldn't be contacted.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/EWS/Exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXCH] Error contacting the AS service at https://mail.contoso.com/EWS/Exchange.asmx. Elapsed time was 15 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXCH] Successfully contacted the UM service at https://mail.contoso.com/EWS/Exchange.asmx. The elapsed time was 15 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1013
    Type : Error
    Message : When contacting https://mail.contoso.com/ews/exchange.asmx received the error Client found response content type of '', but expected 'text/xml'.
    The request failed with an empty response.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1025
    Type : Error
    Message : [EXPR] Error contacting the AS service at https://mail.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1026
    Type : Success
    Message : [EXPR] Successfully contacted the UM service at https://mail.contoso.com/ews/exchange.asmx. The elapsed time was 234 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The request failed with HTTP status 404: Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1125
    Type : Error
    Message : [Server] Error contacting the AS service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1113
    Type : Error
    Message : When contacting https://casserver.contoso.com/ews/exchange.asmx received the error The remote server returned an error: (404) Not Found.
    RunspaceId : 735fd88b-e9e1-4350-b7d7-c0aca66ebecd
    Id : 1127
    Type : Error
    Message : [Server] Error contacting the UM service at https://casserver.contoso.com/ews/exchange.asmx. Elapsed time was 0 milliseconds.
    [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>
    regards,
    Henrik

Maybe you are looking for

  • How many iPods can I link on my laptop?

    I'm thinking of buying a second iPod and wondered if anyone knew if I'll be able to have two separate music libraries on my laptop? Thanks in advance. Thomas

  • How can i delete a corrupted sparsebundle file

    My TimeCapsule sparsebundle file is corrupt and cannot be opened by TimeMachine anymore. However I cannot delete it either, error message: "The process could not be completed as the object "bands" is in use." (my translation from my German original:

  • Connecting Zen touch to Stereo sys

    I was wondering if there is a cord or some way to connect my touch to a stereo and play the music through the stereo? thanks, much appreciated.

  • Increasing screen resolution beyond 1440 x 900

    Hello, is there a way to increase the screen resolution beyond 1440 x 900? The result I'm hoping for is one I can accomplish in Windows in that it creates a sort of virtual screen that becomes viewable when one moves the mouse pointer to that which i

  • Adobe Content Viewer Crashing

    Is anyone else having a problem with the newest version of Adobe Content Viewer crashing constantly? It crashes all the time for me. Sometimes after I download a folio update and go to view the folio, sometimes when I tap to download the upadte for a