Solved

error in AJAX

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using CK editor in iframes 5 28
Query in AngularJS 8 53
Consume a webservice via VB in Visual Studio 2015 3 22
disadvantage of code behind appoarch in asp.net 3 30
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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