Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2005, 02:48 PM
Registered User
 
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installation problems VB version

I too am having problems installing the site in the book. I followed the steps in the readme file without any problems, but when I open http://localhost/thephileVB in IE version 6 on Win XP Pro I get the following error. Any help would be greatly appreciated.

Server Error in '/thePhileVB' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30560: 'PhilePage' is ambiguous in the namespace 'Wrox.ThePhile.Web'.

Source Error:

Line 74:
Line 75: ' Write error to screen
Line 76: Wrox.ThePhile.Web.PhilePage.ShowError(currentError )
Line 77:
Line 78: ' Clear error so that it does not buble up


Source File: C:\wrox\ThePhileVB\App_Code\Global.asax.vb Line: 76

Compiler Warning Messages:
Warning: BC40000: 'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202'
Source Error:

C:\wrox\ThePhileVB\App_Code\Controls\Server\Naviga tor.vb

Line 36:
Line 37: Dim xDoc As New XPathDocument(Context.Server.MapPath(mySourceFileP ath))
Line 38: Dim xslt As New XslTransform()
Line 39:
Line 40: With xslt


Show Detailed Compiler Output:



Microsoft (R) Visual Basic Compiler version 8.0.50215.44
for Microsoft (R) .NET Framework version 2.0.50215.44
Copyright (C) Microsoft Corporation 1987-2003. All rights reserved.

C:\wrox\ThePhileVB\App_Code\Controls\Server\Naviga tor.vb(38) : warning BC40000: 'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202'

      Dim xslt As New XslTransform()
                      ~~~~~~~~~~~~
C:\wrox\ThePhileVB\App_Code\Global.asax.vb(76) : error BC30560: 'PhilePage' is ambiguous in the namespace 'Wrox.ThePhile.Web'.

      Wrox.ThePhile.Web.PhilePage.ShowError(currentError )
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Show Complete Compilation Source:


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44

 
Old August 30th, 2005, 06:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You didn't migrate the solution to ASP.NET 1.1 correctly. It was written for ASP.NET 1.0, so you should remove all the original .pdb and .dll files and rebuild the whole solution.

Because of the way references work, you'll be breaking them when you remove the DLLs. The solution isn't set up to automatically recreate them in the right order, so you'll have to put in some work to get it going under 1.1.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation problems - server error (C# version) MS BOOK: ASP.NET Website Programming Problem-Design-Solution 5 July 1st, 2007 09:46 PM
Multiple Version Installation Annoyance? seananderson Access 4 April 24th, 2007 07:42 AM
Is there any problems in the C# version? asptwodev BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 October 26th, 2006 10:54 AM
Installation Problems Brian.Boyle Linux 1 November 7th, 2003 05:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.