Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
Questionconvert xdocument to integer Pin
rachel_m11-Sep-12 12:16
rachel_m11-Sep-12 12:16 
AnswerRe: convert xdocument to integer Pin
Pete O'Hanlon11-Sep-12 12:22
mvePete O'Hanlon11-Sep-12 12:22 
GeneralRe: convert xdocument to integer Pin
rachel_m11-Sep-12 16:04
rachel_m11-Sep-12 16:04 
GeneralRe: convert xdocument to integer Pin
Eddy Vluggen11-Sep-12 20:55
professionalEddy Vluggen11-Sep-12 20:55 
GeneralRe: convert xdocument to integer Pin
rachel_m12-Sep-12 4:44
rachel_m12-Sep-12 4:44 
GeneralRe: convert xdocument to integer Pin
PIEBALDconsult13-Sep-12 3:29
mvePIEBALDconsult13-Sep-12 3:29 
GeneralRe: convert xdocument to integer Pin
Pete O'Hanlon11-Sep-12 22:16
mvePete O'Hanlon11-Sep-12 22:16 
QuestionCOM+ Event System Pin
Member 813710511-Sep-12 11:40
Member 813710511-Sep-12 11: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 20:24
Bernhard Hiller11-Sep-12 20:24 
Question.Net Validation Pin
rmorton11-Sep-12 8:45
rmorton11-Sep-12 8:45 
Answeroracle exception Pin
yaswanth00111-Sep-12 7:19
yaswanth00111-Sep-12 7:19 
AnswerRe: oracle exception Pin
Andrei Straut11-Sep-12 7:28
Andrei Straut11-Sep-12 7:28 
AnswerRe: oracle exception Pin
Abhinav S11-Sep-12 7:56
Abhinav S11-Sep-12 7:56 
GeneralRe: oracle exception Pin
Pete O'Hanlon11-Sep-12 7:58
mvePete O'Hanlon11-Sep-12 7:58 
QuestionError Logging Pin
CodingYoshi11-Sep-12 3:26
CodingYoshi11-Sep-12 3:26 
AnswerRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 3:47
mvePete O'Hanlon11-Sep-12 3:47 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 3:53
CodingYoshi11-Sep-12 3:53 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 4:07
mvePete O'Hanlon11-Sep-12 4:07 
AnswerRe: Error Logging Pin
Eddy Vluggen11-Sep-12 5:18
professionalEddy Vluggen11-Sep-12 5:18 
AnswerRe: Error Logging Pin
Abhinav S11-Sep-12 7:50
Abhinav S11-Sep-12 7:50 
GeneralRe: Error Logging Pin
CodingYoshi11-Sep-12 13:57
CodingYoshi11-Sep-12 13:57 
GeneralRe: Error Logging Pin
Pete O'Hanlon11-Sep-12 22:17
mvePete O'Hanlon11-Sep-12 22:17 
QuestionHow to control mediaelement from the server terminal? Pin
ylchau10-Sep-12 23:10
ylchau10-Sep-12 23:10 
AnswerRe: How to control mediaelement from the server terminal? Pin
Pete O'Hanlon10-Sep-12 23:19
mvePete O'Hanlon10-Sep-12 23:19 
GeneralRe: How to control mediaelement from the server terminal? Pin
ylchau11-Sep-12 16:27
ylchau11-Sep-12 16: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.