Click here to Skip to main content
15,902,189 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Select Statement Pin
Learning30-Apr-08 4:42
Learning30-Apr-08 4:42 
Questionunable to find a version of the runtime to run this application Pin
Muhammad Gouda28-Apr-08 22:28
Muhammad Gouda28-Apr-08 22:28 
AnswerRe: unable to find a version of the runtime to run this application Pin
Zoltan Balazs29-Apr-08 6:54
Zoltan Balazs29-Apr-08 6:54 
AnswerRe: unable to find a version of the runtime to run this application Pin
Muhammad Gouda30-Apr-08 1:41
Muhammad Gouda30-Apr-08 1:41 
GeneralDatagrid Pin
sabr4928-Apr-08 15:02
sabr4928-Apr-08 15:02 
GeneralApplication running slow Pin
Bad Programmer28-Apr-08 11:12
Bad Programmer28-Apr-08 11:12 
GeneralCross Post. Please ignore. Pin
Pete O'Hanlon29-Apr-08 1:29
mvePete O'Hanlon29-Apr-08 1:29 
QuestionStymied by interop Pin
Mark Schumann28-Apr-08 9:27
Mark Schumann28-Apr-08 9:27 
Hi everyone.

My customer has a COM object called validatecom.dll. I need to use this in my VS2005/C# web service. So I used tlbimp.exe to create a Runtime Callable Wrapper for validatecom.dll, defining the namespace as "wsl" because that makes sense in their environment. The COM interface is called IValidate, thus giving me a class called CValidateClass.

In my unit test, which runs as an ordinary .NET application, I can instantiate a wsl.CValidateClass object and call methods on it. No problem.

When I try to instantiate wsl.CValidateClass in my Web Service, however, I get an error, to wit:


System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID... yadda yadda yadda... failed due to the following error: 80070005.

And as we all know, 80070005 is another way of saying "Access Denied." Now I'm wondering why I can access the RCW assembly from an ordinary application, but not from a Web Service. I tried giving "full control" rights to "everyone" on that RCW assembly, but still no joy.

Any ideas on this? I'd be happy with a pointer to an MSDN article, a Google term, anything!

Thanks to all for your help.
AnswerRe: Stymied by interop Pin
led mike28-Apr-08 9:30
led mike28-Apr-08 9:30 
QuestionRe: Stymied by interop Pin
Mark Schumann1-May-08 8:56
Mark Schumann1-May-08 8:56 
GeneralMake a CAB file for PocketPc2003 Pin
AlexB4728-Apr-08 4:02
AlexB4728-Apr-08 4:02 
GeneralCross Post. Please ignore Pin
Pete O'Hanlon28-Apr-08 21:59
mvePete O'Hanlon28-Apr-08 21:59 
GeneralApplication.Run() Parameters Pin
saneng28-Apr-08 3:08
saneng28-Apr-08 3:08 
GeneralDouble Post Pin
Giorgi Dalakishvili28-Apr-08 3:50
mentorGiorgi Dalakishvili28-Apr-08 3:50 
QuestionHow to write this code using IFileOperation for Vista Pin
Mustanseer M S28-Apr-08 0:31
Mustanseer M S28-Apr-08 0:31 
AnswerRe: How to write this code using IFileOperation for Vista Pin
Mike Dimmick28-Apr-08 3:00
Mike Dimmick28-Apr-08 3:00 
GeneralRe: How to write this code using IFileOperation for Vista Pin
Mustanseer M S28-Apr-08 3:42
Mustanseer M S28-Apr-08 3:42 
Generalabout PDB files Pin
sujithkumarsl27-Apr-08 18:28
sujithkumarsl27-Apr-08 18:28 
GeneralRe: about PDB files Pin
BJ Basañes27-Apr-08 19:28
BJ Basañes27-Apr-08 19:28 
GeneralRe: about PDB files Pin
sujithkumarsl27-Apr-08 20:15
sujithkumarsl27-Apr-08 20:15 
GeneralRe: about PDB files Pin
BJ Basañes27-Apr-08 22:03
BJ Basañes27-Apr-08 22:03 
GeneralRe: about PDB files Pin
sujithkumarsl27-Apr-08 22:28
sujithkumarsl27-Apr-08 22:28 
GeneralRe: about PDB files Pin
Pete O'Hanlon27-Apr-08 23:33
mvePete O'Hanlon27-Apr-08 23:33 
GeneralRe: about PDB files Pin
sujithkumarsl28-Apr-08 0:24
sujithkumarsl28-Apr-08 0:24 
GeneralRe: about PDB files Pin
Roger Alsing28-Apr-08 6:42
Roger Alsing28-Apr-08 6:42 

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.