OnPublished Event Handler not getting picked-up?

W

winnes

Not my first server event handler, but this time can't get it to work on
production server (does work in development and acceptance)

Followed http://msdn.microsoft.com/en-us/library/ms469450.aspx
Did not forget about stopping eventing service, public key token is correct,
etc.

Environment is
- Windows Server 2008
- SQL Server 2005 (separate server)
- WSS3
- Project Server 2007

Errors in eventlog:

6658: SEP: Cannot create instance of the receiver class:
OnPublishedEventHandler, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=..., OnPublishedEventHandler.OnPublishedEventHandler
Exception: Exception has been thrown by the target of an invocation.

6662: EventHandler: \OnPublishedEventHandler, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=...,
OnPublishedEventHandler.OnPublishedEventHandler\ could not be loaded
 
K

krishna

ya i correctly deployed in GAC and iam passing connection string in a excel
sheet like Server=ISMOSS-Staging\ISMOSS-Staging;Initial
Catalog=ProjectServer_Reporting;User Id=sa; Password = pass@word is this
rite??

should i need to stop eventing service
 
S

Stephen Sanderlin [MVP]

You can try restarting the eventing service, though it shouldn't really
be necessary unless you're updating an assembly it already has loaded.

I don't have this problem on Win08...

As for your connection string, it looks weird... if you're using the
default instance you should be able to just set Server=ISMOSS-Staging
instead of Server=ISMOSS-Staging\ISMOSS-Staging.

--
Stephen Sanderlin, Project MVP
VP of Technology
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com
For Project Server Training: http://www.projectservertraining.com

Read our blog at: http://www.projectserverhelp.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top