Databases :: Could Not Load File Or Assembly 'Oracle.DataAccess' Or One Of Its Dependencies

Jan 28, 2011

I have a vs2008 web application. it built fine and it was runing fine use visual studio development server, but when i use IIS web server, it gave me the following error.

Server Error in '/Vendorapplication' Application.

View 10 Replies


Similar Messages:

Databases :: How To Change Assembly Reference To Oracle.DataAccess In Prod

Mar 8, 2011

In development I installed "ODAC Entity Framework and LINQ Beta (11.2.0.2.30)" so that we could have a 32 bit version of Oracle.DataAccess for ODP.Net. In Visual Studio 2010 (on Windows Server 2008 R2) I made a reference to:

C:Oracleodp.netin4Oracle.DataAccess.dll.This adds: <add assembly="Oracle.DataAccess, Version=4.112.2.30, Culture=neutral, PublicKeyToken=89B483F429C47342" /> to the assembly in the web.config.

We set the AppPool to Enable 32 bit applications and everything works great. For anyone who doesn't know the story here, we do this because Visual Studio 2010 runs in 32 bit so you need the 32 bit ODAC/ODP.net components to get a development environment running. I then publish the files and move to a 64 bit machine.

I downloaded the "ODAC112021Xcopy_x64.zip" Then ran: install.bat odp.net4 c:oracle odac and I can see the Oracle.DataAccess.dll file at: C:Oracleodp.netin4Oracle.DataAccess.dll. Then added c:oracle;c:oraclein;c:oraclein4 to the System Path.

At this point I would think I just replace the version and PulbicKeyToken in: <add assembly="Oracle.DataAccess, Version=4.112.2.30, Culture=neutral, PublicKeyToken=89B483F429C47342" />
on production to the versioin installed on prod. So first thing I do is just remove that line on production to see what error I will get. And I still get the same error:

System.IO.FileLoadException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.2.30, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Actually this is if I move the new dll into the applicaitons bin directory. If I remove the dll from the directory I get: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.

So I put the line back in.

I right click on on the new Oracle.DataAccess.dll and click properties. In the details tab I see verion is 4.112.2.0. That makes sense. The 64 bit XCopy version is an earlier build then the 32 bit Beta that comes with Entity Framework and LINQ(Version=4.112.2.30).

