An application says Microsoft.jet.Oledb 4.0 provider is not registered on the local machine - oledb

I'm.not the developer of that application. I'm the user , I downloaded an application 64bit as they directed . When I try to open the application it says the error Microsoft.Jet.OLEDB4.0 provider not registered on the local machine. I googled and searched in stacks. All the solutions are to the developers.as a user how can I run this application , how do enable/register that provider

Try downloading Microsoft Access Database Engine.

Related

azure file share access via web application

C# ASP.NET MVC web application - I followed all the steps from https://blogs.iis.net/davidso/azurefile in order to be able to access my Azure location by unc.
My newly created local user is in the IISUSER Group and has the same username and pwd (storage key).
I then created an application in my website using a new APP Pool (integrated) w/said local user.
I ran the caspol command as well.
The issue I run into is when trying to do a file.SaveAs, I get an error
Incorrect username or password
Server.MapPath({application}) returns the correct unc path but doing a Directory.Exists won't locate the path.
When viewing the "connect as" with specified user in IIS I get no issues, additionally I can access the unc path directly from my local machine with same creds.
I tried going to the app pool of the application and set the user directly but no change there. Are there changes I need to make on the Website configuration that the application sits in? Prior to converting this to an application I initially had it configured as a virtual directory and got the same error.
Set the load user profile to "True" in the application pool:
try to set the azure user in iis anonymous authentication by clicking on the edit:

QuickBooks QBSDK "Could not find or create an instance of QuickBooks using InstanceFinder"

I have seen a couple of posts on here regarding this error.
However, I have not seen a solution that works for our situation.
I have a QuickBooks "Integrated Application" written in C# using QBFC 13.0. It is installed and working correctly on my test systems, but can't get it to work on the production Server.
We are using QuickBooks 2014 and running it on a Server 2008 machine.
I have tried:
01. Updating QB
Made sure the App is built for Target x86 only.
Keep QuickBooks running is Un-checked in the General Preferences.
QuickBooks and the application are running at the same user level
Path and Filename are correct.
Gave Full permissions to everyone for the files and folders
Tried a 3rd party software which is producing the same error
Tried running as different users. With and without admin
Here is part of the QBSDK log message:
Begin Session started...
OS: Microsoft Standard Edition (build 9200), 64-bit
Current Process is not elevated
Current User is in AdminGroup
Current Process is not ran as Admin
Current Process Integrity Level : 2000
Not in-proc request.
File info: "pathofQBFile.qbw", v24.0R8 (2403), wholesale, standard_stratum
Getting an instance of pRunningInfo
GetmajorVersion
GetReleaseNumber
Getflavor
GetdataFileVersion
There is a running version of QuickBooks: v24.0R8 (2403), wholesale, standard_stratum
Starting QuickBooks (no launch): Install info: v24.0R8 (2403), wholesale, standard_stratum
Performing QB Launch Retries
Check QB process ID before calling instance finder to find it.
Process Found -> 15996 for Current User -> username
QBW32.exe Proc Id: 15996
Getting the IUnknown COM instance of QB
Obtained the IUnknown COM instance of QB without an exception
QuickBooks launch succeeded.
Could not find or create an instance of QuickBooks using InstanceFinder
Connection closed by app named 'Quickbooks API Syncs'
========== Ended Connection ==========
Update
Using Process monitor, I found out that the application had no rights to some registry keys. After fixing all of the registry security settings, the Application is working now.

Excel 2010 interop issues

Right, this is driving me insane. This works fine locally with Excel 2013, but when the website is published to a remote server with Excel 2010 it fails. From what I can see the DCOM configuration is the same locally as remote.
After fighting with Excel 2010 and DCOM permissions for over an hour now the best I have got is this exception: System.Runtime.InteropServices.COMException (0x80070BBC): Office has detected a problem with this file. To help protect your computer this file cannot be opened.
This is the result of a web application trying to open a *.xls file from a location it has just uploaded to. The application pool is running under ApplicationPoolIdentity and I have set the permissions for this specific app pool under mmc -32 on Launch and Activation Permissions so there's no problem running Excel. What I think I'm facing here is protected mode issues as the file is definitely not corrupt.
I've gone into Excel and Trust Centre settings and have added the location where the *.xls file is uploaded to (and subsequently opened) as a trusted location. If I open the file on the hosting server (under my domain account) I don't get the protected view block on the file - however, the Identity on the DCOM configuration is set to the launching user. So, what does this mean from the following (or something I haven't listed):
I need to add this location as trusted at a group policy level because the account launching the actual application doesn't have this configuration in its profile?
I need to create an actual account on the server and use this account as the Identity for running the application?
... ?
Just to clarify I've already been down the DCOM Security config route and RIDICULOUS issues with C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop. The configuration is:
.NET 4.5 (classic pipeline) app pool running under ApplicationPoolIdentity
DCOM Config > Security > Launch and Activation Permissions all set for this specific identity (Access Permissions and Configuration Permissions all set to Use Default)
File is uploaded correctly and appears in destination, opening on the server itself (under my domain account) respects the Trusted Location and doesn't give protected mode warning
Process to parse fails with the above exception.
Here is a screenshot of the Interop assembly I'm using if this is pertinent.
Ok... for anyone stumbling on this issue I have bitten the bullet and had to do the following:
Create a local account (AutomatedOffice in my instance) and set DCOM config to run Excel under this account
Log in as above account and change Excel settings to add folder in application root to trusted location and disable protected mode messages
Allow "Network Service" to invoke DCOM processes locally (through server DCOM config and not CLSID config)
Add NTFS permissions for this account on C:\Windows[System32|SYSWOW64]\config\systemprofile\Desktop paths
What was weird, after creating the account I was getting the following exception Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. which was resolved by adding HOST\Users and HOST\NetworkServices group to DCOM security (local only!!!) settings.
You need to add in trust center, security locations the folder where your website is published, for examplo if your website reads a file from c:\temporal\ you must put on excel, security locations that folder name

Access denied in Message Queuing

I developed an application in Delphi 2010 that reads XML data from a transactional queue. It works fine if the queue is local or remote and I don't have to set permissions in both cases.
Now I have to convert that application into a Windows Service. I copied and pasted the same application into the service code, but when I try to read the queue I get the "Access denied" error. I'm doing the tests on my local machine.
Some people say that it's a matter of permissions. I found here in Stack Overflow some posts to the same problem but I didn't find the solution.
Any ideas? I'm using Windows 7 as well.
If you are running the application locally, you are running it under your Windows logon credentials. Services by default are launched under a different user account which may not have the same rights as your account does.
Bring up the service manager (start->services.msc), find your service in the list, right click it and select Properties. Then select the Log On tab and change it to a specific account name/password. (Use your account name / password.) You'll then be executing the code using the same credentials so your Access Denied error should go away.

Unable to access SAN storage device

I am attempting to programmatically FTP a backup file that is stored on a SAN device. The device has been mapped on the server. I tested the application by running it from an icon on the desktop and it works perfectly. When I run the program through a windows service I get an error message saying that the drive cannot be found. The account that the service was running under was the local account. I thought the issue might be that account so I created a new user and ran the service under that account. The same error message occurs. Has anyone experienced this before and found a resolution to this problem?
The drive mappings exist only for the logged on user. For this reason they are not visible to the service as it runs on lower level. You need to use some ftp client if you want to use the storage location from a service.
The same problem appears with network shares where you cannot access a network share mapped to a network drives from services. The correct way to access these shares from a service is to use an UNC path similar to "\\SANS\Backuplocation".

Resources