Tridion 2011 in 64bit App Pool - tridion

Is it possible to run SDL Tridon 2011 SP1 HR1 in an x64 Classic pipeline Application Pool under IIS 7.5.
The reason for the request is my SSO provider includes an ISAPI filter that must run in an x64 pool, in classic mode, due to increased security in IIS 7.5.
Current error:
Retrieving the COM class factory for component with CLSID {4ED977D7-A765-11D5-8071-00B0D0B98279} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Thanks in advance

From my research, you must 'enable 32-Bit applications' on the Tridion 2011 App_Pool.
I hear this will be sorted for Tridion 2013.

Related

IIS: Unrecognized attribute 'runallmanagedmodulesforallrequests'

I am experiencing trouble running a .Net core web application on a specific Windows 2016 server. The same packages is working on other servers running Windows 2016.
Things done
-Installed all components except CGI in Windows Server (IIS) >>Application Development
-Installed .Net 4.8
Detailed Error Information:
Module
IIS Web Core
Notification
BeginRequest
Handler
Not yet determined
Error Code
0x8007000d
Config Error
Unrecognized attribute 'runallmanagedmodulesforallrequests'

80040154 Class not registered

We have an old asp.net website built in 32-bit platform using .net framework 2.0.
This asp.net website is using a 3rd party com dll(testx.dll) along with interop dll(testx.Interop.dll) for one functionality.
And the code to access this dll was written in the cs file which is in the App_Code folder in the project.
This has been deployed to 32-bit windows server 2008 and everything is working fine here.
Now We are upgrading this application to .net framework 4.7.1 with the target platform as a 64-bit machine.
And This we need to deploy in 64-bit Windows server 2016.
I have registered successfully the testx.dll as below and could see the entry under Wow6432Node in the registry,
regsvr32 ..\testX.dll
I am facing the below issue while trying to access a class in Com dll in my local machine with VS2015. I also
tried by changing the target platform from Any CPU to x86 but got the same issue.
"Retrieving the COM class factory for component with CLSID {D00D7FB0-5997-11D4-8153-00E07D01A2E0} failed due to the following error:
80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."
And surprisingly Everything is working fine when I tried to verify the same com dll with a sample console application. This is again using the .net framework 4.7.1 with the target platform as Any CPU. Also, It is working fine with both target platforms Any CPU or x86.
Can you please help if I am missing something here?

Run ASP.Net MVC application in IIS 7 that built target framework as .Net 4.5.2

I have an ASP.Net MVC application that sets Target Framework as .Net Framework 4.5.2
I have to deploy this application to 2 servers that one is Microsoft Windows server 2008 R2 Enterprise (This one has IIS 7) and other one is Microsoft Windows Server 2012 R2 Datacenter (This one has IIS 8).
I deployed the application to above 2 servers. MS Server 2012 is working fine and MS Server 2008 is giving an error.
Here are things that I have done so far.
I have installed .Net 4.5.2 Framework to MS Server 2008.
It installed successfully. But I checked the file location.
Here is the screen grab.
(Please check the folder location also)
Then I compare with MS Server 2012. Here is the screen grab.
(Please check the folder location)
Inside the .NETframeworks folder it has folder called v4.0
Here are the application pools in IIS 7.
Here is the application pool in IIS 8.
Can someone please advise me to overcome this situation.
Update
Event Viwer -> Windows Logs -> Applications
shows this error.
PlatformNotSupportedException
This operation requires IIS integrated pipeline mode. at
System.Web.HttpResponse.get_Headers() at Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders..ctor(HttpResponseBase response) at Microsoft.Owin.Host.SystemWeb.OwinCallContext.CreateEnvironment() at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.GetInitialEnvironment(HttpApplication application) at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.PrepareInitialContext(HttpApplication application) at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.BeginEvent(Object sender, EventArgs e, AsyncCallback cb, Object extradata) at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Oracle ODP.net exception in asp.net on windows server 2012 standard R2

I am getting the below exception while connecting to oracle database from asp.net application on .Net 4.5 and OS Windows Server 2012 Standard R2.
System.DllNotFoundException: Unable to load DLL 'OraOps12.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I already installed correct oracle 64 bit client and all things verified like environment variable paths,security and paths in registry.
Same thing working fine on windows 8 and windows 10.
It seems that windows server 2012 not detecting that oracle client was installed.
It has been solved by using oracle client .exe setup instead of oracle client xcopy setup.

Installing VB6 runtime on Server 2008 x64 for use with ASP.NET Solution

I have an ASP.NET solution which uses a COM DLL written in VB6.
I've referenced the Interop in my solution and I call its functionality on my local machine running Windows 8.1 x64 and it works perfectly but when I deploy to the Windows 2008 R2 x64 web server I get the following error:
App_Code -> Retrieving the COM class factory for component with CLSID {A65D084F-7B19-4697-8BA4-C60B4E670CA3} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
By running Dependency Walker on the library I can see that the file MSVBVM60.dll cannot be found so I have installed the VB6 and VB6SP6 runtime files to no avail.
Please help.

Resources