cancel
Showing results for 
Search instead for 
Did you mean: 

Exchange Integration with MSX-A on a Windows 2003 Server

Former Member
0 Kudos

Hi

We try to integrate Microsoft Exchange (Version 2003 SP1) into SAP Enterprise Portal 6.0 SR1. The MSX-A components are installed on the OWA System, a different Windows 2003 System with Outlook XP (SP3) on it.

The error displayed in the Calendar iView on the Portal:

"An internal error occurred while generating the XML from the MSX-A component"

From the "SAP EP Test Exchange Transport Setup" Tool an error occures on the "Data Retrieval" Test:

"An error occurred retrieving the data."

and in detail:

MAPI_E_LOGON_FAILED(80040111)

MS KBase http://support.microsoft.com/kb/181739/en-us didn't help. To resolution 3: Policy "Log on Locally" on a Windows 2003 doesn't exist anymore (?). "Deny Log on Locally" isn't given to relevant groups.

Thanks and best regards

Nicolaj

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi, I have the same problem.

When I try to execute the test data retrieval from SAPPXchTest.exe, system response is this error.

-


BEGIN 04/03/2008 11:03:02----


URL: HTTPS://lubcs18.pruebas.dominio.net:443/SAPExchange/Calendar.asp

URL Parameters: Server=lubcs18.pruebas.dominio.net&Alias=usuario1@pruebas.dominio.net&Action=READ&StartDate=200801291054&EndDate=200801301054&Email=usuario1@pruebas.dominio.net&Debug=true

An error occurred retrieving the data.

Reponse: <font face="Arial" size=2>

<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>

<p>

<font face="Arial" size=2>Object required</font>

<p>

<font face="Arial" size=2>/SAPExchange/Calendar.asp</font><font face="Arial" size=2>, line 101</font>

-


END 04/03/2008 11:03:02----


Any ideas??

Former Member
0 Kudos

Hi,

I have the same merror message as your one.

URL: HTTPS://lubcs18.pruebas.dominio.net:443/SAPExchange/Calendar.asp

URL Parameters: Server=lubcs18.pruebas.dominio.net&Alias=usuario1@pruebas.dominio.net&Action=READ&StartDate=200801291054&EndDate=200801301054&Email=usuario1@pruebas.dominio.net&Debug=true

An error occurred retrieving the data.

Reponse:

Microsoft VBScript runtime error '800a01a8'

Object required

/SAPExchange/Calendar.asp, line 101

Have you find an issue ?

Thanks in advance..

Fabien

Former Member
0 Kudos

Dear all,

as my fellow collegues have stated, I also get the same error while connecting to Exchange Server 07 via the Test Tool.

The error-logfile tells me:

An error occurred retrieving the data.

Reponse: <font face="Arial" size=2>

<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>

<p>

<font face="Arial" size=2>Object required</font>

<p>

<font face="Arial" size=2>/Calendar.asp</font><font face="Arial" size=2>, line 105</font>

SO again, the Object not found error

What can I do to resolve this Problem?

Best Regards,

Benedikt

andrey_timofeev2
Explorer
0 Kudos

I resolve "Object required" issue.

The problem was in 32 bit mode enable for IIS.

Detailed steps you can find in sap note:

1535816 - Troubleshooting Live Installation of Nakisa on a 64 bit environment

I hope this information will be helpful.

Former Member
0 Kudos

>>Test tool says "Microsoft Outlook is not configured Corporate/Workgroup Access. Reconfigure Microsoft Outlook and try again."

This is a bug in the test tool. Just configure the Outlook to access the exchange server and bypass this step of test tool.

For SSO from EP to Exchange Server please follow below links:

https://www.sdn.sap.com/irj/sdn/thread?threadID=165363

https://www.sdn.sap.com/irj/sdn/thread?threadID=315469

Warm Regards,

Venkatesh

Former Member
0 Kudos

Hi all,

I have problems with this tool too.

