 |
|
|
|
| Author |
Message |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Tue Jan 22, 2008 10:45 pm Post subject: login OWA of Exchange 2007 using .NET2003 |
|
|
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
Archived from group: microsoft>public>exchange>development |
|
| Back to top |
|
 |
Lee Derbyshire [MVP]
Joined: 05 Aug 2007 Posts: 363
|
Posted: Tue Jan 22, 2008 6:23 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
"srw" wrote in message @TK2MSFTNGP02.phx.gbl...
> 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
The 440 response suggests that you have Forms-based Authentication enabled.
I haven't seen the E2007 synthetic FBA login documented anywhere yet, but it
is similar to E2003's:
http://support.microsoft.com/kb/891748
Lee.
--
______________________________________
Outlook Web Access For PDA , OWA For WAP
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
______________________________________ |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Wed Jan 23, 2008 3:02 am Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
Hello,
which path are you using with Exchange 2007?
Kind regards,
Henning Krause
"srw" wrote in message @TK2MSFTNGP02.phx.gbl...
> 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
> |
|
| Back to top |
|
 |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Wed Jan 23, 2008 8:39 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
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]"
???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
> Hello,
>
> which path are you using with Exchange 2007?
>
> Kind regards,
> Henning Krause
>
> "srw" wrote in message
> @TK2MSFTNGP02.phx.gbl...
>> 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
>>
> |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Thu Jan 24, 2008 3:30 am Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
Hello,
I should have formulated my question more precise. Which url do you want to
access?
Kind regards,
Henning Krause
"srw" wrote in message @TK2MSFTNGP06.phx.gbl...
> 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]"
> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>> Hello,
>>
>> which path are you using with Exchange 2007?
>>
>> Kind regards,
>> Henning Krause
>>
>> "srw" wrote in message
>> @TK2MSFTNGP02.phx.gbl...
>>> 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
>>>
>>
>
> |
|
| Back to top |
|
 |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Thu Jan 24, 2008 9:27 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
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]"
???????:uFOm3cgXIHA.3940@TK2MSFTNGP05.phx.gbl...
> Hello,
>
> I should have formulated my question more precise. Which url do you want
> to access?
>
> Kind regards,
> Henning Krause
>
> "srw" wrote in message
> @TK2MSFTNGP06.phx.gbl...
>> 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]"
>> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>>> Hello,
>>>
>>> which path are you using with Exchange 2007?
>>>
>>> Kind regards,
>>> Henning Krause
>>>
>>> "srw" wrote in message
>>> @TK2MSFTNGP02.phx.gbl...
>>>> 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
>>>>
>>>
>>
>>
> |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Thu Jan 24, 2008 9:10 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
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" wrote in message @TK2MSFTNGP06.phx.gbl...
> 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]"
> ???????:uFOm3cgXIHA.3940@TK2MSFTNGP05.phx.gbl...
>> Hello,
>>
>> I should have formulated my question more precise. Which url do you want
>> to access?
>>
>> Kind regards,
>> Henning Krause
>>
>> "srw" wrote in message
>> @TK2MSFTNGP06.phx.gbl...
>>> 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]"
>>> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>>>> Hello,
>>>>
>>>> which path are you using with Exchange 2007?
>>>>
>>>> Kind regards,
>>>> Henning Krause
>>>>
>>>> "srw" wrote in message
>>>> @TK2MSFTNGP02.phx.gbl...
>>>>> 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
>>>>>
>>>>
>>>
>>>
>>
>
> |
|
| Back to top |
|
 |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Tue Jan 29, 2008 5:11 pm Post subject: 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]"
???????:%23QKTDtpXIHA.1208@TK2MSFTNGP03.phx.gbl...
> 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" wrote in message
> @TK2MSFTNGP06.phx.gbl...
>> 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]"
>> ???????:uFOm3cgXIHA.3940@TK2MSFTNGP05.phx.gbl...
>>> Hello,
>>>
>>> I should have formulated my question more precise. Which url do you want
>>> to access?
>>>
>>> Kind regards,
>>> Henning Krause
>>>
>>> "srw" wrote in message
>>> @TK2MSFTNGP06.phx.gbl...
>>>> 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]"
>>>> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>>>>> Hello,
>>>>>
>>>>> which path are you using with Exchange 2007?
>>>>>
>>>>> Kind regards,
>>>>> Henning Krause
>>>>>
>>>>> "srw" wrote in message
>>>>> @TK2MSFTNGP02.phx.gbl...
>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
> |
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Joined: 05 Aug 2007 Posts: 142
|
Posted: Tue Jan 29, 2008 1:42 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
Hi,
If you get pass the Login-Timeout error you don't need to worry about any
cookies - they are only used for FBA.
Kind regards,
Henning Krause
"srw" wrote in message
news:%23IahS0iYIHA.1132@TK2MSFTNGP06.phx.gbl...
> 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]"
> ???????:%23QKTDtpXIHA.1208@TK2MSFTNGP03.phx.gbl...
>> 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" wrote in message
>> @TK2MSFTNGP06.phx.gbl...
>>> 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]"
>>> ???????:uFOm3cgXIHA.3940@TK2MSFTNGP05.phx.gbl...
>>>> Hello,
>>>>
>>>> I should have formulated my question more precise. Which url do you
>>>> want to access?
>>>>
>>>> Kind regards,
>>>> Henning Krause
>>>>
>>>> "srw" wrote in message
>>>> @TK2MSFTNGP06.phx.gbl...
>>>>> 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]"
>>>>>
>>>>> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>>>>>> Hello,
>>>>>>
>>>>>> which path are you using with Exchange 2007?
>>>>>>
>>>>>> Kind regards,
>>>>>> Henning Krause
>>>>>>
>>>>>> "srw" wrote in message
>>>>>> @TK2MSFTNGP02.phx.gbl...
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
> |
|
| Back to top |
|
 |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Tue Jan 29, 2008 10:23 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
