Hi,
I'm trying work with the project that comes along with the book "ASP.NET Website Programming: Problem - Design - Solution, C# Edition" I was able to load the project, compile, but when it runs (
http://localhost/ThePhile), I get the following error message and each time I refresh the page the name of the .dll in the error message changes. looks like some weird .dll names (6d1iwsvp.dll, ll1iic3m.dll, yc-lx-gj.dll). I'm not sure what's wrong.
Please help me resolve this issue.
Page Error
--------------------------------------------------------------------------------
An unexpected error has occurred on this page. The system administrators
have been notified. Please feel
free to contact us with the information surrounding this error.
The error occurred in:
http://localhost/ThePhile/Default.aspx
Error Message: File or assembly name s2r9-mou.dll, or one of its
dependencies, was not found.
--------------------------------------------------------------------------------
Stack Trace:
System.IO.FileNotFoundException: File or assembly name s2r9-mou.dll, or one
of its dependencies, was not
found. File name: "s2r9-mou.dll" at
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint,
StackCrawlMark& stackMark) at
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) at
System.Reflection.Assembly.Load(AssemblyName assemblyRef) at
System.CodeDom.Compiler.CompilerResults.get_Compil edAssembly() at
System.Xml.Serialization.Compiler.Compile() at
System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[]
xmlMappings) at System.Xml.Serialization.XmlSerializer..ctor(Type type) at
Wrox.WebModules.Polls.Configuration.ModuleConfig.G etSettings() in
C:\wrox\ThePhile\Modules\Polls2\Polls.Configuratio n\Configuration.cs:line
24
at
Wrox.WebModules.Polls.Business.Question.GetCurrent ID() in
C:\wrox\ThePhile\Modules\Polls2\Polls.Business\Que stion.cs:line 128 at
Wrox.WebModules.Polls.Web.Controls.User.Poll.DataB ind() in
C:\wrox\ThePhile\Modules\Polls2\Poll.ascx.cs:line
123 at Wrox.WebModules.Polls.Web.Controls.User.Poll.Page_ Load(Object
sender,
EventArgs e) in
C:\wrox\ThePhile\Modules\Polls2\Poll.ascx.cs:line 114 at
System.Web.UI.Control.OnLoad(EventArgs e) at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain() Fusion log follows: ===
Pre-bind state information === LOG: Where-ref bind. Location =
C:\WINDOWS\TEMP\s2r9-mou.dll LOG: Appbase =
file:///C:/wrox/ThePhile LOG: Initial PrivatePath = bin Calling assembly :
(Unknown). === LOG: Policy not
being applied to reference at this time (private, custom, partial, or
location-based assembly bind). LOG:
Attempting download of new URL file:///C:/WINDOWS/TEMP/s2r9-mou.dll.