Deployment issue on Win 2008 64-bit server
Deployment issue on Win 2008 64-bit server
I tried to deploy the assemblies locally by following the steps under 'Deployment' help section. Here is what I did.
1. Copied the files 'Devart.Data.dll', 'Devart.Data.Oracle.dll' and 'Devart.Data.Oracle.Entity.dll' to my app. folder
2. Adde this in the app.config file
I got the entity exception 'The underlying provider failed on Open'. Then I installed the 'dotconnect for Oracle' from installer to register just the runtime assemblies in GAC. that worked.
The real puzzle is that the original error went away after I uninstalled 'dotConnect for Oracle'. This tells me that something happened during install that did not get reverted during uninstall. I am glad that it is working but I would really like to know the mystery so I can deploy as Local on 64 bit servers without using the installer.
1. Copied the files 'Devart.Data.dll', 'Devart.Data.Oracle.dll' and 'Devart.Data.Oracle.Entity.dll' to my app. folder
2. Adde this in the app.config file
I got the entity exception 'The underlying provider failed on Open'. Then I installed the 'dotconnect for Oracle' from installer to register just the runtime assemblies in GAC. that worked.
The real puzzle is that the original error went away after I uninstalled 'dotConnect for Oracle'. This tells me that something happened during install that did not get reverted during uninstall. I am glad that it is working but I would really like to know the mystery so I can deploy as Local on 64 bit servers without using the installer.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
The exception specified is a wrapper and can tell about different problems. Please check the inner exception to determine the exact problem that occurred. For example, you could get this error when the server was unavailable. Another possible reason is the lack of technical license. Please check that your project has it; for details on licensing applications that use dotConnect for Oracle, please see the corresponding topic of our documentation:
http://www.devart.com/dotconnect/oracle ... nsing.html
Please tell us if this helps.
http://www.devart.com/dotconnect/oracle ... nsing.html
Please tell us if this helps.
probably the licensing issue
You are right. The inner exception was not shown in the call stack which could have revealed details. My suspicion is the licensing and I will look into it.
thanks
Saravanan
thanks
Saravanan
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
here is the latest on this
I've followed the steps outlined in your licensing help doc. under section 'Class Libraries Support' by creating licenses.licx and licenses.config files. I now get the exception
---
(Devart.Data.Oracle.OracleException): License not valid due to the problems with dotConnect for Oracle installation
I am trying to deploy Devart assemblies locally without installing 'dotConnect for Oracle'. any ideas?
thanks
slaxman
---
(Devart.Data.Oracle.OracleException): License not valid due to the problems with dotConnect for Oracle installation
I am trying to deploy Devart assemblies locally without installing 'dotConnect for Oracle'. any ideas?
thanks
slaxman
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Such problem may occur, e.g., if your application is licensed for the version of dotConnect for Oracle different from the version of the assemblies you are deploying. Please check if the version number specified in the licenses.licx file coincides with the version of Devart.Data.Oracle.dll.
Also, it is possible that the assemblies you are deploying are trial whereas the license resource is compiled with the registered version, or vice versa.
To resolve the problem, please try deploying the assemblies from Program Files\Devart\dotConnect\Oracle.
If the problem persists, please send us a small test project with which the problem can be reproduced so that we are able to investigate the problem in details.
Also, it is possible that the assemblies you are deploying are trial whereas the license resource is compiled with the registered version, or vice versa.
To resolve the problem, please try deploying the assemblies from Program Files\Devart\dotConnect\Oracle.
If the problem persists, please send us a small test project with which the problem can be reproduced so that we are able to investigate the problem in details.
what if my project does not reference Devart files?
There is no version in my licenses.licx file. Can you tell me whether the Devart.* assemblies have to be referenced in my project for licensing to get embedded? I am using EF and do not have to reference them in the project.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Actually, they should, as otherwise the Devart.Data.Oracle.OracleConnection class won't be resolved. But the error message you are receiving specifies that there is a license resource in your application, but it is invalid. You can manually check that the license resource was embedded into the executable by seeking in it the line specified in licenses.licx.
Please specify the version of dotConnect for Oracle you are using, and whether dotConnect for Oracle was ever installed on the target machine. If it was, please check that there are no Devart.* and policy.*.Devart.* files in the GAC of the target machine.
Also, please replace the assemblies you are deploying with the ones from Program Files\Devart\dotConnect\Oracle. If possible, please send us a test project and/or the compiled binary so that we are able to investigate the issue in details.
Please specify the version of dotConnect for Oracle you are using, and whether dotConnect for Oracle was ever installed on the target machine. If it was, please check that there are no Devart.* and policy.*.Devart.* files in the GAC of the target machine.
Also, please replace the assemblies you are deploying with the ones from Program Files\Devart\dotConnect\Oracle. If possible, please send us a test project and/or the compiled binary so that we are able to investigate the issue in details.
working now
with all your checklists satisfied, it is working now. thanks