Solved

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

Posted on 2006-07-24
6
3,040 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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