Solved

Web Service deployment

Posted on 2014-03-05
1
572 Views
Last Modified: 2014-03-07
I am working on a web application which is deployed on the Live server without the dll's. So if I make any changes in the development, I copy the changed files and restart the IIS to push changes to Live. Now I have added a new web service reference to the web application. Everything works as expected on Development. But if I copy the changed files and the Web Reference folder to the Live server and restart IIS, it does not work. It throws the error:

'MyWebApp.MyWebReference.MySOAPServer' is not defined.

At the following line:
Dim webservice As New MyWebApp.MyWebReference.MySOAPServer

Is it required that I copy the project dll's along with web service to Live server? Is there a work around? Thanks!
0
Comment
Question by:Angel02
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39906832
Is it required that I copy the project dll's along with web service to Live server?
Yes. ASP.NET has a markup component (your *.aspx and, if you use MVC, *.cshtml files) as well as a compiled component (your *.cs files-a.k.a. code-behind). If you do not deploy the compiled component, which gets turned into a .dll file, then your service will not function.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
asp.net mvc5 6 20
C# LINQ ForEach() question 6 54
Adding items to a C# list incrementally 5 30
Designing forms 3 17
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
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…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

839 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