Solved

error in AJAX

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now