So on production I change the Version attribute to: 4.112.2.0. But now I get the same error: System.IO.FileLoadException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.2.30, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
(This is with the new dll back in the web app's bin directory as is the rest of the thread).

It's still looking for the same version of the assembly. Why is it doing that? The web.config has a connection string with the ODP.Net provider type (Oracle.DataAccess.Client). Which would take from the assembly reference. It should not care what the version number is. Could there be something in code somewhere that is specifically looking for the old dev box version? Just what is the way to make it use the new assembly?

I would think the system would just know where to find the new dll. Just as in development the add reference dialog knew that the dll was in c:oracle... rather then c:program files(x86)... like out-of-the-box Microsoft assemblies.

View 2 Replies

Configuration :: Could Not Load File Or Assembly Or One Of Its Dependencies, An Attempt Was Made To Load A Program

May 10, 2010

My application is running fine locally when I deploy it it is giving me the above error saying

Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

View 6 Replies

Cannot Load File Or Assembly AjaxControlToolkit And One Of Its Dependencies

May 14, 2010

i have installed the ASPAJAXExtSetup into my system for using ajax because i am using .net 2.0 version. Then i have create the Ajax Enabled website. in myDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>
Line 2:
Line 3: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Line 4:
Line 5:

View 1 Replies

Could Not Load File Or Assembly 'AjaxControlToolkit' Or One Of Its Dependencies?

Jul 29, 2010

i have installed AJAXcontrolsToolkit with my visual studio and placed "Combobox" Ajaxcontrol controls in my webpage . when i am compiling the code getting below error"Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified"

View 1 Replies

Couldn't Load File Or Assembly One Of Its Dependencies

Mar 15, 2010

I changed some names of namespaces, assemblies in one of existing project (C# and ASP.NET). But when I try to debug it; I get this error. Could not load file or assembly 'HR' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). I have replaced DFI with HR in the code.

View 2 Replies

AJAX :: How To Load File Or Assembly 'ControlToolkit' Or One Of Its Dependencies

Aug 10, 2010

could not found file or assembli 'ajaxControlToolkit' or one of its dependencies. the module what expected to contain an assembly manifest. this error is comming when i debug my website. i"ve added dll file in bin folder of my website. what is the problem and how can it be solved?

View 2 Replies

Couldn't Load File Or Assembly App_Web_xxxxxxxx Or One Of Its Dependencies

Apr 4, 2011

The full error is: Could not load file or assembly 'App_Web_xxxxxxxx, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Where xxxxxxxx is the ASP.Net generated temp name. We are getting this error for a WCF service hosted within an ASP.Net application. The weird thing is that it happens very occasionally, independent of deployment changes... and when it does happen the service "breaks" for all subsequent requests. At the moment, the workaround for us at the moment is to delete the temporary assemblies from the application's folder in: %windir%Microsoft.NETFramework64v2.0.50727Temporary ASP.NET Files The app is hosted in IIS7 on a win 2008 server, using .Net 3.5

View 1 Replies

AJAX :: Load File Or Assembly Of 'AjaxControlToolkit' Or One Of Its Dependencies?

Feb 11, 2010

I received the following error message. After googling I cleared the ASP.net temp files

The error messwsage is: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)"

View 6 Replies

Localization :: Could Not Load File Or Assembly 'App_GlobalResources' Or One Of Its Dependencies

Oct 19, 2010

I'm trying to use resource files added to App_GlobalResources and geting the following error.

The framework is 4.0. The application uses DotNetNuke cms. Intellisense sees the properties in the WebApplicationResources class corresponding lines in WebApplicationResources.resx I cannot reproduce the error in the simple test website.

The exception text:

Server Error in '/dotnetnuke' Application. Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 40: get {
Line 41: if (object.ReferenceEquals(resourceMan, null)) {
Line 42: global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Resources.Resource1", global::System.Reflection.Assembly.Load("App_GlobalResources"));
Line 43: resourceMan = temp;
Line 44:

[code]...

View 2 Replies

Crystal Reports :: Could Not Load File Or Assembly Or One Of Dependencies

May 7, 2015

This is the code where I got from internet And I am getting this error.

Could not load file or assembly or one of dependencies. The system cannot find the file specified.

View 1 Replies

Web Forms :: Could Not Load File Or Assembly Xxxx Or One Of Its Dependencies

Sep 25, 2013

In my web application. i m using Eohtmltopdf.dll file. bt i m getting this error "

Could not load file or assembly 'evohtmltopdf' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."

I m using .net 4.0 framework.

View 1 Replies

AJAX :: Could Not Load File Or Assembly ControlToolkit Or One Of Its Dependencies

May 7, 2015

Server Error in '/bramandam site' Application.

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The disk structure is corrupted and unreadable. (Exception from HRESULT: 0x80070571)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The disk structure is corrupted and unreadable. (Exception from HRESULT: 0x80070571)Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be useful to determine why the assembly 'AjaxControlToolkit' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

[Code] ....

View 1 Replies

Web Forms :: Could Not Load File Or Assembly 'Microsoft.Web.UI.WebControls' Or One Of Its Dependencies?

May 25, 2010

im facing the below issue can anyone tell me how to resolve itCould not load file or assembly 'Microsoft.Web.UI.WebControls' or one of its dependencies. The system cannot find the file specified.

View 5 Replies

Databases :: How To Connect Using Oracle.DataAccess.Client

May 18, 2010

I want to insert some values (from asp.net web application) in a table on oracle DB that hosted on a machine rather than the machine that hosts the asp.net application

i use "oracle.dataaccess.client" and the following function

[Code]....

but i get the following exception

The type initializer for "Oracle.DataAccess.Client.OracleConnection" threw an exception

View 5 Replies

AJAX :: Could Not Load File Or Assembly ControlToolkit Or One Of Its Dependencies - Access Is Denied

Apr 7, 2014

we have test server set up and I am able run the application, but when other users tried to run, they are getting this error

Here is the error

Server Error in '/' Application.

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied.Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be useful to determine why the assembly 'AjaxControlToolkit' could not be loaded.

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

Stack Trace:

[FileLoadException: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Access is denied.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0

[Code].....

View 1 Replies

Databases :: Vs2008 Website Project Cannot Add Reference To Oracle.DataAccess.dll

Feb 28, 2011

I have a vs2008 Website project(it was converted from vs2005), when i right click the Website node in the solution and open the property page, i select the references link, then click add reference to Oracle.DataAccess.dll(11g, 64bits), Version=2.112.2.0 in the website BIN directory, it doesn't work, i don't see the Oracle.DataAccess.dll is added, Can you give me any advice why the website project can not add the Oracle.DataAccess.dll ? And I can add rOracle.DataAccess.dll to my other Web Application project, what difference between Website project and Web applicatoin project caused the issue? Since i can not add the Oracle.DataAccess.dll , when i compile, it gave the error:

Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.

View 4 Replies

Databases :: Oracle.DataAccess.Client Very Slow - How To Make It Fast

Oct 29, 2010

When I run my piece of SQL through SQL developer it takes less than half a second with an overall cost of 618 on the explain plan.

When I run the same SQL through .NET via the oracle.dataaccess.client connection it is impossibly slow taking over 5 minutes to run.

What could be causing this and what can I do?

View 7 Replies

Visual Studio :: Could Not Load File Or Assembly 'PdfSharp, Version=1.2.1269.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb' Or One Of Its Dependencies

Jul 19, 2010

I've been using a particular version of a PDF library (PdfSharp), with the dll file in the bin directory (bin/PdfSharp.dll). I use this to prepare, combine, split, and otherwise manipulate PDF files, both those that come from outside my app and those I generate using ReportViewer.

Today I saw there was a new version of the library and naively dropped the new .dll into the bin folder, replacing the old one (I rarely have need to mess with the 2 or 3 dlls in my bin folder and it's been 2 years since I set them up so I wasn't really sure how to proceed and didn't take the time to think too much about it). The PDF generation no longer worked, so I deleted the newer .dll and replaced it with the older one (I have copies in backups, the production server, etc).

Now, although I've confirmed that the dll in the bin folder is the older version (file Properties show correct older version number, file size is older file size, etc), and although the application works correctly, including those parts that call on the library, I can no longer access the data sources for my RDLC files -- when I open an RDLC file in the editor and choose Report->Data Sources, I get this error:

Could not load file or assembly 'PdfSharp, Version=1.2.1269.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb' or one of its dependencies. The system cannot find the file specified.

I am mystified: I don't understand the connection between a report's data source and this library; I know that the correct version (1.2.1269.0) is in binPdfSharp.dll; and I can find no references to any version of PdfSharp in any file in my application, other than the code that actually calls it (ie, there are no references to it in web.config or the .rdlc files or the dataset .xsd files). I've also been through the registry and find no references to the new version. I've tried deleting the dll and re-adding it using "Add Reference...", and I've tried "Update Reference", all to no avail.

View 1 Replies

Databases :: Could Not Load File Or Assembly 'Sql.data'?

Oct 27, 2010

I am trying to test website on a remote server to see if I can read or write to a MySql Database.In VS Web developer 2010 Express edition, I created a new website and saved it via ftp on the remote host. I have added the 'Mysql.data.dll' to the website and placed it in the bin directory of the project.When I try to run the program i get "Could not load File or assembly MySql.Data, Version=6.3.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

[Code]....

The remote server supports .Net v2, so I have made my application focused on v2 framework. I have tried similar code on my local machine and works fine.

View 3 Replies

Databases :: Store Data In File System Rather Than SQL Or Oracle

Jul 23, 2010

As I am working on Employee Management system, I have two table (for example) in database as given below.

EmployeeMaster (DB table structure)
EmployeeID (PK) | EmployeeName | City
MonthMaster (DB table structure)
Month | Year | EmployeeID (FK) | PrenentDays | BasicSalary

Now my question is, I want to store data in file system rather than storing data in SQL or ORACLE.

I want my data in file system storage for Insert, Edit and Delete opration with keeping relation with objects too.

I am a C# developer, Could anybody have thoughts or idea on it. (To store data in file system with keeping relations between them)

View 1 Replies

Databases :: Upload Xlsx (MS Excel) File To Oracle DB?

Jan 18, 2011

I would like to upload a xlsx file to Oracle DB (Oracle 11g). I'm using VS .NET 2008 (C#, web).

The file contains around 500 rows.

View 3 Replies

Databases :: Upload Excel File Into Oracle - System Resource Exceeded

Jan 5, 2011

We have the data in excel file and want to upload the same into Oracle table.To achieve this we are using following query
insert into [ODBC:Driver={Microsoft ODBC for oracle};connectionstring].tablename (select * from sheet$ )
This is working fine for less records but when the record count increases following is the error faced. Error : System Resource Exceeded

We tried the following:
1. We tried to remove connection pooling for oracle.
2. We tried to remove connection pooling for excel.
3. We also verified that only one connection for each (oracle and excel) is open.

Our assumptions:
1. Either the server setting is the issue
2. Jet oledb Driver is the issue.

View 1 Replies

Display Asp MSChart / File Error Could Not Load File Or Assembly 'sstchur.web.survey'?

Dec 17, 2010

I've add MSChart to a webpage and I'm also using a Survey page I got from 4GuysFromRolla (http://www.4guysfromrolla.com/articles/061604-1.aspx). Both work on my development machine but when I move them to my hosting site there are issues.

With MSChart page the chart is not displayed although it's included the Page Source code:
src="/ClubInformationTracking/ChartImg.axd?i=chart_3d90c53b0f844807a2491a1d79a636a1_0.png&g=75fecf0f14cf4121b623691d383263aa" alt="" style="height:300px;width:700px;border-width:0px;" />

And when I try to open the Survey page I get this:Parser Error Message: Could not load file or assembly 'sstchur.web.survey' or one of its dependencies. The system cannot find the file specified.

Source Error:
<%@ Register TagPrefix = "sstchur" Namespace = "sstchur.web.survey" Assembly = "sstchur.web.survey" %>
<%@ Page Language = "C#" %>

Assembly Load Trace: The following information can be helpful to determine why the assembly 'sstchur.web.survey' could not be loaded.

WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

The Hosting site is using Version 4.0 and the dll needed for the survey is in the BIN directory.

When I moved my files to the hosting site I had to change every instance when I referred to a file from:
"~/FileName"
To
"FileName"

I've tried all of the "fixes" I could find for the MSChart that involved changes to the web.config file but because of the error messages associated with the Survey page I'm guessing this is the issue.

View 2 Replies

Databases :: Saving The Formatted Contents Of A Word File In Clob Field In Oracle?

Nov 22, 2010

Can i save the contents of a word file (which contains some formatted text) in clob field and then retrieve them in their original state i.e can i save the formatted text in clob field like we can save it in blob field?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved