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
Solved

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

Posted on 2011-09-08
6
1,892 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Title # Comments Views Activity
HTML - Color not displaying correctly in EMAIL. 6 49
Footer for each row on Gridview 2 30
How to read text with RegEx... 2 25
Where is this file? 3 25
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 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