?
Solved

Web Service deployment

Posted on 2014-03-05
1
Medium Priority
?
595 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 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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.
Suggested Courses

864 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