« First Tip On SharePoint 2010 | Windows Server AppFabric »
Could not load file or assembly ‘Oracle.DataAccess’ or one of its dependencies. An attempt was made to load a program with an incorrect format
by Vahid 8. February 2011 11:32
I had deploying an asp.net application to a windows 2008 64bit server. the application uses odp.net to connect to an oracle database. but when I tried to access it I kept getting an error saying:
“Could not load file or assembly ‘Oracle.DataAccess’ or one of its dependencies. An attempt was made to load a program with an incorrect format”
pulling my hair for sometimes I couldn’t find any logical explanation for this as the dll named ‘Oracle.DataAccess’ was already there in the bin folder. but for some odd reason this was the problem itself. I had to delete the dll from the folder to have the application working.
I don’t have any explanation for this as of now but will update this post as soon as I figure out the cause.
Related posts
Managing Multiple Configuration File For Different Application Life cycles In .Net Applications All of us have already dealt with the problem of promoting configuration files in different applic…Do You Know About T4 (Text Template Transformation Toolkit) Code Generation In Visual Studio?Working with Microsoft products always has some surprises, now be it a defect, missing fun…Differences between asp.net web Site and asp.net Web ApplicationHave ever wondered what the differences between 2 types of asp.net web projects in visual studio 200…
Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen