Solved

ASP.Net Parser Error Message: Could not load file or assembly 'Microsoft.Matrix.Framework

Posted on 2006-07-24
6
3,031 Views
Last Modified: 2008-01-09
I was getting a parser error when trying to display a .aspx page .  I found the solution: Add Microsoft.Matrix.Framework.dll and Microsoft.Matrix.Framework.Mobile.dll to the Bin folder.  After adding the dlls I started getting a new error that I can't find a solution for.  I've pasted in the post dll and pre dll errors below.  How do I resolve this new error.  

NEW POST DLL ERROR.....
Server Error in '/catranch' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

Source Error:
[No relevant source lines]
Source File: web.config    Line: 84
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
-------------------------------------------------------------------------------

ERROR BEFORE LOADING dll files........
Server Error in '/catranch' 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 'Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 1:  <%@ Page Language="VB" %>
Line 2:  <%@ Register TagPrefix="wmx" Namespace="Microsoft.Matrix.Framework.Web.UI" Assembly="Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626" %>
Line 3:  <script runat="server">
Line 4:  
Source File: /catranch/catranchsched1and1.aspx    Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 --------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
0
Comment
Question by:timbuk2k
  • 4
  • 2
6 Comments
 
LVL 24

Expert Comment

by:Justin_W
ID: 17170640
Check: Source File: web.config    Line: 84

Your app probably doesn't have enough permissions to access one of the DLL's dependencies. Try making the app's App Pool Identity "Local System" or "Administrator" and see if that resolves the issue.
0
 
LVL 24

Expert Comment

by:Justin_W
ID: 17170647
Otherwise, do what the error message said here:

> To enable assembly bind failure logging, set the registry value
> [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
0
 

Author Comment

by:timbuk2k
ID: 17170698
Thanks Justin.  My web.config file has no line 84, it's very brief.  Also I'm trying to deploy this on a remote server (1and1.com) and am just trying to follow their instructions.  They are very slow to respond to questions too :(  I've pasted the contents of my web.config file below.  Regarding your other instructions are those things I can do within my app (developed with the simplistic Web Matrix IDE).
<!-- Web.Config Configuration File -->  

<configuration>
      <system.web>
            <customErrors mode="Off"/>
            <identity impersonate="true"/>
      </system.web>
</configuration>

Thank you,
Lynn
0
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 24

Accepted Solution

by:
Justin_W earned 500 total points
ID: 17170795
>> Also I'm trying to deploy this on a remote server (1and1.com)

That is info that you should have posted earlier. Hosted web servers often have security related issues, and typically don't allow you enough control to fix them. You'll probably have to resolve the issue with them. However, I find your web.config file to be abnormally brief. Are you sure that is the only web.config in your web site's or app's folders?
0
 

Author Comment

by:timbuk2k
ID: 17170980
Yup, that's it for web.config.  Web Matrix is very brief (or I am) but I had to create it manually to be able to debug remotely.  The info you've provided has been very helpful.  When I view source it does list in there that there are permission related problems.  Looks like you are right that I'll have to resolve with 1and1.  At least now I know I'm moving in the right direction (slowly).
Thanks for your quick response.  I'll go ahead and close this item now.
0
 
LVL 24

Expert Comment

by:Justin_W
ID: 17171086
You're welcome.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question