Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 5th, 2007, 02:02 PM
jamara
Guest
 
Posts: n/a
Default Parser Error - Could not load the assembly 'App_W

Hi,
   I seem to be getting this error but cannot figure out why. I have removed Master Pages and all user controls because other sites seem to suggest this causes this error. I have also removed using the login pages. Yet I'm still getting it. Does anyone have any information on preventing this error from occuring? Is there a fix for this? MS wants me to pay 245.00 hourly for a fix to this.

  #2 (permalink)  
Old March 5th, 2007, 03:02 PM
jamara
Guest
 
Posts: n/a
Default

I was able to find this on google and it fixed the problem. Other sites suggested several web.config changes etc. This suggestion worked for me so I wanted to pass it on especially since this error can drive one crazy!!!

Here's the link I found this solution at:
http://forums.asp.net/1144604/ShowPost.aspx. See the response at 1:44 by ScottGu...

The problem you are having above is that the "/foldername" directory is not marked as an application, yet the \bin directory containing your assemblies is probably contained underneath it. As such, ASP.NET isn't looking for your assembly in the right place -- instead it is looking for it in the \bin directory underneath the root site/application on your system (note how the error message above starts with the text "Server Error in '/' Application").

To fix this, you should go into the IIS admin tool, right click on the /foldername directory and pull up its properties. You'll then want to make it as an application within IIS (by clicking the "create" button). The assemblies in the \bin directory should then resolve correctly.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not load the assembly Jitender BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 September 5th, 2008 05:06 PM
Parser error could not load the assembly Kamal_Bhola ASP.NET 2.0 Professional 6 July 20th, 2007 03:04 PM
Parser Error Message: Could not load type '_Defaul sahmed1983 VB Databases Basics 1 January 25th, 2007 09:12 AM
Could not load file or assembly 'dll' or one of it Mahenj ASP.NET 2.0 Professional 1 January 17th, 2007 12:21 PM
Could not load file or assembly vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 27th, 2006 02:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.