Using the .WebInfo File to Move a Web Service

Using the .WebInfo File to Move a Web Service

If you create a web service using Visual Studio .NET and then later move or rename the folder that stores the web service, Visual Studio .NET will no longer be able to open the project file. Instead, Visual Studio .NET will display an error message similar to that shown in Figure 12.6.

click to expand
Figure 12.6: Visual Studio .NET will not be able to open a project file if you rename the folder that contains a web service.

To resolve the error, you can modify the web service’s .Webinfo file that specifies the project’s URL, as shown here:

<VisualStudioUNCWeb>     <Web URLPath = "http://localhost/DateService/DateService.vbproj" /> </VisualStudioUNCWeb>

. NET Web Services Solutions
.NET Web Services Solutions
ISBN: 0782141722
EAN: 2147483647
Year: 2005
Pages: 161
Authors: Kris Jamsa © 2008-2017.
If you may any questions please contact us: