Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-08
6
Medium Priority
?
2,023 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
ID: 36505475
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
ID: 36505541
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
ID: 36505584
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:EazyWorks
ID: 36505599
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
ID: 36511956
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
ID: 37589525
This worked and I want to clean up my open questions
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Loops Section Overview

824 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