The specified store provider cannot be found... as service

I get the error "+The specified store provider cannot be found in the configuration, or is not valid.+" when I run my application as a windows service. If I run it as a "normal" exe file everything run OK.

I found the solution. I need to force compile to x86.
I'm using the new Oracle.ManagedDataAccess.dll

Similar Messages

  • The specified store provider cannot be found in the configuration, or is...

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    All,
    I have a solution developed in Visual Studio 2012 targetting .Net 4.0. Simplified: Startup project is a WPF library and supporting this library is another project that uses Entity Framework to retrieve data. I have copied the connection strings from my EF project to my startup project, and everything seems to work fine on the development machine.
    However, as sson as this project is run on a user's desktop they get the error:
    System.ArgumentException
    The specified store provider cannot be found in the configuration, or is not valid.
    Stack trace (transcribed from screenshot, so there might be typos):
    at.system.Data.EntityClient.EntityConnection.GetFactory(String providerString)
    at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
    at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
    at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
    at System.Data.Entity.Internal.,LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
    at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
    at System.Data.Entity.Internal.LazyInternalConnection.CreateObjectContextFromConnectionModel()
    at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
    at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
    at System.Data.Entity.Internal.Linq.InternalSet` 1.Initialize()
    at System.Data.Entity.Internal.Linq.InternalSet` 1.get_InternalContext()
    at System.Data.Entiy.Infrastructure.DbQuery` 1.System.Linq.IQueryable.get_Provider()
    at System.Linq.Queryable.Where[TSource](IQueryable` 1 source, Expression` 1 predicate)
    at MyEntityNameSpace.MyEntitySet.LoadData()
    I've already verified that Oracle.DataAccess is referenced in my EF project, and I'm including oci.dll, orannzsbb11.dll, oraociei11.dll, and OraOps11w.dll in my main library (fat installation).
    This configuration worked when using the older ADO.Net DataSets, but now I want to use EF 4.4 (DataBase first/model first/whatever it's not Code First) because it's just easier to code against. So obviously I'm missing something when it comes to deploying my solution. Any ideas?
    Note that this is a desktop application using MS OneClick.

    Same issue:
    The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
    You mention "Sounds like the client system doesn't have an Oracle client installed."
    I am using Win Server 2008 R2. I have installed what i think is the right client. How do i tell?
    What is the right client? Where do i get it?

  • The specified store provider cannot be found in the configuration?

    I got the error "The specified store provider cannot be found in the configuration, or is not valid"
    while excuting the following command:
    E:\Windows\Microsoft.NET\Framework\v4.0.30319\EdmGen.exe /nologo /language:CSharp
    /mode:ViewGeneration /inssdl:$(TargetDir)Entities.ssdl
    /incsdl:$(TargetDir)Entities.csdl /inmsl:$(TargetDir)Entities.msl
    /outviews:$(ProjectDir)Entities.Views.cs
    this is to pre_generate views to improve Entity framework performance, itruns well for SqlServer.
    What is the issue? I checked in machine.config, it seems ok:
    <DbProviderFactories>
    *<add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>*
    <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>
    </DbProviderFactories>

    Hey,
    Can you check if the line: DbProviderFactory factory = DbProviderFactories.GetFactory("Oracle.DataAccess.Client"); works in a simple console app?
    I had the same problem when I had installed both x86 and x64 versions of ODAC. There are two workarounds for x86&x64 issue here[http://connect.microsoft.com/VisualStudio/feedback/details/728483/edmgen-4-0-with-oracle11g-dac-win-7-x64] .

  • SBO Mailer Error - The specified resource type cannot be found in the image file

    Hi Experts,
    I have created an alert in SBO and selected email and internal option for same. I get internal message however email is not getting delivered, I checked the Event Viewer of Windows and below error is shown for SBOMail.
    The description for Event ID 62 from source SBOMail cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Failed to mark records error [-1]
    The specified resource type cannot be found in the image file
    I can send email from sbo for other documents but the alert is not delivering email.
    Please advise.
    Thanks
    Deepak

    Hi Deepak..
    Check with these threads...
    http://scn.sap.com/thread/966957
    http://scn.sap.com/thread/1295818
    SBOMail Application log error
    SBOMail error in event log
    Hope Helpful
    Regards
    Kennedy

  • The specified resource name cannot be found in the image file.

    Dear Experts,
    I have developed an import too and it imports many of the Business Objects from a temporary data base to SAP B1. It was running fine for more than 6 months now.
    Currently when the Tool is importing Credit Notes in to SAP B1, the following error is thrown.
    The specified resource name cannot be found in the image file.
    And I have no Clue about the error. Any one had any experience regarding the above error???
    Thanks in Advance,
    Vasu Natari.

    Hello VAsu,
    Somethimes this unexpected, ununderstandable eroor messages caused by corrupted observer dll.
    Do a clean up (delete %TEMP%SM_OBS_DLL) folder, and see the result ! (i had several issues in the past with some strange messages...)
    Regards
    János

  • Microsoft.Exchange.WebServices.Data.ServiceResponseException : The specified folder could not be found in the store

    In office365, I am trying to access conversation history folder of another user using EWS api.The user that is trying to access has full access rights of the mailbox . If i connect to the mailbox using owa, i can access the conversation history folder
    including all other folders. But when i try to connect from the code using ews api below exception is being thrown:
        Microsoft.Exchange.WebServices.Data.ServiceResponseException occurred HResult=-2146233088 Message=The specified folder could not be found in the store. Source=Microsoft.Exchange.WebServices StackTrace:
    Here is the relevant code
    var mailbox = new Mailbox(lyncUser.UserName);
    var lyncFolderId = new FolderId(WellKnownFolderName.ConversationHistory, mailbox);
    var lyncFolder = Folder.Bind(_exchangeService, lyncFolderId);
    Also, the exception doesn't occur if connected to WellKnownFolderName.Inbox.

    The WellKnowFolderEnum only works if the folder was created via the Lync 2013 client if the Mailbox is old and has been using older lync clients then you need to search for the folder via name eg see
    https://msdn.microsoft.com/en-us/library/office/hh243707%28v=office.14%29.aspx . Generally you want to use both methods eg try to bind to the WellKnowFolderEnum first then use the search method if that fails.
    Cheers
    Glen

  • DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found.

    Hello Everyone,
    We are getting an error while trying to create an Universe via Microsoft -> MS Analysis Services 2014 -> OLEDB for OLAP Provider under Connection in UDT -"DBD: Error while trying to load the transport provider for odbc. Failed to load the library. System error: The specified module could not be found."  We have installed BI 4.1 SP05 in our system. As per earlier posts in scn in BO XI 3.x this issue used to be for improper installation of Integration KIT but in our scenarion Integration KIT is within the BO 4.1 package so no seperate installation is required. Moreover I have checked whether all the driver is present under file: "C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\drivers" and seems everything is fine. But still I am getting this error. One important point is we could use IDT because in IDT still we don't have option to connect with 'Microsoft Analysis Services - 2014 (XMLA)' as we are using Microsoft Analysis Services 2014 version.
    Kindly help if anyone has faced the same problem with SAP BO 4.1.
    Thanks and Best Regards,
    Ghosal

    Hello Everybody,
    The problem is solved now after installing "OLEDB drivers from SQL Server 2012 Feature Pack". We had OLEDB drivers that comes directly from SQL Server but that did not worked out in our case.
    Thanks for your support.
    Best Regards,
    Ghosal

  • When i try to connect to the app store i get a message a server with the specified hostname could not be found?

    When i try to connect to the app store i get a message a server with the specified hostname could not be found?

    No, its been never jail break this happens sometimes but sometimes it doesnt. And he is not in the U.S.A, and is using his iphone in another country. Can it be because of a modem or bad internet?

  • TS1544 Cannot reset keychain password. I get "The specified keychain could not be found.

    Cannot reset keychain password. I get "The specified keychain could not be found.

    Hi Donald, first do this...
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    Any change on reboot?

  • Whenever I try to download an app [from the app store on the computer], a popup message appears saying 'A server with the specified hostname could not be found'. What could I do to resolve this?

    Whenever I try to download an app [from the app store on the computer], a popup message appears saying 'A server with the specified hostname could not be found'. What could I do to resolve this? I am using a MacBook Pro laptop. There is around 250 gb of free space. Please help

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then try to update. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name or email address, may appear in the log. Anonymize before posting.
    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

  • JNI: The specified procedure could not be found.

    Hi All,
    I think everyone who has ever worked with JNI has seen this error at some point "UnsatisfiedLinkError The specified procedure could not be found."
    I have a problem where I have an existing JNI library ( C++/Windows) that has worked for some time. I recently upgraded the compiler and rebuilt the JNI library. Now I get the above error. The environment has not changed, except for the newly built .dll and maybe some other .dlls that it depends on. The .dll is being found because I debugged from where the Java class calls System.loadLibrary() and the path to the .dll is resolved correctly. The problem comes when the ClassLoader actually tries to load it. I don't understand what "specified procedure" it means. No procedure is even being called. The problem happens when the library is being loaded not when I try to call a native method in the library. I cannot debug any further because I get to the native call that actually does the load and of course I cannot do any more. Is there any way to get more information so that I can figure out what the problem is or maybe someone has had a similar issue and can provide some hints?
    many many thanks!
    B

    Did you perhaps change one of the java classes by putting it in a different package? That changes the required native method signature.
    With regard to the C/C++: OK - what I mentioned was - in your case - apparently not the problem. But lots of folks have had problems with this. The reason is that frequently compilers trigger on surprising things - for example the fact that the source code is in .cpp files instead of .c files. (I've seen reports that users changing compilers have stumbled into thgis problem.) The point is that compilers generate a different style of code for C vs C++. (Perhaps strictly speaking it isn't code - it is annotations used by a linker to match up callers with called subroutines.) The JNI interface is a C interface, not a C++ interface, and that's why the wrong code generation can give grief.

  • O/S-Error: (OS 126) The specified module could not be found.

    i get this error in my vb6.0 application...
    "O/S-Error: (OS 126) The specified module could not be found.
    ROW-00054: Cannot load the library"
    Assuming my connection is fine...
    DB is oracle 9.2.0.4 patch installed,MDAC 2.8,VB6.0
    My code snipped goes like this...
    conn.Open "Provider=OraOledb.Oracle;User ID=test;Password=test;DATA SOURCE=oracle.world;UseSession Format=1"
    objADOCommand.CommandText = "select * from wfmuser"
    objADOCommand.ActiveConnection = conn
    adorec.CursorLocation = adUseClient
    objADOCommand.Properties("IRowsetChange") = True
    objADOCommand.Properties("Updatability") = 7 ' Insert, Delete and Update
    Set adorec = objADOCommand.Execute
    it gives me the error upon execution of above line.
    i have reinstalled the OLEDB provider,as well as MDAC.
    but of no help...
    i have even cheked my OS path for oraHome entry.
    please respond ASAP...i am stuck.

    Searching the web for "loadlibrary failed with error 126 java" seems to point to issues with OpenGL and certain video drivers and/or environments with multiple monitors. Here are several discussions...
    https://netbeans.org/bugzilla/show_bug.cgi?id=243153
    Error "LoadLibrary failed with error 126: The module could not - Microsoft Community
    [SOLVED] Issue with Technic Launcher: Load Library failed with Error 126 - Technic Launcher - Technic Forums
    So it seems this issue is not specific to SQL Developer. The last discussion includes a video link in its last post saying that ".dll" is searched for rather than "atioglxx.dll" on 32-bit systems or "atio6axx.dll" on 64-bit system (in the C:\Windows\system32 folder), so a workaround is to copy one of those to ".dll".

  • Error: The specified procedure could not be found

    Apparently the password expired on my Windows 7 BETA installation. Upon restart the system notifies me and asks for a new password. After confirming the password I get the error:
    "The specified procedure could not be found"
    I cannot log in at this point. The old password won't let me in and I can't change it. The administrator account I found is disabled by default.
    Is there any way to log in?

    Okay, here is your dilemma.
    You cannot login to your only account and the local administrator account is in its default disabled mode.
    There is a solution, albeit totally unsupported.  Go to http://www.sysresccd.org/Main_Page and download the latest SystemRescueCd.  Burn a CD from the ISO.  When you boot with the SystemRescue CD, you will type ntpass and hit <enter>.  From there, make sure you read the screens.  You will have make selections depending on how you loaded Windows 7 (clean vs. upgrade vs. dual boot, etc).  Using this disk, you CAN enable the local administrator’s account and login in.
    I just did the procedure using Windows 7, build 7000 with SystemRescueCd 1.1.6.
    Good luck.

  • "Provider cannot be found.It may not be installed properly"

    Hi All,
    I am running into this error "Provider cannot be found.It may not be installed properly" while I am trying to connect to Oracle from Excel VBA.
    I had installed both Oracle 10.1 and Oracle 10.2 in the same machine and is working with .NET applications.My .NET applications works fine.But when I try to connect from within the EXCEL VBA,it gives me this error.
    This is my oracle client folder structure
    Oracle 10.1 -> C:\Program Files\Oracle\product\10.1.0\Client_1
    Oracle 10.2 client -> C:\Program Files\Oracle\product\10.2.0\Client_2
    Oracle 10.2 ODAC -> C:\Program Files\Oracle\product\10.2.0\Client_1
    As part of working around this error,I have uninstalled my 10.2 and now I just have 10.1 in my local machine.
    This is the code snippet where the error occurs in VBA
    Set Conn = New ADODB.Connection
    Conn.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=datasource;User ID=userid;Password=pwd;CacheType=Memory"
    Conn.ConnectionTimeout = 60
    Conn.Open
    I would really appreciate any help as I have been working around this erro for the last 2 days
    Thanks much!

    Hi,
    Why do you have 3 Oracle homes?
    Mutliple Oracle homes on Windows is a pain at best. Oracle's OLEDB and ODBC drivers require that their home be first in your PATH.
    Generally you can have as many homes as you want, but can only USE the home that's first in your PATH, and things like OraOLEDB, being a com object, can only be installed into a single home.
    In your registry, what does HKEY_CLASSES_ROOT\CLSID\{3F63C36E-51A3-11D2-BB7D-00C04FA30080}\InprocServer32\(Default) point to (the entry for Oracle's OLEDB provider)? Is it the same home that's first in your path if you open a dos prompt and type PATH?
    Hope it helps
    Greg

  • The pool managing the instance is not available or the location monitoring object cannot be found

    SCOM Environment
    Windows 2012
    SQL 2012
    Everything patched and to latest build
    I've installed SCOM using the MS SCOM guidelines.  When I attempt to discovery, I get the error in the topic.
    Here is the details of the error.
    Note:  The following information was gathered when the operation was attempted.  The information may appear cryptic but provides context for the error.  The application will continue to run.
    Microsoft.EnterpriseManagement.Common.LocationObjectNotFoundException: The pool managing the instance is not available or the location monitoring object cannot be found.
       at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message)
       at Microsoft.EnterpriseManagement.Common.Internal.AdministrationServiceProxy.LaunchDiscovery(Guid batchId, IList`1 jobDefinitions)
       at Microsoft.EnterpriseManagement.Administration.ManagementServer.BeginExecuteWindowsDiscovery(IList`1 discoveryConfigurations, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Administration.DiscoveryProgress.<>c__DisplayClass7.<SubmitTask>b__3(Object , ConsoleJobEventArgs )
       at 
    Thank you in advance for your help

    Installed it manually, but it's not showing up as pending.
    I also set it to accept manual installs.
    Logs
    02/10/2014 10:52:20,spid60,Unknown,Failed to verify Authenticode signature on DLL 'E:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\msxmlsql.dll'.
    02/10/2014 00:00:19,spid10s,Unknown,This instance of SQL Server has been using a process ID of 2952 since 2/7/2014 4:15:57 PM (local) 2/7/2014 9:15:57 PM (UTC). This is an informational message only; no user action is required.
    02/09/2014 00:00:12,spid15s,Unknown,This instance of SQL Server has been using a process ID of 2952 since 2/7/2014 4:15:57 PM (local) 2/7/2014 9:15:57 PM (UTC). This is an informational message only; no user action is required.
    02/08/2014 00:00:59,spid15s,Unknown,This instance of SQL Server has been using a process ID of 2952 since 2/7/2014 4:15:57 PM (local) 2/7/2014 9:15:57 PM (UTC). This is an informational message only; no user action is required.
    Should I uninstall and install SQL 2008?

Maybe you are looking for

  • Union tables from multiply data srouces in OBIEE

    Hi Pros, Recenetly I am doing a POC about union the same structure table from multiply data sources through OBIEE, uptill now I still can't make that out, I have tried below ways : Precondition: I have configured those two tables under one physical f

  • Read words from a text file into an undefined array

    Dear all, Does anyone know how to read words in text file, seperated by all types of spaces ("_", "\n", "\t","\r","\f") and put them into a string array to be used later? So far I can read the words using the Tokenizer but can't assign to array: publ

  • How/where to install Reporting

    Hi! We have this enviroment and now need to install the reporting and web console on a separate server: managementserver1 managementserver2 databaseserver1 DWserver1 I want to install the reporting server on a separate server and the database to the

  • SCOM Console Monitoring on Client Desktops

    Hi, Has anyone configured SCOM console monitoring on client desktops? The SCOM console goes to Not Responding state or takes time to load Monitoring View.I want to set monitoring for the same.

  • Not showing ALL of the network files in the folder.

    I have a new mac at work, and we have it connected to the network. The folders show some of the files, but not all of them. They're not hidden, I already tried that. I need these files to show up. Any ideas?