We've created an IIS site in a windows 2003 server, with Outlook 2003 (with the CDO package). I've configured an outlook profile for my domin user wich is in the adminitrators local group.

When i execute a SAPPXchTest and run CDO Version test the app shows the following error:

Microsoft Outlook is not configured for coroporate/workgroup access. Reconfigured Microsoft Outlook and try again.

What could be the problem?

Thanks and best regards

Regards

Former Member
0 Kudos

Hi Juan,

I know that this error comes simtetimes in my test, but I don't now in detail what the solution was for it.

But Why did you use a website instead a virtual directory as described in the docs.

Did you use kerberos above the portal ?

Did you use the right exchange transport dll ?

Have you restart the iis website for your exchange ?

Best regards

Thorsten

Former Member
0 Kudos

hi All

i am illustrating the process of integration the central notes to be referred and constraints .hope this definitely helps you please do not forget to give full points for this effort

with regards

subrato kundu

<b>Process</b>

Microsoft outlook Integration With SAP Enterprise Portal 6.0

(Process description)

These documents describe the entire process of integrating Exchange server with enterprise portal server to leverage the usage of lotus notes within the portal framework.

Step1: Create a System

o Choose System Administration&#61664;System configuration&#61664;System Landscape&#61664;Portal Content&#61664;Content Provided by SAP. Right click on collaboration and then choose New From Par&#61664;System.

o Select com.sap.netweaver.col.app.gw and choose next.

o Select a server (Microsoft Exchange server) and then choose next.

o Enter the System Name and ID (for ex Exchange) and choose next and then finish.

o Enter System Aliases by choosing system Alias from the display drown list.

o Enter the system Alias in the alias field and choose add and then save.

Step II: Create E-Mail Transport

&#61607; The email transport defines the SMTP server and other configuration required for sending e-mails. To configure an e-mail transport choose

&#61607; System Administration&#61664;System Configuration&#61664;Knowledge Management&#61664;Collaboration&#61664;GroupWare Transports&#61664;Mail Transport

&#61607; SMTP Sever: The address of the SMTPServer for sending e-mails

&#61607; Sent Messages: You specify the folder on the server where the sent e-mail is to be store: -Sent Items on Microsoft Exchange Server.

&#61607; System Alias name: Alias that was defined for the groupware server in system configuration.

Step III: Check E-Mailing Service

This is a global service that is required for sending e-mails and which can be located by choosing System Administration&#61664;System configuration&#61664;Knowledge Management&#61664;Content Management&#61664;Global services&#61664;Mailing Service. This service needs to be active and an email transport must already have been created.

Microsoft Exchange Transports

The overall transport consists of two parts: MSX-J on the portal server and the MSX-A on the Exchange Server or a machine near to the Exchange Server.

MSX-J is the java part that runs on the portal server is deployed automatically on the portal server during installation, and implements the groupware API.It uses the Groupware APIs and repository development kit.

MSX-A is the active server page and sap exchange connector.dll running on a n iis server with Microsoft Collaboration data objects (CDO) and in the same domain as the exchange server or in a trusting domain .The ASP and DLL are Collectively CALLED MSX-A and is installed as part of the Outlook Installation. This needs to be installed on every IIS SERVER dedicated to the MS Exchange Server

The Process flow is

1.TheMSX_J transport makes an HTTP(s) call to the MSX_A running on the IIS.

2.Microsoft Internet Information Server (IIS) uses Basic Authentication to authenticate user based on NT user/password against the Microsoft Exchange Server.

3.CDO uses the authentication token and fetches the data.

4.MSX-A converts the data into XMl and returns it to MSX-J

Installation of MSXA Components

You have to carry out these steps for every IIS that accesses the exchange server or the Outlook WEB Access 5.5 SP Server in the system landescape:

1.Locate the MSX-A component shipped with Exchange transport.

The components can be found in<irj>\root\WEB-INF\PORTAL\PORTALAPPS\com.sap.netweaver.coll.appgw\WEB –INF\external\Exchange.

