Solved

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

Posted on 2006-07-24
6
3,022 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

13 Experts available now in Live!

Get 1:1 Help Now