Cannot run Webmatrix? I get a Web PageInspector error - asp.net

Previously I had Webmatrix, Visual C# Express and Visual Web Developer Express on my machine. I updated Microsoft Visual Studio Express and now I get ASP.NET failed starting up when trying to load Webmatrix:
This is the error message:
Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I have uninstalled Webmatrix and re-installed it. Also I removed Visual Web Developer.
This Visual Studio Web.PageInspector does not belong to Webmatrix I believe. How fo I get rid of this?

Related

asp.net (Visual studio 2013)

I am writing a Web API on Visual Studio 2013(in C#). While building the code Visual Studio shows no error and build succeeds. But when i try to hit a controller using my browser keeping visual studio in debug mode.The control does not goes to the debug point at controller instead it throws an exception a point which is unrelated to the flow.Saying:
Could not load file or assembly 'MySql.Data, Version=6.4.4.0,
Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its
dependencies. The system cannot find the file specified.
even though this assembly is there in reference of this project.

Could not load file or assemble for iAnywhere.Data.Sqlanywhere

I published my website application to one of my client side server and got the following error:
Could not load file or assembly 'iAnywhere.Data.SQLAnywhere, Version=11.0.1.20442, Culture=neutral, PublicKeyToken=f222fc4333e0d400' or one of its dependencies. The system cannot find the file specified.
Server Details:
Windows 2012 64bit version
I published my application from Visual Studio 2008.
So the framework version is 3.5.
DB: Sybase - Sqlanywhere 16.
It would be great someone can explain about the GAC settings or what do I need to do understand. I am a beginner.
Thanks

Asp.Net 4.0 Web Forms -Webpages.Deployment assemblie

I have a web application. The platform is Asp.NET 4.0 and I've used web forms. It's not MVC.
I'm getting an error.
System.IO.FileLoadException: Could not load file or assembly 'System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Access is denied.
I've searched and the error is about MVC. I couldn't find any answer why it's happening at webforms. Also the project is working well at localhost. But when I publish it, I am getting that error.
Thanks...
Looks like you have a broken reference to a DLL in production - the DLL may not be in the GAC on the machine you pushed to. To verify, you can compare the bin folder locally to that on the production machine.
If it's not available on the deployment machine, right click the reference in your "References" folder and set "Copy Local" to true - then redeploy.

Old web application on server with .NET 4.0 stopped working

I have an old ASP.NET web application on a server, which was developed in Visual Studio 2008 in the year 2008. The server now has .NET 4.0 installed also. When I try to access the web app I get:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1703: An assembly with the same identity 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has already been imported. Try removing one of the duplicate references.
Source Error:
[No relevant source lines]
Is there anything I can do to get it to work without access to the original Visual Studio solution? I believe it has to do with the fact that .NET 4.0 is also installed on the server.
1) Have you checked the application pool your application is running under? Is it still .net 2.0 integrated/classic, or has it automagically changed to 4.0? If so, try changin back to 2.0.
2) Do you by any chance have a System.Web.Extensions.dll in the bin folder of the application? If so, try renaming it (similar situation as here)
3) If 1 is not an option and 2 is not the case, do you have any explicit references to the System.Web.Extensions in the app's config file? Are they requesting a different version of the file?

Crystal Reports Missing Assembly Issue

I have downloaded the sample from Here i have crystal reports 2008 (12.0.0.549) and vs 2010 is installed. I am getting the following error.
Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Can any one guide how to add missing assembly
Install the Crystal Reports 2010 and ensure that the you've NOT got a "Client Profile" selected under Target Framework in the Applicaiton tab under the projecst Propertiese
It didn't seem to work for me with a Client Profile.
Note: Cyrstal reports can still be 'designed' with CR2008.
Some more info on the SAP forum here.

Resources