Solved

error in AJAX

Posted on 2008-06-10
5
709 Views
Last Modified: 2008-06-15
have a website in ASP.NET 2.0 with C#.
I have an error log file in my site and I get the following error and I don't know from where it comes from and what is the reoson?
In my site there is no subdirectory ajax.
thankyou
Anat

05/06/2008 5:12:56 PM       Object reference not set to an instance of an object.
      Request = http://www.deal-eh.ca/ajax/common.ashx
 Stack =    at Ajax.AjaxProcessor.RenderCommonScript()
   at Ajax.AjaxRequestProcessor.Run()
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
0
Comment
Question by:ANAT2403
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:prairiedog
ID: 21751712
>>>In my site there is no subdirectory ajax.
It might be a virtual directory pointing to a physical directory. If you enter http://www.deal-eh.ca/ajax/, you will see your site, but no stylesheet is loaded, also no AJAX features, which makes me think that /ajax is pointing back to your site.
0
 

Author Comment

by:ANAT2403
ID: 21752038
Hi,
Still I don't understand what it is and from where it comes from and do I have to do to prevent it.
thankyou
anat
0
 
LVL 22

Accepted Solution

by:
prairiedog earned 500 total points
ID: 21752122
If you are very sure that you don't have a directory called "ajax", then it must be a virtual directory. If you have access to the IIS, you will be able to see it in your IIS. Basically, a virtual directory is a directory you created in IIS, and it can point to a physical directory. My guess is that somehow you created "ajax" virtual directory and pointed to your web application, that is why when you access http:// www.deal-eh.ca/ajax/, it will load data from your web application, it is like a link.

How to prevent it?
Just remove the virtual directory from IIS.
0
 

Author Comment

by:ANAT2403
ID: 21757494
Hi
I still don't find in my IIs the virtual directory Ajax.
Is there a way it is part of the Ajax installation that is created automatically?
Thankyou
Anat
0
 

Author Comment

by:ANAT2403
ID: 21757706
Hi,
I think I understand what is going:
first I don't have any subdirectory of AJAX
The link you showed me is an error page that I have when the page is not found but becuase
of an error the css was not displayed. And I think that the reason I got links to this address is from
hackers. But I might be wrong and this is why I am checking it.
Thankyou
anat
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question