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

chokkaStudentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

donjon56Commented:
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
0
APoPhySptCommented:
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 ?
0
donjon56Commented:
Is the testing team accessing the same machine as you are developing on?
0
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

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.

0
donjon56Commented:
Hmm...  I am not sure what your root cause is.

Here are 6 scenarios and their solutions that may help you resolve this issue.

http://support.microsoft.com/kb/2028526/r
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chokkaStudentAuthor Commented:
@donjon56, in my current scenario i have to

run - iisreset on every 2-3 hours

this is something a big hassle ..!!!
0
donjon56Commented:
Is your error.aspx/error.aspx.cs file defining _Default as the class?  If so, try changing it to Error or ErrorPage class.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
AJAX

From novice to tech pro — start learning today.