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

.NET (Core and Framework)

 
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 
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 
Well Mike, yes and no.

I've got the Runtime Callable Wrapper, and I can use it (still) from an ordinary console application, but I'm still getting those errors when I try to instantiate the object from within a web service.

I found out that when I just try to load the assembly directly using System.Reflection.Assembly.LoadFile(filename) it fails with the same error. But System.Reflection.Assembly.LoadFrom(filename) appears to work, as does System.Reflection.Assembly.ReflectionOnlyLoadFrom(filename).

When I use System.Security.Permissions.FileIOPermission to determine my ASPNET user's rights on the assembly DLL, it tells me I have full rights, so it's not a matter of file access.

And I pulled apart the reflection data to find that I'm depending only on mscorlib, which can't be the problem either.

I finally tried signing my RCW assembly just in case it was ASPNET not wanting to run unsigned code.

So... it looks my specific question is: what is it about the ASPNET environment that makes loading a RCW assembly (or any assembly?) so different from a console environment? Is there a document that addresses that?

Thanks to all.
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 
GeneralRe: about PDB files Pin
Zoltan Balazs28-Apr-08 0:37
Zoltan Balazs28-Apr-08 0:37 
GeneralRe: about PDB files Pin
sujithkumarsl28-Apr-08 18:12
sujithkumarsl28-Apr-08 18:12 

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.