Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with Assembly.LoadFrom with web app, not unit test console type app.

Reply
Thread Tools

Problem with Assembly.LoadFrom with web app, not unit test console type app.

 
 
pkellner
Guest
Posts: n/a
 
      04-27-2007
I have code like:

a = Assembly.LoadFrom("Mono.Security.dll");

that is part of a class library I'm using from Novell. When I run
this code in my unit test, a returns a reference. When I run it in my
asp.net 2.0 web app, a returns null. The app is of course running
full trust. I don't get why. Im using cassini so I'm thinking it
should be running as me with no issues.

Any ideas? thanks

Peter Kellner
http://peterkellner.net
MVP, ASP.NET

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
contradicting unit test regarding blocks pass, bug in unit/test? timr Ruby 2 11-20-2010 06:30 AM
Test::Unit - Ruby Unit Testing Framework Questions Bill Mosteller Ruby 0 10-22-2009 02:02 PM
All of us know about unit test. But what's a unit? Bill David Java 2 06-18-2008 12:40 AM
unit--, a unit test framework for C++ VvanN C++ 5 04-28-2006 10:01 AM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57