2 Locate an IIS that is in the same domain as the Exchange Server or in a trusted domain.

3.Create a folder on the IIS for example,c:\SAPExchangeTransport.

4.Copy the MSX-A Components to the folder you just created.

5.Register the DLL by using command regsrvr32 in the command prompt for example c:\winnt\sysytem32\regsvr32.exe c:\SAPExchangeTransport\SapExchangeConnector.dll

6.Create a new Iis Website or if using Outlook Web Access 5.5 sp4 create a virtual directory

Since most of configuration errors arise in the setup and configuration of the MSX-A components a separate test application is shipped with the connectivity, which allows you to check that the setup is correct.

1.locate SAPPXchTest.exe which is shipped with the exchange transports.The components can be found at <irj>\root\portalapps\com.sap.netweaver.coll.appl.gw\external\exchange.

2 copy the executable file to the machine on which the MSX-A component has been deployed.

3.Test the CDO version by launching the executable file on the machine on which msx-a was deployed.Choose Test CDO-Version .You should receive a success message .if you recive an error message follow the instructions given

4Test data retrieval by launching the executable file on the machine on which MSX-A was deployed choose Test&#61664;Data Retrieval Fill in necessary fields you should receive a success message but if you receive an error message follow the instructions given

5.Choose Save Results

6.open the log file indicted by the message

<b>Notes</b>

0000801234 Additional attachment in room created appointments

0000788151 Post Installation Steps for Groupware after an upgrade

0000763062 Problem creating an appointment with attachment

0000738965 E-mail address is mandatory for Groupware Integration

0000736644 Mandatory Steps for MS Exchange Integration

0000736541 Support information for MS Exchange Integration

0000732911 Integrating Outlook Web Access in Enterprise Portal 6.0

0000712902 SSO to Outlook web access using user/password does not work

<b>Constraints</b>

Constraints of Microsoft Exchange Connectivity

&#61607; The Microsoft Exchange transport currently only support items with types appointment and meeting request .Other types such as discussion and not currently not supported.

&#61607; Deleting an instance of a recurring appointment affects only that particular instance

&#61607; Calendar items in personal folder are not supported. Users can only view and modify items located on the exchange server from the iviews

&#61607; Public folders on the exchange server are not supported

&#61607; Calendar items are delivered as such if sent to recipients within the intranet .If the recipients is in different domain than the sender ,the format in which the items are delivered depends on the server responsible for sending the item in question

Former Member
0 Kudos

Hi Subrato,

Great posted!! but I had already done all that. The problem i am having right now is when i tried to created an appointment calendar under Home->Work

I gets an error message:

"An internal error occurred while generating the XML from the MSX-A component"

Thanks again,

David

Former Member
0 Kudos

Hi Nicolaj,

Did you manage to figure out what was the problem? Because i am having the same issue.

Thanks for your feedback,

David

Former Member
0 Kudos

Hi Nicolaj,

now I've the same problems with our new Exchange 2003, the test tool response, call the calendar iview in portal i got the response error while read write IIS. The MSX-A Component are installed on the exchangeserver and owa works fine with kerberos.

Have you solved the problem ?

Thanks for info

Best regards

Thorsten Stracke

Former Member
0 Kudos

Hello,

Did you ever solve your problem? If yes what was causing the problem?

Thanks,

David

Former Member
0 Kudos

Hi Thorsten,

Thanks for your response in the email. We received an error message when we tried to access the calendar under Home-work-Calendar.

The error displayed in the Calendar iView on the Portal:

"An internal error occurred while generating the XML from the MSX-A component.

We are running

MS Outlook 2003 front end

Backend 2000 Exchange Server

Here what we had done so far:

1. installing MS outlook and the MSX-component and registered dll.

2. setup IIS with corrected permissions, but when we ran the test using SAPXchtest.exe we are not getting the correct resulted as indicated in the documentation. Somehow is looking for Calendar.asp? Do we have to copy the calendar.asp and put it in the wwwroot directory?

