Solved

Web Service deployment

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

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
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 PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now