Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Why webservice page.asmx not working in IIS 7.5? Getting the error message as .asmx page cannot be precompiled issue. In local system on hosting it works.
Posted

Please check below links.May be helped to you. :)

Quote:
Delete everything in your bin folder and publish the web again. Make sure you take the files from the directory where you did the publishing.

Make sure you copy the .compiled files contained in the bin folder too.

has not been pre-compiled

Precompiled ASP.NET web application: error “System.Web.HttpException file filename.aspx has not been pre-compiled, and cannot be requested.”
 
Share this answer
 
v2
Check the framework version installed on the server, there might be compatibility issue.

Regards,
Praveen Nelge
 
Share this answer
 

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