Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Problem Issue Error Resolve Could not load file or assembly Microsoft.VisualStudio.Web.Runtime

Resolve Could not load file or assembly Microsoft.VisualStudio.Web.Runtime

Not sure why I always encounter a server error message “Could not load file or assembly ‘Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.” whenever I create a new web project in my Visual Studio Express. The same issue even occurs on my previous or client projects.

This issue starts occuring after installing Sitefinity, there are something wrong with my current .Net framwork but I don’t know what.

Could not load file or assembly Web Runtime

Could not load file or assembly Web Runtime

In order to fix this quickly, I have to add 1 line in the web.config file:

<remove assembly="Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

<remove assembly="Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

An sample of the web.config like this:

<?xml version="1.0"?>
<configuration>
 
    <system.web>
        <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <remove assembly="Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        </assemblies>
        </compilation>
    </system.web>
 
</configuration>

<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" targetFramework="4.0"> <assemblies> <remove assembly="Microsoft.VisualStudio.Web.Runtime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </assemblies> </compilation> </system.web> </configuration>

Hope I can find a way to solve this problem completely soon.

Dec 23, 2011Hoan Huynh
Create Amazon CloudFront With Your Own Domain And Own Files ServerInternet Explorer 9 Has Modified This Page To Prevent Cross-Site Scripting
You Might Also Like:
  • How To Track Website With Multiple Google Analytisc Accounts
  • Facebook Like Button And Recommend Button With fb:like, iframe and html5
  • PowerShell Piwik – File cannot be loaded because the execution of scripts is disabled on this system
  • Facebook Load User Profile Via Graph API And FQL Query
  • Load And Save Facebook Profile Picture Of User
  • Get File Mime Type Using PHP
  • Free .Net DLL Decompiler And Assembly Broswer
  • PHP Get Remote File Size And Content Type
  • Changing hosts file in Windows
  • Jquery checkbox checked
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

9 years ago Problem Issue ErrorSitefinity, Visual Studio, Web.config985
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
22,209 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
20,077 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
15,854 views
JQuery Allow only numeric characters or only alphabet characters in textbox
13,334 views
C# Read Json From URL And Parse/Deserialize Json
9,828 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Photo Editor App – How Good Is it?

  • The Best Way To Write An Essay – Creating A Good Essay
  • Free Online Photo Editor
  • Easy Tips For Writing An Essay
  • What Can I Expect From An Academic Essay Service?

Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (28)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (114)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development