IIS COM component failure - Azure VM - asp.net-mvc

I am working on a website that uses Sage 50 Interop component dll and it all works fine in VS and my local IIS but on Azure VM IIS it throws an error.
(Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
I have been at it for days now and have no idea what else to check or configure.
Note: I had an older version of this DLL and it worked well. All the newer versions are throwing this error on Azure.

Related

Issue occurs while installing the windows service on Windows Server 2012 R2

I have created a windows service which is successfully installed on my machine as well as some other local machines.
But when I try to install the same on client's server which is Windows Server 2012 R2 it is getting error stack as below:
The inner exception System.ComponentModel.Win32Exception was thrown with the following error message: The service did not respond to the start or control request in a timely fashion.
For this, I have tried some solution as below:
Adding ServicePipeTimeout in regedit so that it can increase the timeout.
Comparing Microsoft .Net Framework's version used in windows service and Windows Server 2012 R2.
Both of the solutions did not work for me. Can someone guide me through this issue?

Running my asp.net 4.5 web application under visual studio 2012 will raise the following error:- HTTP Error 500.0 - Internal Server Error

I am working on an asp.net mvc 4 web application (using .net 4.5). and i am using Visual Studio professional 2012. now when i run the project inside VS-2012 i will get the following error:-
HTTP Error 500.0 - Internal Server Error
Although i am hosting the same application under IIS-8 and it is working well. but if i run the same web application inside Visual studio i will get the above error. i am using windows server 2012 r2.
can anyone adivce why my project is not working when i try running it inside VS? and this problem appeared all of a sudden i mean last week i was able to run the application without any problem..
Thanks
here is the event viewer errors regarding my problem , one related to iis-express, while the other related to VS:-
An application has reported as being unhealthy. The worker process
will now request a recycle. Reason given: An error message detailing
the cause of this specific request failure can be found in the
application event log of the web server. Please review this log entry
to discover what caused this error to occur. . The data is the error.
Windows cannot access the file for one of the following reasons:
there is a problem with the network connection, the disk that the file
is stored on, or the storage drivers installed on this computer; or
the disk is missing. Windows closed the program Microsoft Visual
Studio 2012 because of this error.
Program: Microsoft Visual Studio 2012 File:
Have u checked the "most likely causes". Possibly it is permissions issue. You may need to check startup project or you may need to review your web.config file

mvc 4 application deployment error method not found

Every thing is working fine on my local machine but getting error on live server IIS 7.5
Method not found: 'Void
Microsoft.Web.Infrastructure.DynamicValidationHelper.ValidationUtility.GetUnvalidatedCollections(System.Web.HttpContext,
System.Func1<System.Collections.Specialized.NameValueCollection>
ByRef,
System.Func1
ByRef)'.
MVC4 is not part of Windows Server 2008 R2.
You need to localcopy all MVC4 assemblies.
System.Web.Mvc.dll
System.Web.Razor.dll
System.Web.WebPages.dll
System.Web.WebPages.Razor.dll
System.Web.WebPages.Deployment.dll
System.Web.WebPages.Administration.dll
System.Web.Extensions.dll
System.Web.Helpers.dll
Microsoft.Web.Infrastructure.dll
Microsoft.Web.Http.dll
Microsoft.Web.Http.WebHost.dll
Microsoft.Web.Http.Tracing.dll
Microsoft.Web.Http.OData.dll
Microsoft.Data.OData.dll
System.Web.Optimization.dll
System.Web.Providers.dll
System.Net.Http.Formatting
System.Spatial.dll
Antlr3.Runtime.dll
Edit:
Are you using a developer preview version of one or all dlls on your development computer, and have you installed the MVC framework on the server ?
If yes, the GAC version of the dll would take preference over the bin-deployed version.
Try MVC-Diagnostics:
http://haacked.com/archive/2010/12/05/asp-net-mvc-diagnostics-using-nuget.aspx

Running IntelliTrace on a box without Visual Studio on a Managed Windows Service

I keep getting the same error when attempting to run IntelliTrace on a Managed Windows Service under a 64 bit installation of Windows 7
.NET Runtime version 4.0.30319.239 - Loading profiler failed during
CoCreateInstance. Profiler CLSID:
'{301EC75B-AD5A-459C-A4C4-911C878FA196}'. HRESULT: 0x800700c1.
Process ID (decimal): 3772. Message ID: [0x2504].
The article that I referenced as the source: http://blogs.msdn.com/b/msaffer/archive/2011/02/23/using-intellitrace-with-services.aspx
Has anyone attempted this with much success?
The MSDN blog post you referenced assumes you have VS 2010 installed on the box. Intellitrace is not supported without VS 2010. In fact, the CLSID in your error message points to "C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\TraceLogProfiler.dll", which is apparently part of VS intallation.
There is another blog post here that claims to have solved the problem. You can try that.

Application in ASP.NET MVC 2 Beta running on IIS 7.5

i have problems runnning an mvc2beta application in iis 7.5.
WebServer:
Windows Server 2008 R2 (x64)
Application:
MVC 2 Beta (developted in Visual Studio 2010 Beta)
On IIS i added a new application beneath the Default Web Site and the new application has Application Pool ASP.NET V4.0
If i runn application within Visual Studio everything is fine. but on IIS Server i became an error page:
Service Unavailable
HTTP Error 503. The service is unavailable
What is missing?
In Event Log got this Message:
Application pool 'DefPool' is being
automatically disabled due to a series
of failures in the process(es) serving
that application pool.
If you have upgraded to .NET v4 then delete any older versions from %windir%\Microsoft.Net\Framework and try again. Also, check again that the application pool isn't set to use v4.0, and not v2.0.
Without seeing your debug messages, it's hard to diagnose what these failures were.

Resources