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

.NET (Core and Framework)

 
AnswerRe: Need for a rich Text Editor .... Pin
Vasudevan Deepak Kumar2-May-08 0:44
Vasudevan Deepak Kumar2-May-08 0:44 
AnswerRe: Need for a rich Text Editor .... Pin
Reelix6-May-08 22:53
Reelix6-May-08 22:53 
QuestionChange Directory type info Pin
coleydog1-May-08 13:12
coleydog1-May-08 13:12 
QuestionStrange Behavior with Generics Pin
girijaa30-Apr-08 6:09
professionalgirijaa30-Apr-08 6:09 
AnswerRe: Strange Behavior with Generics Pin
Urs Enzler1-May-08 10:12
Urs Enzler1-May-08 10:12 
QuestionUnsafe Assembly Permissions Pin
Brady Kelly30-Apr-08 5:15
Brady Kelly30-Apr-08 5:15 
QuestionDataTable.Select() Pin
alex.almeida30-Apr-08 3:24
alex.almeida30-Apr-08 3:24 
QuestionTableDataAdapter.Update to two mirror databases... [modified] Pin
sabr4930-Apr-08 2:07
sabr4930-Apr-08 2:07 
QuestionForce TextBox to show cursor Pin
Christian Wikander29-Apr-08 23:00
Christian Wikander29-Apr-08 23:00 
AnswerRe: Force TextBox to show cursor Pin
Arjun Marwaha30-Apr-08 7:44
Arjun Marwaha30-Apr-08 7:44 
QuestionSelect Statement Pin
Learning29-Apr-08 5:18
Learning29-Apr-08 5:18 
GeneralRe: Select Statement Pin
Mark J. Miller29-Apr-08 7:49
Mark J. Miller29-Apr-08 7:49 
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 
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 

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.