ASP.Net - AJAX Error throws on Client Computers !!

ASP.Net / VS 2008 / Crystal Reports / AJAX

I have an application which runs on AJAX. Application works great on my machine. On sharing the link with Testing Team, they faces the following error.

Do i need to install AJAX on every computer ?

Following is the Error !!

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 '_Default' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\memberbenefit\45081d32\df8bdad1\assembly\dl3\f0b5b28b\7efe58b5_34bccc01\App_Web_gjt0jryt.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\memberbenefit\45081d32\df8bdad1\assembly\dl3\962d39a5\040dc9b5_34bccc01\App_Web_ss_vc46v.DLL'

Source Error:


Line 116:    
Line 117:    [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 118:    public class error_aspx : global::_Default, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
Line 119:        
Line 120:        private static bool @__initialized;

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\memberbenefit\45081d32\df8bdad1\App_Web_error.aspx.cdcab7d2.vpve21v_.0.cs    Line: 118

Who is Participating?
donjon56Connect With a Mentor Commented:
Hmm...  I am not sure what your root cause is.

Here are 6 scenarios and their solutions that may help you resolve this issue.
In my experience,  I can do one of the following to fix the issue:

in Visual Studios:
1. Stop debugging
2. Click on: Build -> Rebuild Solution
3. Start debugging and test.

If that doesn't work then:
1. Exit Visual Studios
2. Stop the w3svc
3. delete the directories found in: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\
4. Start the w3svc
5. Start Visual Studios and test
You don't have to install ajax on client machine..  your project should add the dll's necessary for the site to work correctly. did you have to add any external dll's or are you using the ajax controls from the framework ?
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Is the testing team accessing the same machine as you are developing on?
chokkaStudentAuthor Commented:
@ApoPhySpt : Application is running from Windows 2003 server.

@donjon56, Application is working from ReportServer !!

What we noticed is, Application works for a while and then it throws stange errors as like i report over above.

Application works. It works for few members or few minutes or few clicks.

chokkaStudentAuthor Commented:
@donjon56, in my current scenario i have to

run - iisreset on every 2-3 hours

this is something a big hassle ..!!!
Is your error.aspx/error.aspx.cs file defining _Default as the class?  If so, try changing it to Error or ErrorPage class.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.