Your help is greatly appreciated,

David

Former Member
0 Kudos

Hi David,

I'm not a expert, but today I was a little bit more on the way to the finish.

Until now I try to connect with sso, owa works with sso, but the calendar didn`t do so. Now I changed the connection to basic authentication and after a while it works with the test tool and after correct mapping also in the portal.

So please tell me have you ever test without sso?

Which Portal SP did you use

Is the msx-a on the exchangeserver installed ?

What error message did you got when you start to test with kerberos sso.

Because you got an other error as when i try to test the connection in my portal the calendar told me write read error for iis, but my user has all rights.

The calender.asp must placed in the sapexchangetransport directory.

Have you checked the sap note 736541 there is a zip file attached, where some screenshots are in it how it must works. Not by me, hope you find something for your system.

Please note that for sp16 you must use a new dll, there is a note for this.

Best regards

Thorsten

Former Member
0 Kudos

Hello Thorsten,

Thanks for your response. where is the calendar.asp located? the calendar.asp is not in the that directory right now. I was trying to locate that calendar, but i did not know where is located?

Thanks for your help,

David

Former Member
0 Kudos

Hi David,

ok when the calendar.asp isn't in the created exchangetransport directory on the iis what is in it ?

Please copy the files do you find in

<irj>\root\portalapps\com.sap.netweaver.coll.appl.gw\WEB-INF\external\exchange

in your transport directory, if you have sp16 please use the new dll. to update the dll see note 788151.

root can you find under

e.G. <LW>:\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\

For SP 14 up to 16 and Exchange 2003 sp2 use the dll from note 930356.

Best regards

Thorsten

Message was edited by: Thorsten Stracke

Former Member
0 Kudos

Hi Thorsten,

After copying the calendar.asp to the directory, I received an error message when tried to run the test tool. Any ideas?

Resulted after the test below

-


BEGIN 04/26/2006 12:55:00 PM----


URL: HTTP://sapepd01.corp.commenergy.com:80/SAPExchangeTransport/Calendar.asp

URL Parameters: Server=SAPXCH10.corp.commenergy.com &Alias=dnguyen@alleghenypower.com&Action=READ&StartDate=200604181628&EndDate=200604191628&Email=dnguyen@alleghenypower.com&Debug=true

An error occurred retrieving the data.

Reponse: <font face="Arial" size=2>

<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>

<p>

<font face="Arial" size=2>Object required: 'dictionaryTMZ'</font>

<p>

<font face="Arial" size=2>/SAPExchangeTransport/sessionhandler.inc</font><font face="Arial" size=2>, line 20</font>

-


END 04/26/2006 12:55:00 PM----


Former Member
0 Kudos

Hi David,

last month I had the same error in my logfile, but I don't yet what I changed in detail after this error.

What did you insert in the test tool screen.

Have you restart the iis or website after change the asp. Is the dll registered on this server ? Has all users Full access to the Folder where the transportfiles are stored in. Aditinal the user how want to start must have log on localy rights, as lokal admin.

Have you test with sso or basic authentication.

What did you entered for the system in the portal with or without mapping parameters ?

Best regards

Thorsten

Former Member
0 Kudos

Hi Thorsten,

Thanks for your help. After copying the calendar.asp re-registered dll and restart the IIS, it's now up and running with no error.

The next thing I want to do is enabled Kerberos SSO with OWA. Can you give me some guidance.

Thanks again,

David

Former Member
0 Kudos

Hi David,

thats seem to be fine.

For SSO

Follow the dokumentation SSO22KerbMap find the Download path in 735639

SAP Note 922040 Single Sign-On for Exchange Transport

SAP Note 735639 Installation SSO Kerberos

I've a short list but that is in german, so i must translate it so better you look at the notes and the pdf. You must download the executables and ini files from SAP Net.

Best regards

Thorsten