473,394 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem in accessing sites having ajax

I have an open IP and on that IP our main application is hosted. it uses
ajax. in web.config file i have register ajax handlers.
there are also other sites or project on that IP. now my problem is that
other ASP.net projects throws error and take my web.config file as thier
web.config. this server is my office server. now this create a big problem
for us.
Please give me the solution of that problem. how site consider their own
web.config not mine.
Oct 3 '06 #1
3 1663
If your other websites are in folders beneath your main application
then they will inherit the main web.config settings. Try putting your
other applications in their own folders and running them as separate
applications.

Alok yadav wrote:
I have an open IP and on that IP our main application is hosted. it uses
ajax. in web.config file i have register ajax handlers.
there are also other sites or project on that IP. now my problem is that
other ASP.net projects throws error and take my web.config file as thier
web.config. this server is my office server. now this create a big problem
for us.
Please give me the solution of that problem. how site consider their own
web.config not mine.
Oct 3 '06 #2
Also make sure that the directories have actually been marked as
applications in IIS. You can do this through the IIS MMC. Open the IIS MMC,
browse to the web server's node, right-click on a directory that is having
trouble and select properties. On the virtual directory tab you'll see the
options at the bottom for addint/changing/removing the application setting
from that directory. It must be marked as an application or it will believe
that directory is part of another application that exists above it (such as
the root application).

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Alok yadav" <Al*******@discussions.microsoft.comwrote in message
news:F0**********************************@microsof t.com...
>I have an open IP and on that IP our main application is hosted. it uses
ajax. in web.config file i have register ajax handlers.
there are also other sites or project on that IP. now my problem is that
other ASP.net projects throws error and take my web.config file as thier
web.config. this server is my office server. now this create a big problem
for us.
Please give me the solution of that problem. how site consider their own
web.config not mine.

Oct 3 '06 #3
i have more than 20 sites it is a big problem in changing their directory or
moving any thing all the sites are live. i cant change the location is there
any method so that i remove the reference of ajax dll from web.config.
i have used httphandler to register ajax.
plz help me otherwise i have to change whole project which is not possible.
i have write http handler in web.config as

<httpHandlers>
<!-- Register the ajax handler -->
<add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory,
Ajax" />
</httpHandlers>

if it can be removed then it solve my problem

Thanks for ur reply.
"Mark Fitzpatrick" wrote:
Also make sure that the directories have actually been marked as
applications in IIS. You can do this through the IIS MMC. Open the IIS MMC,
browse to the web server's node, right-click on a directory that is having
trouble and select properties. On the virtual directory tab you'll see the
options at the bottom for addint/changing/removing the application setting
from that directory. It must be marked as an application or it will believe
that directory is part of another application that exists above it (such as
the root application).

--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Alok yadav" <Al*******@discussions.microsoft.comwrote in message
news:F0**********************************@microsof t.com...
I have an open IP and on that IP our main application is hosted. it uses
ajax. in web.config file i have register ajax handlers.
there are also other sites or project on that IP. now my problem is that
other ASP.net projects throws error and take my web.config file as thier
web.config. this server is my office server. now this create a big problem
for us.
Please give me the solution of that problem. how site consider their own
web.config not mine.


Oct 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
4
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
0
by: Ing. Rajesh Kumar | last post by:
Hi everybody I have two local sites on my local machine. Both ask the user to log in and also have an option to remember the user. If i work only with one of these sites, everything works fine....
42
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox...
6
by: leppert | last post by:
Hello, I am trying to access a javascript variable on another site. The site requires the user to be logged in, so what I am doing is submitting a form and redirecting the output to an IFRAME,...
2
by: willl69 | last post by:
Hi All, Ive been having a problem of late with one of my sites that uses PHP5 / Ajax. The problem is that periodically the ajax functions lock up and it gets stuck in the loading phase of the...
3
by: willl69 | last post by:
Hi All, Ive been having a problem of late with one of my sites that uses PHP5 / Ajax. The problem is that periodically the ajax functions lock up and it gets stuck in the loading phase of the...
1
by: violinandviola | last post by:
I have just put 4 different ajax bits on this page: http://jimpix.co.uk/default-ajax.asp The ajax spits out chunks of images / news content, and users can view the chunks via next / prev links....
10
freddieMaize
by: freddieMaize | last post by:
Hi there, I need to hit few list of sites from my application and find the response time of those site and sort them (which ever is opening first will sit at the top). I have done the same using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.