Web Service can seem to access Exchange Server 2000!

Web Service can seem to access Exchange Server 2000!

Post by Usman Sham » Fri, 11 Jul 2003 20:58:11



Hie,

I have developed some codes both in C# and VB using CDO
and ADO,which work perfectly fine in a windows
application, but they donot seem to work in a web services
application.
I am using the .NET platform with win 2k server and
exchange 2k server, with service  pack 2.

The small code part is as follows(which works okay in a
windows application but not in a web service web method Is
it that web services cant access the exchange server or is
my machine security/settings policies need to be
changes???);

ADODB.Connection EmailCon=new ADODB.Connection();
EmailCon.Provider ="ExOLEDB.Datasource";
ADODB.Record EmailRec=new ADODB.RecordClass();
ADODB.Recordset EmailRs=new ADODB.RecordsetClass ();
string strInboxQuery,strURLInbox, strURLMailbox,
strUserName,strPassword;
ADODB.Fields Flds;
ADODB.Field Fld;
strUserName="admin";
strPassword="adminpass";
strURLMailbox="file://./backofficestorage/mytestdomain.com/
MBX/" + strUserName;
//THROWS EXCEPTION HERE
EmailCon.Open(strURLMailbox,strUserName,strPassword,0);

 
 
 

1. Remote and/or web access to ms 2000/exchange server

i have a newly installed ms 2000 advanced server install.

the server also serves as the corporations ms exchange
2000 server.

my userbase would like to access email and files/folders
remotely...via the web.

what options do i have here?

RAS?...

configure IIS for an intranet accessible via the web?...

VPN?...

cost is a factor...but, they also want at least "decent"
performance.

i would assume that option two mentioned above would be
my best option.

can you point me to any tools or articles as to the best
way to implement the remote/web access that is needed?

thank you...

2. Enhanced Exchange 2003 ADC Features

3. Exchange 2000 Outlook Web Access and .net Standard Server Beta 3 Build 3604

4. MS Exchange

5. Outlook Web Access for two Exchange 2000 Servers

6. How to change the service account ????

7. change password in outlook web access in exchange 2000 server

8. Problem while sending to/from local mailboxes

9. Outlook Web Access for two Exchange 2000 Servers

10. Exchange Server 2000 and Outlook Web Access

11. Outlook Web Access Exchange 2000 and Netscape Proxy server

12. Outlook Web Access for two Exchange 2000 Servers

13. Exchange Server 2000 and Outlook Web Access