specified dsn contains architecture mismatch between application and driver - dsn

I am using eclipse and apache tomcat 7.0.0 on windows8 64-bit. while connecting access database in my jsp application i always get the problem of architecture mismatch between application and driver, while in normal java application jdbc-odbc connection works properly. so i got latest version of apache tomcat 8.0.0 but eclipse doesn‘t have the server adapter for tomcat 8.0.0. so how to connect the access database with jsp application using eclipse? Please help me because i am doing my final year project in jsp.

Related

Configure Liferay 7.0 and WIldfly with Oracle

I have a doubt regarding LIferay 7.0 and Wildfly. I recently found a method to integrate Oracle DB with Liferay but, at least in the example and on my attempts to try it, when I start Wildfly with Liferay it keeps telling me "Unsupported Database Oracle".
The tutorial I followed was this one: https://www.dontesta.it/blog/en/2016/04/13/liferay-7-ce-how-to-add-support-for-oracle-db/
Is that only supported for Tomact? (Like in the example in that tutorial).
Thanks in advance.
The Oracle driver for Liferay 7 CE also works for the bundle with wildfly.
The procedure is very simple:
Build the Oracle Driver for Liferay (by following the guide liferay-portal-oracledb-support)
Download JDBC Oracle driver
Copy JDBC Driver in $LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/
Add JDBC Driver ojdbc7.jar as resource in module.xml ($LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/)
Copy jar (liferay-portal-oracledb-support-1.0-SNAPSHOT.jar) of the Oracle Driver for Liferay in $LIFERAY_HOME/wildfly-10.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/
Start Liferay
By following the above steps you should be able to install successfully Liferay 7, also you can see this tutorial Liferay 7 Wildfly: How to add support for Oracle DB
I point out the project https://github.com/amusarra/liferay-portal-database-all-in-one-support which groups the support for the three commercial databases for versions 7.0, 7.1 and 7.2 of Liferay.
This project add support to the Oracle Database, SQL Server and IBM DB2 database. Liferay has performed refactorting the code so that it is possible and easy to add support for databases no longer supported OOTB (out-of-the-box). The last version (1.1.4) of the driver works with the Liferay 7.2.1 CE GA2.
You can download the latest version binary jar from Maven Central Repository liferay-portal-database-all-in-one-support (https://search.maven.org/#search%7Cga%7C1%7Cit.dontesta), by doing so you can avoid doing the build.
I invite you to read the article How to build a Docker Liferay 7.2 image with the Oracle Database support (https://www.dontesta.it/en/2019/08/21/how-to-build-a-docker-liferay-7-2-image-with-the-oracle-database-support/) which may be interesting for you.

How do you connect WSO2 IS to SQL Server 2012

Following the instructions from WSO2 IS on setting it up with Microsoft SQL Server (https://docs.wso2.com/display/ML111/Setting+up+Microsoft+SQL), I continue to get the following error when running WSO2 IS:
ERROR (com.microsoft.sqlserver.jdbc.SQLServerConnection) - Java
Runtime Environment (JRE) version 1.7 is not supported by this driver.
Use the sqljdbc4.jar class library, which provides support for JDBC
4.0. ERROR (org.wso2.carbon.user.core.util.DatabaseUtil) - Database Error - Java Runtime Environment (JRE) version 1.7 is not
supported by this driver. Use the sqljdbc4.jar class library, which
provides support for JDBC 4.0.
I made sure that there were no extra sqljdbc libraries in the paths (to rule out ambiguity). I followed the instructions exactly, but did note that they referenced SQL Server 2005 (yikes!).
I am working on a Windows 7 machine, JRE 8, JDK 1.7, SQL Server 2012/2014, and WSO2 IS 5.1.0.
Any help would be greatly appreciated.
I assume you are using the JDK 1.7, so according to the documentation from microsoft you need to have Sqljdbc41.jar. Can you check you have the correct version in the lib folder?
Sqljdbc41.jar requires a JRE of 7 and supports the JDBC 4.1 API
Also make sure that the dropins folder don't have any mssql libs before restarting the server (Jars from lib are copied to dropins at the startup, so there is a chance you have mssql jars copied from an earlier startup).
Also note that WSO2 IS has a separate page for setting up databases. Please follow that doc instead which contains the documentation specific to IS.

Dnn Instalation error in Windows 8.1

I'm trying install dotnetnuke but when i do Browse "default.aspx" file from iis, this error has been Occurs:
DNN Error
Connection To The Database Failed
dnn version: 7.02
iis version: 8.5
os: windows 8.1
sql server: Sql2012
Thanks
Make sure your connection string is in the web.config and is correctly pointing to your database. Also make sure the sql server user login used in the connection string works, if you are not using integrated security.
Hope this helps.
Chuck
You really should install DNN 7.3.2, the latest release, but if you must 7.2.0 should work fine too.
You are missing a database connection, so the question is, what SQL server are you using?
Here's a tutorial on setting up DNN in a development environment.
http://www.christoc.com/Tutorials/All-Tutorials/aid/1

c# WinForm - Pre-requisite for running Oracle Database Access

I've a Windows Form c# application which uses Oracle.DatabaseAccess.dll for communicating with oracle database.
After generating a MSI and installing on my laptop everything works great.
However when I try to install the same application on my colleague's laptop the connection doesn't work. It shows incompatible provider.
Could someone please help me out where can I get the pre-requisites for running application that uses oracle database?
I suspect it runs fine on my machine as I've installed oracle express database. But I don't want to install this on all machine where this application needs to be run.
Thank you.

Visual Studio ASP Development Server and PHP

Hi all I am currently looking into developing a Silverlight app which needs access to PHP scripts. Visual Studio is launching the ASP Development Server but does not support PHP script handling. Is there a way that I can configure the development server to accept or PHP or make visual studio develop from own local Apache server that can support PHP.
Thanks for any help you can provide.
Download the Web Platform Installer and install IIS Express, which is a lightweight and stand-alone edition of IIS that works as a replacement for the development server. Most likely you can install a PHP module for it to allow it to run PHP scripts (this is as far as I can remember also available in the Web Platform Installer).

Resources