Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 5th, 2007, 02:02 PM
Posts: n/a
Default Parser Error - Could not load the assembly 'App_W

   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
Posts: n/a

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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 11:23 AM.

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