RE: Application page reference to System.DirectoryServices causes erro
- From: arduk <arduk@xxxxxxxxxxxxxxx>
- Date: Tue, 10 Mar 2009 17:51:01 -0700
Please ignore previous post - I have managed to get this sorted out.
"arduk" wrote:
I am creating an application page for MOSS that allows users to search the.
Global Catalog.
I have added a reference to System.DirectoryServices to my Visual studio
project
If I add the following statement:
using System.DirectoryServices;
The project still compiles OK, but when I go to the application page, I get
the error below. Can anyone assist me with what I am doing wrong here, and
how to troubleshoot it?
Thanks in advance for any assistance
Error received:
File Not Found. at System.Reflection.Assembly._nLoad(AssemblyName
fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssembly(String
assemblyName, Boolean throwOnFail)
at System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean
throwOnFail)
at System.Web.UI.TemplateParser.AddAssemblyDependency(String
assemblyName, Boolean addDependentAssemblies)
at System.Web.UI.TemplateParser.ProcessDirective(String directiveName,
IDictionary directive)
at System.Web.UI.BaseTemplateParser.ProcessDirective(String
directiveName, IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirective(String
directiveName, IDictionary directive)
at System.Web.UI.PageParser.ProcessDirective(String directiveName,
IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding
fileEncoding)
- References:
- Prev by Date: Application page reference to System.DirectoryServices causes erro
- Next by Date: RE: Digital signature in an Infopath form based on an external xsd sch
- Previous by thread: Application page reference to System.DirectoryServices causes erro
- Index(es):
Relevant Pages
|