Showing posts with label config. Show all posts
Showing posts with label config. Show all posts

Saturday, March 24, 2012

Deployment Question- iframe executor failed ?

Just moved to a new server and Debug output is giving me.. "A web request made using the iframe executor failed. Make sure that the app's web.config registers iframecall.axd"

Of course this doesn't happen in dev/test. The server file from the root up are exactly the same (after I switched it to debug).. Is there something else to configure?

It appears that all atlas/ajax calls back to the server are failing in the new environment. There are basic service calls registered in the script manager and some toolkit controls as well.

Where to start?

Other important things I neglected to mention.. I have already added the iframecall in the http handler & theWebOperationAttribute(true,ResponseFormatMode.Json,true) setting to each of the web methods declorations.


Other important things I neglected to mention.. I have already added the iframecall in the http handler & theWebOperationAttribute(true,ResponseFormatMode.Json,true) setting to each of the web methods declorations.


I use fiddler to make sure the script manager was registering the services and everything looks good. If I point the services back at the dev server they work great?

Fiddler namespace registrations.

HTTP/1.1 200 OK
Date: Mon, 21 Aug 2006 12:32:33 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 582

Type.registerNamespace('NU.Web.ECatalog.Services');
NU.Web.ECatalog.Services.PassortUsers=new function() {
this.appPath = "http://nunettst3:8040/apps/ecatalog/";
var cm=Sys.Net.ServiceMethod.createProxyMethod;
cm(this,"SearchInvoiceApproversByName","prefixText","returnCount");
cm(this,"SearchMaterialRequestApproversByName","prefixText","returnCount");
cm(this,"SearchByName","prefixText","returnCount");
cm(this,"SearchByNameNoLimit","prefixText");
cm(this,"GetInvoiceApproverId","name");
cm(this,"GetMaterialRequestApproverId","name");
cm(this,"GetUserId","name");
}

deploying my ajax app

hey all,

i have a brand new windows 2003 server that i'm trying to deploy my ajax app to and i'm getting an error with the web.config. is there anything special i need to do to the server for my app to work?

thanks,

rodchar

hello.

well, you just need to install the asp.net ajax toolkit and configure your web app so that it uses asp.net 2.0.


Thank you.


hello again.

~sorry...in the previous post i meant the asp.net ajax extensions and not the asp.net ajax toolkit :) btw, both are available on the download section of the ajax.asp.net site.