Solved

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

Posted on 2011-09-08
6
1,911 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
Independent Software Vendors: 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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