Hi,
Sorry that may be my description is unclear before.
Actually the objective of my ASP.NET program is to login the FBA page
automatically. (i.e simulate user login)
Thus in the .NET program, I tried to pass the username and password to the
owaauth.dll,
then it returns 2 cookies to my ASP.NET program if all goes correct, and
then I will implant the cookies returned to the user's browser, so to the
client, it seems it has already logined the OWA.
The code is like below:
=============================================
CookieCollection mycookiecollection;
try
{
mycookiecollection=
DoFormbasedAuthentication("https://147.8.145.152/exchange",credentials);
/*
DoFormbasedAuthentication is the function that will pass the credentials to
the owaauth.dll and return back the cookies throw by exchange server
*/
}
catch(Exception esx)
{
Response.Write(esx.ToString());
return;
}
// implant the cookies returned from exchange server to user's browser
foreach (System.Net.Cookie mycookie in mycookiecollection)
{
System.Web.HttpCookie httpcookie = new
System.Web.HttpCookie(mycookie.Name,mycookie.Value);
Response.Cookies.Add(httpcookie);
}
// finally redirect to the first page so that the user is already logined
because there is already cookie implanted to his browser
Response.Redirect("https://147.8.145.152/exchange",true);
===============================================
The program I am facing now is that there is only 1 cookie returned which
the name is called "CookieTest" and the Value is 1.
And I still cannot login exchange 2007 after redirect the URL at the last
line, and this program works in 2003 before.
(P.S. The FBA is "on" at this server, also if the whole program is needed,
I can also post here)
Thank you very much ~
Ginrai
"Henning Krause [MVP - Exchange]"
???????:%23xxT2pkYIHA.4440@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> If you get pass the Login-Timeout error you don't need to worry about any
> cookies - they are only used for FBA.
>
> Kind regards,
> Henning Krause
>
> "srw" wrote in message
> news:%23IahS0iYIHA.1132@TK2MSFTNGP06.phx.gbl...
>> 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]"
>> ???????:%23QKTDtpXIHA.1208@TK2MSFTNGP03.phx.gbl...
>>> 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" wrote in message
>>> @TK2MSFTNGP06.phx.gbl...
>>>> 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]"
>>>> ???????:uFOm3cgXIHA.3940@TK2MSFTNGP05.phx.gbl...
>>>>> Hello,
>>>>>
>>>>> I should have formulated my question more precise. Which url do you
>>>>> want to access?
>>>>>
>>>>> Kind regards,
>>>>> Henning Krause
>>>>>
>>>>> "srw" wrote in message
>>>>> @TK2MSFTNGP06.phx.gbl...
>>>>>> 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]"
>>>>>>
>>>>>> ???????:Ol7GboTXIHA.5396@TK2MSFTNGP02.phx.gbl...
>>>>>>> Hello,
>>>>>>>
>>>>>>> which path are you using with Exchange 2007?
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> Henning Krause
>>>>>>>
>>>>>>> "srw" wrote in message
>>>>>>> @TK2MSFTNGP02.phx.gbl...
>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
> |
|
| Back to top |
|
 |
srw
Joined: 05 Aug 2007 Posts: 7
|
Posted: Wed Jan 30, 2008 10:06 pm Post subject: Re: login OWA of Exchange 2007 using .NET2003 |
|
|
Hi,
There is an update.
I am now able to have 1 cookie returned which the name is called
"UserContext" when I port the program to Exchange server 2007.
But it should be incorrect as in Exchange 2003, the cookies returned should
be 2 and the name should be "sessionid" and "cadata" correspondingly.
Please advise. Many thanks.
Ginrai
|
|
| Back to top |
|
 |
|
|
| Related Topics: | owa 2007 login page . changing language dynamically lets say i have customized the logon page and i want it to display different languages depending on the host name. how would i go about doing that? i have tried changing the culture in the current thread, but it does not appear to work. i have noticed tha
WebDav FBA SOAP and 440 Login timeout Information Only - Maybe this tidbit is useful to someone..... I am the IT manager for a small company with 25 employees. I have SBS 2003. Problem: Need to create a web service to get a public calendar into an XML document for publishing to the web. Not
Exchange 2007 SP1 SDK Hi all, I installed a few days ago Exchange 2007 SP1 SDK on 64-bit machine with 64-bit Exchange 2007 installed. I wanted to learn how transport agents for Exchange 2007 work. So I built, installed and started an SDK sample named However,
Exchange 2007 and WebDAV Hi, I have an application that talks to Exchange using WebDAV. It seems to break at some customer sites because the URL seems to be instead of What do I need to change on the exchange server to repli
How do you enable impersonation in Exchange 2007? We are writing an app that needs to write to a users calendar. How do I enable I looked at the and the objects. I get an error message at runtime. I am not an Exchange Adminstrator but I can let t |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|