Solved

The file '/webservice.asmx' has not been pre-compiled, and cannot be requested.

Posted on 2011-09-08
6
1,825 Views
Last Modified: 2012-08-14
We have a web project with a asmx web service. We have one installation that the web service will not work however the rest of the sites (and different servers) run fine. I have used the same published code and put it on two different servers and one works while the other doesn't. We need to figure out how to fix this issue on the broken server.

What we have done so far.
Re-register .net 4.0 using the command line.
Install WebService 3.0, based on some info found on Google.

Please no Google Search results, we have ran through most of the Google search results suggestions, and this is a bit urgent to get resolved.
Thanks
0
Comment
Question by:EazyWorks
  • 4
  • 2
6 Comments
 
LVL 28

Expert Comment

by:strickdd
Comment Utility
Instead of performing a publish/deploy take the entire code directory from the working server and copy it to the non-working server. I would recommend deleting all content on the non-working server first, but it isn't a must.
0
 

Author Comment

by:EazyWorks
Comment Utility
That is what I did, I am coping the files from a folder to two servers, one works one doesn't
0
 
LVL 28

Expert Comment

by:strickdd
Comment Utility
Compare your website settings and configurations in IIS for each site. One may be set for .Net 2.x when it should be 4.x.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:EazyWorks
Comment Utility
Both are set to 4.0 and I compared all the settings.
Please keep in mind the website works, just the web-service page throws this error.
0
 

Accepted Solution

by:
EazyWorks earned 0 total points
Comment Utility
Here is what I came up with, I selected to "Allow this precompiled site to be updatable" and it works now.
Any info on what this really changes? or what the root problem is?

 Option Selected When compiling
0
 

Author Closing Comment

by:EazyWorks
Comment Utility
This worked and I want to clean up my open questions
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now