I have to do a modification on an old COM+ app written in C# 2.0. But when I try to register the DLL on a windows server 2008 machine with 'regsvcs excelserver.dll', I get the error:
The following installation error occurred:
1: FATAL: Could not find component 'Excelserver.CExcelManager' we just installed
I tried to run in as admin, and turned off UAC, but it doesn't make a difference.
If I try it on a windows 7 or windows server 2003 machine, it works.
Any ideas why this doesn't work on a windows server 2008 machine? It seems I don't find any additional logging in the event log.
Thanks,
L
You need to register using the 64-bit version of regsvcs instead of the 32-bit version.
Related
I have developed a desktop application in c# & SQL server 2012 using Visual Studio 2013. I have included the reference for Microsoft.VisualStudio.DebuggerVisualizers and set copy local : true.
The application runs perfectly on client systems with windows 8, 10.
But its showing this error while installing on a windows 7 system.
- OS Windows 7 Ultimate
- already installed .NET Framework 4.5
- installed Report Viewer.exe 2012
- installed report viewer.msi 2010
- installed sqlclr types
- the system doesnt have any microsoft c++ redistributable , i am not sure whether it has any impact.
I checked in the assembly folder, but couldnt find the Microsoft.VisualStudio.DebuggerVisualizers.dll
Am I missing any prerequisites here? How to solve this issue so that i can install the application
Error Message
It needs the Microsoft.VisualStudio.DebuggerVisualizers.dll in the global assembly cache. The GAC is the area where libs are placed which can be accessed from all of the system.
It's kinda a ugly fix but you could place this lib in the same or subdirectory of the same directory where the application is.
Is it possibly that you haven't installed VS on that Win7 machine but on the others?
Unintentionally the Microsoft.VisualStudio.DebuggerVisualizers.dll had been included in the project reference. And in the client system the specified dll could not be found even after trying to install it. Hence I removed it from reference and then it worked perfectly fine without any issues. I guess instead of report visualizer i have included debuggervisualizer. It was a manual error.
Thank you for your support
I am getting this error when i am trying to install VS project in a 64 bit System. I already download and install AccessDatabaseEngine . There is any other method to do that, i am using MS Access(Office 2007) database to my application. both systems are using x32 system tools **. if i am installing **AccessDatabaseEngine(x64) it is getting an error your system consists of (x32 system tools)
Try to find out your solution from here
For Web
If you have installed the AccessDataEngine and are still getting the Not Registered error
AND
you are running IIS7 on a 64 bit server,
MAKE SURE
you have enabled 32-bit applications for the application pool associated with the website. In IIS, Right click on the application pool. In the properties window, the 2nd option from the top is "Enable 32-Bit Applications". Set it to true.
I have a standalone application used for CRON that I deployed to a Windows Server 2008 machine that keeps giving me the error below.
System.InvalidOperationException: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I did some research on the subject and it seems a 64 bit application does not work with the MSJet dll for 64bit. So the solution was to recompile the application and have it targeted for a 32bit machine, however I cannot do that in my project. I looked the in the C:\Windows\SysWOW64 folder and found both the msjet40.dll and msjetoledb40.dll files. Is there any other way I can run this application as is or maybe in a compatibility setting since I cant target it to 32 bit when I build it.
You cannot use msjet40.dll or msjetoledb40.dll if your application is a 64-bit process. You will have to use the ACE OLEDB 12.0 which is the only real alternative that supports 64-bit process. Your only other option is to compile the application as a 32-bit process.
You can download this driver from: Microsoft Access Database Engine 2010 Redistributable and if you are looking for additional information you can find it here
I have created just a simple web service as a console application. It works fine on my dev machine and even on one of my servers. when I installed it on my production server I keep catching this error
the error that I am catching says
Retrieving the COM class factory for component with CLSID {BF97F9A2-A475-4F26-9B
5B-3A14F02D9824} failed due to the following error: 80040154.
My dev machine is 32 bit windows 7. The Server that it works on is server 2008 64bit, the server that is DOES NOT work on is also server 2008 64 bit.
any idea how to resolve this?
thanks.
Make sure the COM component you are accessing is registered.
See the answer to this post on social.msdn:
The problem was simply that the 3rd party dll required other dlls that were not on the system. So I installed the required (other) dlls and everything is fine.
Check that everything your service needs is properly installed on the server.
SqlServerCe doesn't seem be supported in .net 4.0. But since I needed an embedded database in my application, I gathered all the necessary 3.5 dlls and included them so that my wpf application could use SqlServerCe as its embedded database.
The application works on my development machine, but now that I've created an installer, and am installing the application on other machines, I keep getting this exception on hose machines:
Unable to load DLL 'sqlceme35.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
That dll is definitely included in directory where the application is installed. I've even tried copying all related SqlServerCE dlls to the System 32 folder. Nothing I've tried so far has resolved the problem.
Any suggestions?
I just recompiled an app I have that uses SQL Server CE 3.5.1 in .NET 4.0 and it works just fine. Here are a few things to check:
Are you including all of the SQL
Server CE DLLs in your installer?
There are 7, not just 1. The others are native DLLs which are the actual core of SQL Server CE.
SQL
Server CE has x86 and x64 version
DLLs. Are you using the correct
version for the OS you are
installing on?
I resolved my problem by installing:
Microsoft SQL Server Compact 3.5 Service Pack 2 Beta 2 for Windows Desktop:
I solved the problem by installing the Microsoft Visual C++ 2008 Redistributable Package (x86)
In my case the Microsoft.VC90.CRT.manifest from \bin\amd64\Microsoft.VC90.CRT respectively \bin\x86\Microsoft.VC90.CRT was missing. When deploying your solution, it isn't part of the release by default but on some servers it seems to be necessary.