02 Nov 2004, 7:40 AM
|
jlwilliams1
Joined on 10-26-2004
Posts 12
|
Ok, I'm really at my wit's end now....
|
|
|
|
First of all, menubuilder can't seem to deal with relative file locations. So if I have my css file in my root directory, but the xml file is in a subdirectory, I can't refer to the css file as ../nostyle.css. That won't work. What does work is if I refer to it as /rootdirectory/nostyle.css.
Unfortunately, an "Inherits=" statement gets added at the top and when I try to view my page in a browser, it blows up.
This is the error message I get:
Server Error in '/NavajoCountyWebSite/Assessors' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: File or assembly name UltimateMenu, or one of its dependencies, was not found.
Source Error:
Line 1: <%@ Register TagPrefix="cc1" Namespace="Karamasoft.WebControls" Assembly="UltimateMenu" %> Line 2: <%@ Page Language="vb" smartnavigation="True" CodeBehind="Assessorhome.aspx.vb" AutoEventWireup="false" Inherits="NavajoCountyWebSite.Assessorhome" %> Line 3: <HTML>
| Source File: c:\inetpub\wwwroot\NavajoCountyWebSite\Assessors\Assessorhome.aspx Line: 1
Assembly Load Trace: The following information can be helpful to determine why the assembly 'UltimateMenu' could not be loaded.
=== Pre-bind state information === LOG: DisplayName = UltimateMenu (Partial) LOG: Appbase = file:///c:/inetpub/wwwroot/NavajoCountyWebSite/Assessors LOG: Initial PrivatePath = bin Calling assembly : (Unknown). === LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: UltimateMenu LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/navajocountywebsite_assessors/be7b5bde/5d6ed094/UltimateMenu.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/navajocountywebsite_assessors/be7b5bde/5d6ed094/UltimateMenu/UltimateMenu.DLL. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NavajoCountyWebSite/Assessors/bin/UltimateMenu.DLL. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NavajoCountyWebSite/Assessors/bin/UltimateMenu/UltimateMenu.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/navajocountywebsite_assessors/be7b5bde/5d6ed094/UltimateMenu.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/navajocountywebsite_assessors/be7b5bde/5d6ed094/UltimateMenu/UltimateMenu.EXE. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NavajoCountyWebSite/Assessors/bin/UltimateMenu.EXE. LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NavajoCountyWebSite/Assessors/bin/UltimateMenu/UltimateMenu.EXE.
| Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
I'm really unhappy with the way menubuilder can't do relative referencing of the css file. I can place the css file in the same subdirectory as the xml file and it still won't recognize it unless I provide a full path. This makes testing web stuff offline on a different machine very hard.
|
|
|
|
|
|
|
|