Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7945419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:51:37+00:00 2026-06-04T00:51:37+00:00

Is it possible to use Code Numerics on Azure just for some computation like

  • 0

Is it possible to use Code Numerics on Azure just for some computation like standard deviation and so on, not using its distributed abilities and bypassing HPC? I am testing an MVC Web Role with some strong math and charting, I added references to the Cloud Numerics assemblies and the whole thing works in emulator (just some computation, no distributed stuff) but when I delpoy to Azure it reports dependencies problems with Cloud Numerics dlls? I would really appreciate some advice. (I know it would be better just to use some standard math library for that but I really need to know if it is possible this way).
I have initially thought that this might be the architecture problem: whole project is AnyCpu (it can only be AnyCpu or x64 as Azure allows only these two confs) and some of the CLoud Numerics libraries are compiled for x64. But my dev machine is x64 win 7 and I repeat: IT WORKS IN EMULATOR, but not in the cloud.

Here are the exception details:

Could not load file or assembly 'Microsoft.Numerics.DistributedDenseArrays.DLL' or one of its dependencies. The specified module could not be found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Numerics.DistributedDenseArrays.DLL' or one of its dependencies. The specified module could not be found.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 


[FileNotFoundException: Could not load file or assembly 'Microsoft.Numerics.DistributedDenseArrays.DLL' or one of its dependencies. The specified module could not be found.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +567
   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +192
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +123

[ConfigurationErrorsException: Could not load file or assembly 'Microsoft.Numerics.DistributedDenseArrays.DLL' or one of its dependencies. The specified module could not be found.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11567856
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +485
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +79
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +337
   System.Web.Compilation.BuildManager.CallPreStartInitMethods() +280
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1167

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Numerics.DistributedDenseArrays.DLL' or one of its dependencies. The specified module could not be found.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11700592
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4868789

The mentioned dll Microsoft.Numerics.DistributedDenseArrays is naturally included as a copy always along with other dependencies as stated in dependency walking tool.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:51:38+00:00Added an answer on June 4, 2026 at 12:51 am

    OK, problem solved.

    Solution: There was sth. missing from Cloud Numerics (one more native library from Cloud Numerics install dir) and, what is more interesting: there was an extra DevExpress Printing.Core library reference in Web.config while it was not added as a reference to my project. Why it is more interesting? Mainly because I had to use ProcMon on my WebRoles to acknowledge the fact and after I filled the blank I got a far more useful error stating which precise library from Cloud Numerics is missing in my deployment.

    Conclusions: ProcMon is a very useful tool, the RDP for Azure VMs is priceless.

    Tip: if you ever try to deploy a project on Azure that utilizes CN library do not forget to add msmpi.dll from Microsoft HPC Pack as a CopyAlways content, also pay attention to what type of msmpi.dll you are referencing (x32 or x64).

    Thank you guys, every answer brought me closer to the solution. The credit goes also to Cloud Numerics Lab team, especially to Roonie Hoogerwerf.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to use reflection to know what the code is doing, not
I was wondering if its possible to use the Google maps IFRAME code to
Is it possible to just use this code alone to do two different regex
Is it possible to use C/C++ code in Android? And how easy is it?
Possible Duplicate: Home button listener I use below code to listener home button pressed:
Is it possible to use Visual Studio's testing system with native code? I have
How to process dynamic source code in C++? Is it possible to use something
Is it possible to change PowerPacks.LineShape smoothingMode? I tried to use this code(a class
I have the following code which I use to match fancybox possible elements: $('a.grouped_elements').each(function(){
Is it possible to use Code::Blocks to develop for iPhone? I mean if I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.