Assemblies won't load from network folder

eelises

New member
Joined
Jun 8, 2007
Messages
1
Programming Experience
1-3
Hi,

We have a VS2005 web-application solution located on XP machine. The
project is done by several team members. Assemlies are defined in
web.config under <compilation> and namespaces under
<pages><namespaces>.
All the computers use sourcesafe 2005 and open the project from
sourcesafe.
Everything works fine on the local machine.

A network machine with XP Pro lists many errors such as "Type
'SqlDataReader' is not defined", "Type 'StringBuilder' is not
defined", and so on. The namespaces are defined in web.config so there
might be a parameter missing there that prevent it being loaded on to
the network machines.

Another network machine with Win2k has also error of type (in addition
to above mentioned errors):
"ASP.NET runtime error: Could not load file or assembly
'Microsoft.Practices.ObjectBuilder, Version=1.0.51205.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Failed to grant minimum permission requests. (Exception from HRESULT:
0x80131417)"
In addition, VS cannot populate the ASP.NET component dropdown-list
and its associated events that are normally located on the .vb pages
under the toolbar. The Intellisense does not work for the ASP.NET
components as well.

Note also that the bin directory for the assemblies was configured
with PolicyLevel=FullTrust in Microsoft .NET Framework 2.0
Configuration (this was suggested by some posts).

Thanks in advance.
 
Er... wont the application that is attempting to load the assemblies have to be configured as trusted?


ProgramX attempts to read a file \\server\folder\my.dll
ProgramX is not trusted
FullTrusting \\server\folder\ means all the assemblies therewithin are fully trusted
ProgramX isnt necessarily trusted just because it is trying to read a trusted file..
 
Back
Top