I am buiding an internet web application using c# ASP.NET. I am using my own computer to develop the application. I've installed the oracle database on my computer. In order to deploy this application on the server, does the server have to install oracle client? I already included Oracle.DataAccess.dll in the bin folder.
Yes it does, assuming you're connecting to the database on the same server!
For example, you can connect to remote databases, but the point is where ever the database lives (server or PC), it will need Oracle installed.
The web server you will deploy your application to does not need to have Oracle server but it must have the Oracle client installed (Instant client for instance) + you will have to deploy your database to the Oracle server
Related
I have a web site developed in ASP.NET MVC and used MS SQL Server as a back-end database.
I was trying to host this application on webFaction, but unable do do so as it seems WebFaction does not support hosting of ASP.NET applications.
Can I host ASP.NET application with SQL Server as DB on WebFaction?
The official answer is here: https://community.webfaction.com/questions/17081/asp-as-application/17099
WebFaction only offers Linux server hosting.
If you want to use ASP.Net, you'll have to use Mono. They don't provide an installer for it, so you'll need to build the Mono stack from scratch.
Per MS SQL server, it doesn't (currently) run on Linux. So you will either need to connect your Webfaction ASP app to another hosting service for the database, switch to a new database, or wait for MS to release their linux version of MS SQL.
I am trying to understand why the same C# Oracle access code works under VS2010 environment but not under IIS.
I am building a web service to access Oracle 9.2 database on the remote machine. The web service must be hosted in the IIS under Windows 2003 machine. The same machine is hosting Oracle 9.2 database.
The web service must be compiled for x86 CPU because of Windows 2003 that is 32-bit architecture.
My Visual Studio project is WCF Application.
When I run the service under ASP.NET Development Server everything works fine. The database is connected and all CRUD operations are possible.
When I deploy everything under IIS on my machine or any other machine the I am getting "ORA-03134: Connections to this server version are no longer supported." at the time of connecting.
I supposed it is some kind of permission problem so I run the service under special Application Pool with LocalSystem account. I even gave to the Oracle client folder installed on my machine Full Control permissions for IIS users but this should not be needed because of LocalSystem account.
Anyway I tried and nothing. It is always the same error.
What could be the reason ?
I programmed a web application that uses from local database (.mdf file) and would be run locally on client system.
my question is that what is the database needed to install on client system to run this application.
MS SQL Server?
MS SQL Server Express
or nothing?
I developed a web application for some small company. It connects to an SQL database created in Microsoft SQL server Managment studio 2008. Now they would like to test this app on a local computer before they put it on a server.
My question is, what are all the things I need to make this app work on a random computer running Win with no Visual Studio or SQL server installed?
Thanks for your help.
EDIT: They want to run it on a local computer only.
maybe Microsoft Web Platform Installer 3.0 can help you out.
http://www.microsoft.com/web/downloads/platform.aspx
Install .Net version you are using. It might already be there.
Install/configure IIS
Install SQL Server Express
Your db connection string obviously need to be changed to the local
sql server connection in web.config
Because it is a simple app, just copy the entire app (except proj
files, .cs, .vb files) to that computer
For one, point the connection string at SQL Server on a staging server. The whole idea of testing is to have the same environment as the production server.
I'm deploying a small ASP.NET (framework 3.5) application in a Windows Server Web 2008 32 bits, IIS 7. The applications needs connection to an Oracle DB in another Server, using the tradicional DataAdapter, Oracle Connection, etc.
I´ve installed correctly the Oracle Client in the server (the server is another server´s client) and I´ve checked that this server has access to the server where the database is.
Even though my app isn´t able to connect to DataBase. The message says that Oracle components haven´t been found. It doesn´t find the OleDB Provider for Oracle or some dll.
¿Something I shluod know about permissions of the ASP.NEt users or something like this?
Some idea??
Thanks in advance.
Gus.
Check the path. It could be that the Oracle client directory is not on the path of the account that runs your ASPNET app.
Actually there are other steps you can go through, to verify the Oracle client install.
This article is old but may be helpful.