Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > AJAX Page Methods Broken in IIS, Work with Built-in Web Server

Reply
Thread Tools

AJAX Page Methods Broken in IIS, Work with Built-in Web Server

 
 
brice
Guest
Posts: n/a
 
      07-28-2007
Hi,

We are using static public methods decorated with 'WebMethod' as our
AJAX implementation. We then use the client-side Sys.Net.PageMethod
approach to invoke the page method.

In the same application, this works fine with the built in web server,
but fails with IIS. In IIS we get a 404 error. The application is in a
subdirectory in IIS, in case that matters. All other ASP.NET
functionality seems to be working fine under IIS and as far as I can
tell, the Web.config is set up properly.

Any tips as to what might be the problem?

thanks in advance.

 
Reply With Quote
 
 
 
 
cdmorgan@gmail.com
Guest
Posts: n/a
 
      08-10-2007
I was having the same issue and it turns out that REbuilding the
solution fixes the issue. Build won't work, you have to rebuild.
Apparently this regenerates the proxy. Unfortunately this means (from
what I've seen) that everytime you make a change to your server-side
method, you'll have to rebuild the solution in order to see that
change. Otherwise the proxy will call the old method (pre-change).

If anyone knows a more efficient way to see your changes, please let
me know

-chad

 
Reply With Quote
 
 
 
 
cdmorgan@gmail.com
Guest
Posts: n/a
 
      08-10-2007
looks like changing and saving the web.config will accomplish the same
thing...

-chad

 
Reply With Quote
 
George Ter-Saakov
Guest
Posts: n/a
 
      08-10-2007
Well, changing web.config does the same thing as rebuilding.

George.

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> looks like changing and saving the web.config will accomplish the same
> thing...
>
> -chad
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to find the class methods of a class, just like'methods' finds the instance methods? Kenneth McDonald Ruby 5 09-26-2008 03:09 PM
ajax accordion control broken in ajax 1.0 Andy B ASP .Net 0 11-28-2007 06:49 PM
"ASP.NET AJAX-Enabled Web Site" or "AJAX Control Toolkit Web Site"? mark4asp ASP .Net 1 03-24-2007 06:06 AM
AJAX IDE and AJAX TOOL--The Release of JoyiStar AJAX WebShop 3 Beta minnie Java 1 12-13-2006 06:29 AM
Ajax page broken without reason Seguros Catatumbo Javascript 4 08-29-2006 03:11 PM



Advertisments