Solved

error in AJAX

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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