CommitTrans of object _Connection failed
- From: "twdeveloper" <twdeveloper@xxxxxxxxxxxxx>
- Date: Thu, 21 Jul 2005 08:25:05 -0700
Hi,
I realise this probably isn't the best place for this post but there was no
Exchange newsgroup.
I am facing problem during Exchange Event (Sync/Async) Registration using
administrator a/c with all possible permission. This server machine
is not a domain controller.
I am using Exchange 2003, Exchange SDK June 2005, Windows 2003 Server
Standard Edition.
COM+ package gets created successfully.
But when I try to register event using "Exchange Explorer"
or regevent.vbs
(Microsoft Exchange Event Registration sample script) then I get error.
What permissions are necessary to create the event registration?
Most of the literature, including the books, assume that one has full
control over everything. That is not necessarily the case. As an Exchange
Application Developer, I might not be an Enterprise Administrator and a Full
Exchange Administrator, or even a server local administrator.
What are the minimum requirements???
I have one more exchange server also with Exchange 2003, Exchange SDK June
2005,
Windows 2003 Server. but event registration works fine on that server.?
1) When I try to register event using "Exchange Explorer", I get
following error:
"An error has occurred creating the registration item. Event sinks must be
registered as a COM+ Application prior to creating the registration event
item or there maybe issues connecting to the network or the server. Also
check the data for accuracy. ....."
2) When I try to register event using regevent.vbs (MS sample registration
script),
I used regevent.vbs script with following parameters.
C:\Program Files\Exchange SDK\SDK\Support\OLEDB\Scripts>cscript Regevent add
onsyncsave CalendarSink.SyncEvents
http://mydomain.com/exchange/mbx/administrator/calendar/testing
I get following error:
Error Commiting Transaction: -805306273
Above error appears in following code segment of regevent.vbs
cn.CommitTrans
If Err.Number <> 0 Then
WScript.Echo "Error Commiting Transaction : " & Err.Number &
Err.Description & vbCrLf
Exit Sub
End If
Using "Exchange Explorer" I saw that Event Registration entry does get
created. Although this entry has incorrect value for
"DAV:contentclass"
property.
3) I tried to debug the regevent.vbs code and I commented out transaction
related following code lines from script file.
cn.BeginTrans
cn.CommitTrans
Then I tried to register event with modified code of regevent.vbs, script
failed in following code while updating
"DAV:contentclass" property.
aPropValues(ndxContentClass) = "urn:content-class:storeeventreg"
..Update
If Err.Number <> 0 Then
WScript.Echo "Error Updating Props : " & Err.Number &Err.Description &
vbCrLf
Exit Sub
End If
Now Update method fails and following is error message"
Error Updating Props : 505 Invalid or unqualified reference
Using "Exchange Explorer" I saw that Event Registration gets
created, but
while updating "DAV:contentclass" property, script is failing.
I doubt whether it is a permission related error, because event registration
entry gets created and using "Exchange Explorer", I am able to modify
"DAV:contentclass" property of created event registration
to some random
junk value BUT when I try to set "DAV:contentclass"
property's value to
"urn:content-class:storeeventreg" (the one which it should
have) then I get
following 2 errors:-
You can not perform action on currently selected item.
Unable to put this property. Verify that all fields are correct. If that
does not work then verify that you have proper permissions to modify this
property.
I have spent lots of time on this problem. Please let me know why this
problem might be happening.
Thanks so much in advance.
.
- Follow-Ups:
- Re: CommitTrans of object _Connection failed
- From: Stephen Howe
- Re: CommitTrans of object _Connection failed
- Prev by Date: RE: Oracle Computed column datatype
- Next by Date: store proc not returning value
- Previous by thread: Copying access objects using .net
- Next by thread: Re: CommitTrans of object _Connection failed
- Index(es):
Relevant Pages
|
|