Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 11th, 2006, 01:25 AM
Authorized User
 
Join Date: Dec 2004
Location: Madurai, Tamil Nadu, India.
Posts: 69
Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via Yahoo to whiterainbow
Default Runtime Error

Hi,

Have anybody faced such kinda runtime error? If so plz help me out to get outta this.

Actually I deployed a web probect and there is no compile time error and it started running well. But when I'm clicking on a particular page its throwing an error that a particular class is existing in two different dll files which will be created in the "Temporary ASP.NET Files" folder by the IIS at the runtime but I checked with the code and there is no two references for that class means that I don't have the same class name in two different pages (as if the particular class under the same namespace will throw error if it's not a partial class and I checked there is no such existence in my code).

If my explanation is not clear enough, please see the error code the system is throwing:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0433: The type 'DotNetBlog.BlogList' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\shabaashfinal\0bd94806\6a935a09\assembly\dl3 \a8fd1a41\9c4ce454_62d5c601\App_Web_tcf9s6hk.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\shabaashfinal\0bd94806\6a935a09\assembly\dl3 \f0e4d9a3\0aa82757_62d5c601\App_Web_sgcsyzzm.DLL'

Source Error:



Line 110:
Line 111: [System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 112: public class proudindian_blog_aspx : global::DotNetBlog.BlogList, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
Line 113:
Line 114: private static bool @__initialized;


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\shabaashfinal\0bd94806\6a935a09\App_Web_prou dindian_blog.aspx.cdcab7d2.wvnmjufa.0.cs Line: 112

I cleared the folder reference in "temporary asp.net files" folder and the history information created for the site but it's not helpful. So please if anybody knows the possible reason for this put your help over here.

Thanks and Regards,

Senthil Kumar M.

senthilkumar.mohan@gmail.com
__________________
Thanks in advance.

Regards,

Senthil Kumar M.
Reply With Quote
  #2 (permalink)  
Old September 11th, 2006, 11:42 AM
Friend of Wrox
 
Join Date: Feb 2006
Location: , , USA.
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was getting this a couple weeks back when our test server was pegged at 100% use. It's very, very odd, and what can you do, it's some wierd error deep in the framework.

I noticed that when the server was under a lesser load, it never happened. Then I switched my project to a different server with very little load on it, and I never saw the error again. You might try the same.



Neil Timmerman
Programmer
Veris Consulting
Reply With Quote
  #3 (permalink)  
Old September 12th, 2006, 01:20 AM
Authorized User
 
Join Date: Dec 2004
Location: Madurai, Tamil Nadu, India.
Posts: 69
Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via Yahoo to whiterainbow
Default

Hi Neel,

Thanks. The reason may be the same if its the testing server but it didn't run on the IIS in which there is no sites configured too. So I recreated the file with different class and it helped me to deploy the project.

Thanks and Regards,

Senthil Kumar M.

senthilkumar.mohan@gmail.com
Reply With Quote
Reply


Thread Tools
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
hi i got runtime error 13 Type Mismatch error sriharsha345 Access VBA 2 February 21st, 2008 08:30 AM
runtime error dhoward VB.NET 2002/2003 Basics 2 November 1st, 2007 03:30 PM
runtime error??? jeffreyJS ASP.NET 2.0 Basics 4 September 14th, 2006 04:07 AM
mysterious error runtime error '451' coyotworks Excel VBA 1 May 12th, 2006 03:57 PM
Runtime Error rwiethorn ASP.NET 1.0 and 1.1 Basics 1 January 27th, 2004 01:01 PM



All times are GMT -4. The time now is 03:37 PM.


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