Solved

Web Service deployment

Posted on 2014-03-05
1
570 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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.

777 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