- Bryant Burnard
- PowerServer
- Friday, 3 December 2021 08:23 PM UTC
Working on deploying my application in PB 2021 1311 Oracle 19, Oracle Client 19c. I was in an earlier version of the PB 2021, and went into it this week and was upgraded to Build 1311. It said to check my Database Config on the Web APIs, and I did this. Checked my connection and I am able to connect to Oracle. (I deleted and recreate the connection already) That said, I am getting the following error when I click Compile & Run Web APIs:
Microsoft Windows [Version 10.0.18363.1916]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Appeon\Common\PSToolkit\21.0\NetBuild>C:&cd /&cd C:\Program Files\dotnet&dotnet.exe build --configuration Release "C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs"&exit
Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
Restored C:\Users\bryant.burnard\source\repos\PowerServer_pvr\AppModels\AppModels.csproj (in 1.44 sec).
Restored C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj (in 1.47 sec).
AppModels -> C:\Users\bryant.burnard\source\repos\PowerServer_pvr\AppModels\bin\Release\netcoreapp3.1\AppModels.dll
DataProviders\OracleDataDriver.cs(8,37): error CS0246: The type or namespace name 'DataProvider' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(7,6): error CS0246: The type or namespace name 'DataProviderAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(7,6): error CS0246: The type or namespace name 'DataProvider' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(10,37): error CS0115: 'OracleDataDriver.Create(string)': no suitable method found to override [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
Build FAILED.
DataProviders\OracleDataDriver.cs(8,37): error CS0246: The type or namespace name 'DataProvider' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(7,6): error CS0246: The type or namespace name 'DataProviderAttribute' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(7,6): error CS0246: The type or namespace name 'DataProvider' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
DataProviders\OracleDataDriver.cs(10,37): error CS0115: 'OracleDataDriver.Create(string)': no suitable method found to override [C:\Users\bryant.burnard\source\repos\PowerServer_pvr\ServerAPIs\ServerAPIs.csproj]
0 Warning(s)
4 Error(s)
Time Elapsed 00:00:13.64
Looks like I am missing something after the upgrade, how do I rebuild / config / test this connection?
Thanks
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.