Click here to Skip to main content
15,167,809 members
Home / Discussions / C#
   

C#

 
Questionconvert xdocument to integer Pin
rachel_m11-Sep-12 13:16
Memberrachel_m11-Sep-12 13:16 
AnswerRe: convert xdocument to integer Pin
Pete O'Hanlon11-Sep-12 13:22
mvaPete O'Hanlon11-Sep-12 13:22 
GeneralRe: convert xdocument to integer Pin
rachel_m11-Sep-12 17:04
Memberrachel_m11-Sep-12 17:04 
GeneralRe: convert xdocument to integer Pin
Eddy Vluggen11-Sep-12 21:55
professionalEddy Vluggen11-Sep-12 21:55 
GeneralRe: convert xdocument to integer Pin
rachel_m12-Sep-12 5:44
Memberrachel_m12-Sep-12 5:44 
GeneralRe: convert xdocument to integer Pin
PIEBALDconsult13-Sep-12 4:29
professionalPIEBALDconsult13-Sep-12 4:29 
GeneralRe: convert xdocument to integer Pin
Pete O'Hanlon11-Sep-12 23:16
mvaPete O'Hanlon11-Sep-12 23:16 
QuestionCOM+ Event System Pin
Member 813710511-Sep-12 12:40
MemberMember 813710511-Sep-12 12:40 
There was an article written by Roman Kiss that a former co-worker used as a basis for our software.

Using the COM+ Event System service in the .Net Application.[^]

This was back when Windows XP was popular, now when I take this code and try to run it in Windows 7 I get a bunch of access denied errors on the registry keys in the article. I can get around this by editing the registry and taking ownership away from TrustedInstaller and giving it to Administrators and then giving permissions where needed.

The problem is it still does not work after this. I also tried upgrading everything to .net 4 but that did not change anything. I need to get this working so I can upgrade our software from Windows XP to 7 and then move everything into .net 4.

The problem I notice in debugging is that the Subscriber Write method never actually gets called.

When registering EventClass.dll the first error I get is access denied on {4E14FBA2-2E22-11D1-9964-00C04FBBB345}. If I take ownership of this I then get errors on the next one in line, once I cover all those I just get and OLE HRESULT error (can't remember exactly) at this point I had to do some major digging to get at the right registry keys to make EventClass.dll register.

I had to change all of the following registry keys:

• CLSID
o 4E14FBA2-2E22-11D1-9964-00C04FBBB345
o 7542E960-79C7-11D1-88F9-0080C7D771BF
o 00020420-0000-0000-C000-000000000046
o 00020421-0000-0000-C000-000000000046
o 00020422-0000-0000-C000-000000000046
o 00020423-0000-0000-C000-000000000046
o 00020424-0000-0000-C000-000000000046
o 00020425-0000-0000-C000-000000000046
• Interface
o 4E14FB9F-2E22-11D1-9964-00C04FBBB345
o 4A6B0E15-2E38-11D1-9965-00C04FBBB345
o 4A6B0E16-2E38-11D1-9965-00C04FBBB345
o 64B8F404-A4AE-11D1-B7B6-00C04FB926AF
o B5A1729E-B721-3121-A838-FDE43AF13468
• HKLM\Software\Classes\TypLib
o 4E14FB90-2E22-11D1-9964-00C04FBBB345

Don't necessarily concern yourself with these keys there may be a better way.

If anyone can make this work or has ideas on how to make it work I would really appreciate your help.

Thank you,

Brett
AnswerRe: COM+ Event System Pin
Bernhard Hiller11-Sep-12 21:24
MemberBernhard Hiller11-Sep-12 21:24 
Question.Net Validation Pin
rmorton11-Sep-12 9:45
Memberrmorton11-Sep-12 9:45 
Answeroracle exception Pin
yaswanth00111-Sep-12 8:19
Memberyaswanth00111-Sep-12 8:19 
AnswerRe: oracle exception Pin
Andrei Straut11-Sep-12 8:28
MemberAndrei Straut11-Sep-12 8:28 
AnswerRe: oracle exception Pin
Abhinav S11-Sep-12 8:56
MemberAbhinav S11-Sep-12 8:56 
GeneralRe: oracle exception Pin
Pete O'Hanlon11-Sep-12 8:58
mvaPete O'Hanlon11-Sep-12 8:58 
QuestionError Logging Pin
CodingYoshi11-Sep-12 4:26
MemberCodingYoshi11-Sep-12 4:26 
AnswerRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 4:47
mvaPete O'Hanlon11-Sep-12 4:47 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 4:53
MemberCodingYoshi11-Sep-12 4:53 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 5:07
mvaPete O'Hanlon11-Sep-12 5:07 
AnswerRe: Error Logging Pin
Eddy Vluggen11-Sep-12 6:18
professionalEddy Vluggen11-Sep-12 6:18 
AnswerRe: Error Logging Pin
Abhinav S11-Sep-12 8:50
MemberAbhinav S11-Sep-12 8:50 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 14:57
MemberCodingYoshi11-Sep-12 14:57 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 23:17
mvaPete O'Hanlon11-Sep-12 23:17 
QuestionHow to control mediaelement from the server terminal? Pin
ylchau11-Sep-12 0:10
Memberylchau11-Sep-12 0:10 
AnswerRe: How to control mediaelement from the server terminal? Pin
Pete O'Hanlon11-Sep-12 0:19
mvaPete O'Hanlon11-Sep-12 0:19 
GeneralRe: How to control mediaelement from the server terminal? Pin
ylchau11-Sep-12 17:27
Memberylchau11-Sep-12 17:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.