1
Answer

I want to deploy web service on IIS 7.5 with framework 4.6.1

Iqrar Ali

Iqrar Ali

7y
333
1
I have created a web service in vs2013 that retrn sum of 2 numbers
  1. public class SampleWebService : System.Web.Services.WebService  
  2.    {  
  3.   
  4.        [WebMethod]  
  5.        public int SumOfNums(int First, int Second)  
  6.        {  
  7.            return First + Second;  
  8.        }   
  9.    }  
and build it with framework 4.6.1. 
 
 
and now i deployed it on IIS 7.5 but it gets error
how to fix this error 
Answers (1)