I created a sample dotnet core application. I use
Oracle.ManagedDataAccess.Client;
to communicate with oracle database. Everything works fine on my machine.
But I am not familiar with Oracle ecosystem and don't know what should I install on my Windows Server 2016 machine. The application is hosted on IIS.
The Oracle Database is installed on separate Linux machine.
Related
I have Installed Oracle 19c in my machine in Desktop class. I need to install it in the server class also. Can I have both in my machine.
And Installation guide for the Server class.
Oracle Database Express Edition (Oracle Database XE). Preferably latest version.
Oracle Application Express (APEX) 18.1 or greater. Preferably latest version.
Oracle WebLogic, Glassfish, TomCat, etc. as long as it supports ORDS
Oracle REST Data Services (ORDS) release 3.0.12 or later.
Is 1 and 2 installation same as windows? why do I need 3 and 4?
XE latest version of Database isn't available for Windows yet, but will be soon. For now, you have an 11gR2 version of XE.
I'd wait a bit if you can for the 18c version of XE to drop for Windows.
Installation of XE or the database on Windows is via a GUI installer for both the server and creating a database and it's services. On NIX, you have YUM or RPM solutions, which are generally easier (personal opinion).
APEX installation happens in the database itself, process is the same regardless of your OS.
Tomcat or WLS aren't required, but are there to help manage ORDS (Java EE app). Most customers setup Apache with Tomcat for ORDS and APEX.
ORDS itself makes things inside the database available via HTTPS - one of those things is your APEX applications.
ORDS can also be ran as a standalone process, and this also gives you a built-in webserver (Jetty.)
Finally, if you're using ORDS, you can also build and deliver REST APIs for your database.
P.S. You could also use Docker to make things easier. Joel Kallman shows how here.
I am currently working in Windows 7 32 bit system and my application has to run in a Windows 8 64-bit system which is the server. If sever side Oracle 64 is installed whether can I able to run my application there?
If I try to run I am getting error as oraclm32.dll is missing.
Can anyone help me is resolving the issue?
This is not a Oracle server prloblem, but client.
You can provide some more details about the architecture of your application.
Your application is a 32bit exe, so loads the oracle client 32bit.
32bit oracle client can connect to 64bit oracle server, no problem.
Installation of oracle server, includes oracle client with same architecture (in your case 64bit), but manually Oracle client can be installed twice, 32bit and 64bit on the same machine.
Take a look on Oracle instant client, can be a good choice for installing Oralce client on a server environment.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Hope it helps.
I made a demo project in vb2010 using database interaction with SQL Server 2008 R2. Created a setup file for that project and installed and executed successfully on my PC. Copied that setup file on another PC and tried installing. But couldn't run it because SQL Server 2008 R2 was installed in that PC.
My question is that how can we create a setup file with database so that we need not install SQL Server 2008 R2..? Because, let's assume that I am developing a software for my client. What if my client doesn't have SQL Server installed on his PC? It will be useless to install the whole SQL Server for a small application. How can we achieve that?
It will be useless to install the whole SQL Server for a small application.
That's exactly right. Sql Server is not intended for use as a private data store for a single-user desktop application. If that's what you want, you can use Sql Server Compact Edition, Sql Server LocalDB, Sqlite, or even ~gasp~ MS Access. But don't use the full edition of Sql Server; not even Sql Server Express Edition. The full version of Sql Server is just that: a server, intended for use in a shared environment where you have many users talking to the same data source.
I have developed a POS System Recently and workin on its deployment.
Application Specifications:
The application is basically a POS system.
Back end = SQL Server 2008 Express R2.
Front End = C#
I also used SMO libraries.
Deployment Method = Click-once.
Target Framework = 4.0.
Development Tool = Visual Studio 2012 RC.
OS = Windows 7 Home Premium.
Used some SQL feature packs like Shared management Objects, CLR types. and others.
The prerequisites are selected and i packaged them also.
In brand new windows 7 the installation was fine. and application is running upto date.
In win XP the installation is fine. but when i start the app. it colses with this error.
SQL Server database is not installed and or not running.
and application quits.
IMPORTNAT NOTE:
THE 'WINDOWS XP SP3 PROFESSIONAL'
ON WHICH I AM TESTING IS INSTALLED ON VIRTUAL MACHINE
In the code i am running some SMO library functions in order to install *.sql script for the application's first time use.
SQL Server 2008 R2 is installed with all of its dependencies. and other feature packs. All the prerequisites are installed on XP.
Can you run SQLServer Management Studio on the XP VM and see SQLServer? If you run the SQLServer Configuration Manager on the VM, and click on SQL Server Services, does it show the service is running?
How do you have the connections configured? Do you have named pipes and TCP/IP enabled for the SQLServer Network configuration? What about the SQL Native Client configuration?
Do you have SQLServer Express ticked as a prerequisite in the ClickOnce deployment? What happens if you run setup.exe? Does it recognize that it's installed?
The SQLServer Express that's installed -- is it a named instance, or did you leave it as ".\SQLExpress" ? Id the connection string being used by the ClickOnce application right?