Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have get method in webservice.asmx class which is called by ajax in .aspx file to retrieve all codes. So when i published this in local server(IIS 7.5 and version V4.5) its working fine but when i am publishing in other server(IIS 10 and version V4.5) then getting error "
/xxx/xxx/webservice.asmx' has not been pre-compiled, and cannot be requested.
".
i have looked all posted solution in google but couldnot get any solution which can help on this issue.

What I have tried:

1)I have compared local server webconfig with other server.
2) republished it many times and choosed this website updatable when publishing
3) compared local server dll in bin folder with other server.
Posted
Updated 26-Jun-19 19:55pm
v2
Comments
F-ES Sitecore 27-Jun-19 3:40am    
I just googled "has not been pre-compiled, and cannot be requested" and found lots of suggestions. To stop people wasting their time suggesting things you've already tried, update the "What I have tried" box to say the suggestions you have already used that haven't solved the issue.

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