By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,512 IT Pros & Developers. It's quick & easy.

Problem in accessing sites having ajax

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.