Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My asp.net web application running on .net 4.0 works fine when invoked from visual studio.
However i get ajax service not defined when I deploy the web app in IIS.
The error occur when we calls ajax service from the web application.
I tried it both windows 7 & windows 2008 server.

Did anyone faced this issue?

The Exact error is

"ServiceName" is undefined.

where ServiceName is name of my service which is part of web application.
Posted
Updated 14-Nov-13 7:04am
v3
Comments
ZurdoDev 14-Nov-13 9:14am    
No. But what is the exact error?
chait301 14-Nov-13 10:30am    
I have updated the question above. On debugging it appears as
SCRIPT5009: 'AjaxService' is undefined
Is the Service in other domain?
chait301 14-Nov-13 13:05pm    
It is a wcf service which is part of web app
Post the code which you are using to connect with the service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900