Re: login OWA of Exchange 2007 using .NET2003



Hi Henning Krause,

First of all, thank you very much for your help.
I am now able to pass the 440 error, however at the line response =
(HttpWebResponse)request.GetResponse();
I find that the number of cookie received (response.Cookies.Count) is only
1, which the name is called "CookieTest" and the Value is 1 insteads of
should be 2 cookies received normally in Exchange 2003.

Thus still cannot login the Exchange 2007.

Do you have any idea?

Thanks.

Ginrai

"Henning Krause [MVP - Exchange]" <newsgroups_remove@xxxxxxxxxxxxxxxxx>
???????:%23QKTDtpXIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

you are working with the wrong path.

Exchange 2007 retains the same urls for accessing mailboxes as Exchange
2003: The /exchange folder.

/owa is now only used for OWA....

WebDAV uses /exchange.

Kind regards,
Henning Krause

"srw" <srw@xxxxxxxxx> wrote in message
news:eqiWsLmXIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I would like to access the path
https://147.8.145.152/owa

and I put the path
https://147.8.145.152/owa/owaauth.dll

in the ASP.NET program, which is on the same machine of exchange 2007.

Thanks.

Ginrai

"Henning Krause [MVP - Exchange]" <newsgroups_remove@xxxxxxxxxxxxxxxxx>
???????:uFOm3cgXIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I should have formulated my question more precise. Which url do you want
to access?

Kind regards,
Henning Krause

"srw" <srw@xxxxxxxxx> wrote in message
news:eB1QgMZXIHA.5180@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I use the path

https://SERVERNAME/owa/owaauth.dll

in function DoFormbasedAuthentication( )
I tried to paste the URL to the browser and it redirects to form based
login screen, so I think it should be correct.

Thanks.

Ginrai




"Henning Krause [MVP - Exchange]" <newsgroups_remove@xxxxxxxxxxxxxxxxx>
???????:Ol7GboTXIHA.5396@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

which path are you using with Exchange 2007?

Kind regards,
Henning Krause

"srw" <srw@xxxxxxxxx> wrote in message
news:uUg4WuNXIHA.1164@xxxxxxxxxxxxxxxxxxxxxxx
Dear all,

I've been using the code
http://blog.downtownsoftwarehouse.com/2006/10/26/using-net-and-webdav-to-access-an-exchange-server/

to write a .NET C# program to login OWA of 2003 and it works fine,
however, when I port the program to work on Exchange 2007 OWA, it
keeps on returning

The remote server returned an error: (440) Login Timeout. --->
System.Net.WebException: The remote server returned an error: (440)
Login Timeout. at System.Net.HttpWebRequest.GetResponse()

But I checked seems the paramater accept from OWA 2007 are still the
same as OWA 2003.

Does anyone know what's the problem?

Thank you for your help.

Ginrai










.



Relevant Pages

  • Re: "User must change password at next logon" not working in OWA
    ... For Windows 2003 (All versions of Exchange) ... is marked with "User must change password at next login". ... selected and a user is logging in through OWA, ... We have many users that do not authenticate directly to Active Directory ...
    (microsoft.public.exchange.admin)
  • Re: OWA Login page
    ... This is an issue that we are well aware of and have resolved in Exchange ... > any particular user) to login to thier mail accounts via OWA. ... > What must i do to clear the login window each time the OWA login is ...
    (microsoft.public.exchange2000.clients)
  • Re: "User must change password at next logon" not working in OWA
    ... files from the hotfix are installed with SP1, but the dll file is not ... following fixes have been applied to all Exchange servers:. ... an account is marked with "User must change password at next login". ... this is selected and a user is logging in through OWA, ...
    (microsoft.public.exchange.admin)
  • Re: login OWA of Exchange 2007 using .NET2003
    ... Actually the objective of my ASP.NET program is to login the FBA page ... then I will implant the cookies returned to the user's browser, ... it seems it has already logined the OWA. ... // implant the cookies returned from exchange server to user's browser ...
    (microsoft.public.exchange.development)
  • Re: "User must change password at next logon" not working in OWA
    ... I totally missed this hotfix. ... following fixes have been applied to all Exchange servers:. ... account is marked with "User must change password at next login". ... is selected and a user is logging in through OWA, ...
    (microsoft.public.exchange.admin)

Loading