Hello
I'm getting this parser error when loading my website. I only get it when I use the 'copy website method' in VS 2010 Express.
When I make a package to publish the website it works fine. GleamTech dll is in root/bin directory and web.config in folder
FileUltimate. I assumed the that I had to provide more assembly information in the <%@ Registry Assembly but then I get another parser error. I would appreciate some help.
Thank's
/Hasse
Server Error in '/' 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: Could not load file or assembly 'GleamTech.FileUltimate' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Title="" Language="VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="FileMgr.aspx.vb" Inherits="FileMgr" %>
Line 2: <%@ Register TagPrefix="GleamTech" Assembly="GleamTech.FileUltimate" Namespace="GleamTech.Web.UI" %>
Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
Line 4: </asp:Content>
Source File: /FileMgr/FileMgr.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'GleamTech.FileUltimate' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\ASP.NET v4.0
LOG: DisplayName = GleamTech.FileUltimate
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: GleamTech.FileUltimate | Domain ID: 2
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/inetpub/wwwroot/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Server Error in '/' 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: Could not load file or assembly 'GleamTech.FileUltimate, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Title="" Language="VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="FileMgr.aspx.vb" Inherits="FileMgr" %>
Line 2: <%@ Register Assembly="GleamTech.FileUltimate, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8" Namespace="GleamTech.Web.UI" TagPrefix="GleamTech" %>
Line 3:
Line 4: <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
Source File: /FileMgr/FileMgr.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'GleamTech.FileUltimate, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8' could not be loaded.
=== Pre-bind state information ===
LOG: User = IIS APPPOOL\ASP.NET v4.0
LOG: DisplayName = GleamTech.FileUltimate, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8
(Fully-specified)
LOG: Appbase = file:///C:/inetpub/wwwroot/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: GleamTech.FileUltimate, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a05198837413a6d8
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Hans Söderman
10/26/2012 12:27 AM