Good mnorning p2p,
I am working in the book Beginning Web Programming using
VB.NET & Visual Studio .NET, Chapter 13, Publishing Web Applications in .NET. In the section called ASP.NET Web Service Architecture, I have built the the web service Service1.asmx. and the WebForm1.aspx. When I tried to add the Web Reference I got
Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
So I Googled that and added a vsdisco file with code
<?xml version="1.0" ?>
<dynamicDiscovery
xmlns="urn:schemas-dynamicdiscovery:disco.2000-03-17">
<exclude path="_vti_cnf" />
<exclude path="_vti_pvt" />
<exclude path="_vti_log" />
<exclude path="_vti_script" />
<exclude path="_vti_txt" />
</dynamicDiscovery>
Visual Studio complains about the code
Dim oObj As New localhost.service
and says
Type localhost.service is not defined
The page comes up with no runtime or parser error
but the page is blank.
Have tried substituting the web server name
for localhost but got same result.
Is the vsdisco error related to the service not
being defined. What I really want to do is to
learn how to deploy ASP.NET web site from
development to production. Is there some way to
fix this or work around?
Thanks.
Allen in Dallas