Solved

Web Service deployment

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

691 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