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 July 4th, 2007, 02:59 AM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parser error could not load the assembly

I am uploading a web site when i open it gives me following error:-

Server Error in '/fortishealthfirst' Application.

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load the assembly 'App_Web_9rcjwvbu'. Make sure that it is compiled before accessing the page.

Source Error:


Line 1: <%@ page language="C#" autoeventwireup="true" inherits="frmLogin, App_Web_9rcjwvbu" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File: D:\Websites\Iridiuminteractive\Extranet\fortisheal thfirst\login.aspx Line: 1

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

Pls reply asap.
Regards,
Kamal
  #2 (permalink)  
Old July 4th, 2007, 07:54 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

your form inherits from 2 classes???? what is App_Web_9rcjwvbu????

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
  #3 (permalink)  
Old July 4th, 2007, 01:08 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Kamal,

It appears as though you have hard coded the name of a dynamically generated assembly. Can you elaborate as to why that is there?

-Peter
  #4 (permalink)  
Old July 4th, 2007, 10:50 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using c#.Net2005 (Framework 2.0)
I have developed one Asp.Net Application and publish it by right click on solution and then i select publish. When i use these publish files From my local lan it is running fine but when i am putting them on web it is producing the error i post earlier. app_web...? is automatically added by .net when i publish the project.
My guess for the problem is on server 1.1 framework is installed and i am using 2.0 might be this causes the problem.
Pls Reply asap.

Regards,
Kamal



Quote:
quote:Originally posted by planoie
 Kamal,

It appears as though you have hard coded the name of a dynamically generated assembly. Can you elaborate as to why that is there?

-Peter
  #5 (permalink)  
Old July 5th, 2007, 07:32 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

when you use the publish button, it pre-compile all the site.. did you copy all the folders there?? (the bin folder include??)

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
  #6 (permalink)  
Old July 5th, 2007, 02:37 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Quote:
quote:Originally posted by Kamal_Bhola
 My guess for the problem is on server 1.1 framework is installed and i am using 2.0 might be this causes the problem.

Are you saying that you are trying to put a 2.0 application on a server that only has 1.1 installed? This would most certainly be the problem. You need the target framework for the application to work.

-Peter
  #7 (permalink)  
Old July 20th, 2007, 03:04 PM
djm djm is offline
Registered User
 
Join Date: Jul 2007
Location: Calgary, Alberta, Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Kamal,

I ran into a similar problem. I'm using VS 2005 on a new machine. I created a website and used the default (dev) server. IIS was not even installed. I decided to install IIS and then 'publish' the website so others in the office to view / evaluate it.
The problem I discovered was that VS created the virtual directory and copied the files from the dev directory.

BUT, the directory was not marked as an application!

I went into IIS, expanded the 'Web Sites' tree, found the correct folder under 'Default Web Site', right-clicked on the folder and selected properties. The 'Directory' tab has an entry labeled 'Application Name' that is grayed out and the text box says 'Default Application'.

Just click on the 'Create' button and then the OK button.

HTH

DJ



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 'App_W jamara ASP.NET 2.0 Professional 1 March 5th, 2007 03:02 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.