Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Scheduler > Exchange 2003 as datasource

Not answered Exchange 2003 as datasource

Feed from this thread
  • Posted on Jun 9, 2009 (permalink)

    Requirements

    RadControls version

    2009.1 527 (May 27, 2009)

    .NET version

    3.5

    Visual Studio version

    2008

    programming language

    C#

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    This small project show you how to connect to Exchange 2003 via Webdav. All the connections are made in classes and returns object that can bind to the scheduler. Change the appsettings in webconfig file and you should be able to runt this project. You must have a user that has access to all calendars. If you want to use the users login credentials the code can easaly be changed for that.

    You must also have access to Active Directory to get mailadress information.

    Reply

  • Karl Master avatar

    Posted on Sep 23, 2009 (permalink)

    Hi Andreas,

    I was wondering if you could help me, I've spent 2 days lookin at this and can't seem to get around this error. I keep getting the below error on this line . I'm using my own login details and trying to access my own calendar.

    response = (

    HttpWebResponse)request.GetResponse();
    Any ideas? Many thanks

     

     

    :-

    The remote server returned an error: (401) Unauthorized.

    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.Net.WebException: The remote server returned an error: (401) Unauthorized.

    Source Error:

    Line 167:            catch (Exception ex)
    Line 168:            {
    Line 169: throw ex;Line 170:            }
    Line 171:

    Source File: c:\Inetpub\wwwroot\RadScheduer\App_Code\App_Classes\Exchange\Folder.cs    Line: 169

    Stack Trace:

    [WebException: The remote server returned an error: (401) Unauthorized.]
       ExchangeAPI.Folder.GetKnownFolders(String netlogon) in c:\Inetpub\wwwroot\RadScheduer\App_Code\App_Classes\Exchange\Folder.cs:169
    

    Reply

  • Tsvetomir Tsonev Tsvetomir Tsonev admin's avatar

    Posted on Oct 6, 2009 (permalink)

    Hi,

    We can't really test this, but here's an idea - Exchange 2003 seems to disable Basic Authentication when Forms Authentication is enabled. Perhaps you can use the workaround described here:

    http://blogs.msdn.com/webdav_101/archive/2008/02/01/how-webdav-use-basic-authentication-with-webdav-even-when-fba-is-enabled.aspx

    Greetings,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > Scheduler > Exchange 2003 as datasource