Solved

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

Posted on 2006-07-24
6
3,029 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now