Error message:
Projects completed by third-party plug-ins (Oracle's DataAccess) were referenced on the development machine of the 32-bit error-making system, and the DataAccess file was not loaded or could not be found when the published program was copied to a 64-bit server for publishing.
Cause of Error:
Because it is developed on a 32-bit server, when adding reference files, the referenced files are used on 32-bit operating systems, and 64-bit files are found on 64-bit systems, resulting in missing or incorrect versions, resulting in an error.
Workaround:
1, in the 64-bit operating system to find the corresponding reference file (Oracle's DataAccess), if the 64-bit operating system to use the file, copy the file to replace the files in the bin file of the published project;
2. Modify the configuration file Web. config: Add the following to the corresponding configuration node:
<runtime>
<assemblybinding xmlns= "Urn:schemas-microsoft-com:asm.v1" >
<dependentAssembly>
<assemblyidentity name= "Oracle.dataaccess"
publickeytoken= "89b483f429c47342"
culture= "neutral"/>
<bindingredirect
oldversion= "2.112.1.2"
newversion= "2.112.1.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Description: Be sure to set the "Copy to local" property in the properties of the referenced third-party file to True when publishing, otherwise the published program or the assembly is missing.
WebForm Publishing prompt: Unable to load or cannot find oracle.dataaccess file