Thursday, February 09, 2012 | Register | Login 
Minimize
 Module Support Forums
 
 Forum Forum metaPost Forums metaPost Forums metaPost Featur... metaPost Featur... Error when accessing /metapost.ashx Error when accessing /metapost.ashx
Previous Previous
 
Next Next
New Post
 7/30/2010 12:18 PM
Unresolved
Accuraty
5 posts
No Ranking


Error when accessing /metapost.ashx
 
Modified By Accuraty  on 7/30/2010 1:21:51 PM
I have a DNN 5.04.04 site. I bought and installed MetaPost Pro (PE) 1.3.6 and installed it, everything went fine, no errors. When I tried to setup WLW I got an error immediately after entering the URL with "metapost.ashx" in it. I did some further testing and found that metapost.ashx was throwing the following error. Note the part about the CookComputing component not matching the manifest vs. the assembly reference. How/where do I fix this? Or is the problem actually something else?

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event 
Event ID: 1309
Date: 7/30/2010
Time: 1:08:21 PM
User: N/A
Computer: HOST3511
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 7/30/2010 1:08:21 PM 
Event time (UTC): 7/30/2010 6:08:21 PM 
Event ID: 9784b1df5fc4419ea77b3bca7367ff33 
Event sequence: 14 
Event occurrence: 2 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/w3svc/118607326/root-13-129249864987096356 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: D:\DotNetPanel\HostingSpaces\====\========.com\web\ 
    Machine name: HOST3511 
 
Process information: 
    Process ID: 5576 
    Process name: w3wp.exe 
    Account name: HOST3511\========com_web 
 
Exception information: 
    Exception type: FileLoadException 
    Exception message: Could not load file or assembly 'CookComputing.XmlRpcV2, Version=2.4.0.0, Culture=neutral, PublicKeyToken=a7d6e17aa302004d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
 
Request information: 
    Request URL: http://www.========.com/metapost.ashx?calias=http://www.========.com&key=Blog 
    Request path: /metapost.ashx 
    User host address: 66.209.201.249 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: HOST3511\========com_web 
 
Thread information: 
    Thread ID: 9 
    Thread account name: HOST3511\========com_web 
    Is impersonating: False 
    Stack trace:    at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase)
   at System.Web.UI.SimpleWebHandlerParser.GetType(String typeName)
   at System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(Assembly builtAssembly)
   at System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(CompilerResults results)
   at System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results)
   at System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results)
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
New Post
 7/30/2010 12:27 PM
Accuraty
5 posts
No Ranking


Re: Error when accessing /metapost.ashx
 
Not sure if this helps, but in the /bin folder there are two files,

CookComputing.XmlRpc.dll - 114,688 bytes (internal assembly and product version say 2.1.0.3)
CookComputing.XmlRpcV2.dll - 110,592 bytes (internal assembly and product version say 0.0.0.0)
 
I do not see any reference to these files in web.config
 
New Post
 7/30/2010 12:28 PM
SuperUser Account
16 posts
No Ranking


Re: Error when accessing /metapost.ashx
 
The CookComputing is an error that occurs when other modules use older versions of the CookComputing dll.  Please send me an email directly to don along with oldtownit.com and I'll send you a recent metaPost build that works with DNN 5.2.x.  Installing this build should overwrite the CookComputing dll and solve the error you have above.
 
New Post
 9/10/2010 2:24 AM
Smart-Thinker
1 posts
No Ranking


Re: Error when accessing /metapost.ashx
 
Hi Don,

I have the exact same error - just installed the 1.3.6 on my DNN 5.2.2 install. Firstly the rule under FURLs was missing so I added that in as per your FAQ. Then when I navigate directly to the metapost page I get the CookComputing error. I also have both .dlls in my bin.

I have sent an email (from rod  . smart-thinker.com) to your email - thanks.
 
Previous Previous
 
Next Next
 Forum Forum metaPost Forums metaPost Forums metaPost Featur... metaPost Featur... Error when accessing /metapost.ashx Error when accessing /metapost.ashx