DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sat, 28 Jul 2007 10:42:17 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    brice
          2    unknown
          3    unknown
                 4    George Ter-Saakov


AJAX Page Methods Broken in IIS, Work with Built-in Web Server   
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.
Date:Sat, 28 Jul 2007 10:42:17 -0700   Author:  

Re: AJAX Page Methods Broken in IIS, Work with Built-in Web Server   
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
Date:Fri, 10 Aug 2007 14:29:23 -0000   Author:  

Re: AJAX Page Methods Broken in IIS, Work with Built-in Web Server   
looks like changing and saving the web.config will accomplish the same
thing...

-chad
Date:Fri, 10 Aug 2007 14:59:26 -0000   Author:  

Re: AJAX Page Methods Broken in IIS, Work with Built-in Web Server   
Well, changing web.config does the same thing as rebuilding.

George.

 wrote in message 
news:1186757966.999129.108260@q3g2000prf.googlegroups.com...

> looks like changing and saving the web.config will accomplish the same
> thing...
>
> -chad
> 
Date:Fri, 10 Aug 2007 14:10:20 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us