Solved

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

Posted on 2011-09-08
6
1,956 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

624 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