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
Solved

error in AJAX

Posted on 2008-06-10
5
704 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web site error 3 44
How can my static class become undefined?? 8 62
Creating a route in asp.net webforms 2 32
VB.net Move a class from Solution Items to a project 2 32
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

791 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