.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Oracle.DataAccess causes 64 bit / 32 bit error in ASP.NET / Visual Studio 2005

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :.NET Framework

This one is driving me nuts.


I have developed some ASP.NET pages using Web Developer Express on a 64 bit (Intel Xeon Quad core) machine. This has gone very well, part of my code access an Oracle database using the Oracle.DataAccess.Client namespace (Oracle 64 bit ODP.NET version All works beautifully.


Just bought the full version of Visual Studio 2005, and now when I try to build my web site, I get an error saying "Attempted to load a 64-bit assembly on a 32-bit platform...". The site won't build.


This makes no sense to me. ASP.NET is configured to run under the 64 bit .NET 2.0 framework. A call to IntPtr.Size on a page confirms that ASP.NET is running in 64 bit mode. So why should VS 2005 tell me I am trying to load a 64 bit assembly on a 32 bit platform???


I have SP1 for VS2005, by the way...


Incredibly frustrating...



View Complete Post

More Related Resource Links

Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)

While trying to send email using<code> SmtpClient obj_SmtpClient = new SmtpClient(); obj_SmtpClient.Host = ""t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body);</code>I get the error message:Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) SystemSMTP is installed on my Windows XP Sp2 laptop. I have also tried disabling the Windows firewall but still the same error. The SMTP server is a Microsoft Exchange Server that is part of the same domain as myself. I was logged on to the domain while running the email code.There is an excellant article on ORCS web by BradKingley (http://www.orcsweb.com/articles/sending_smtp_authenticated_email.aspx) on sending authenticated email using username/password, however what I need is how to authenticate in a purely Microsoft environment. Any suggestions as to how to fix this problem, gratefully accepted.

Visual Studio 2005 and Oracle


Dear all:
I am having problem trying to create a new connection to oracle database on server explorer of Visual Studio 2005 64-bit . I have installed the 64-bit beta edition of ODP:


but I still got this following message:
"Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64-bit mode with the 32 bit Oracle client components installed."

My machine is running Windows XP SP2 and .NET SDK 2.0 64-bit is also installed which is one of the prerequisites of Visual  Studio 2005 installation.

Does anyone know how to solve this issue?

Thank you,



Selecting Oracle Stored Procedure in SSRS Crashes Visual Studio 2005 IDE


Problem Conditions

I have a very simple Oracle (11g) Stored Procedure that is declared like so:

* FROM MyTable;

This compiles correctly. The cursor contains col1, col2 and col3.

In SSRS, i have a Shared Data Source that uses Oracle OLEDB Provider for Oracle 11g:


Error while setting up application on Win7 using Visual Studio.NET 2003


Hi All,

Getting the below error while setting up application on Win 7 using visual studio.NET 2003.


cannot find the components for communiacting with the front page server extensions...


I understand by the error, i need to install Front page server extension, but not able to figure how to install using IIS 7.5.

I had XP machine with IIS 5.1, able to find the option.


Need your help in resolving this.




Data Joins The Team: Introducing Visual Studio 2005 Team Edition for Database Professionals


Here Brian Randell presents everything you need to know to get started with Visual Studio 2005 Team Edition for Database Professionals.

Brian A. Randell

MSDN Magazine February 2007

Use The Source, Luke: Source Server Helps You Kill Bugs Dead In Visual Studio 2005


The latest releases of WinDBG and Visual Studio know exactly how to use source server, so its benefits are available to both .NET and native C++ developers. See why this is so important in tracking down bugs.

John Robbins

MSDN Magazine August 2006

C++ at Work: Managed Code in Visual Studio 2005


Many of you are no doubt in the process of upgrading to Visual Studio® 2005, so I thought now would be a good time to relate some of my own experiences with the new compiler. What took me so long? Hey, I'm a retro kind of guy! Better late than never!.

Paul DiLascia

MSDN Magazine June 2006

Visual Studio 2005: Create Reusable Project And Item Templates For Your Development Team


Visual Studio 2005 introduces a new model that lets you define your own project templates and starter kits, something developers have been requesting for some time. Here Matt Milner shows you how to consume, create, and customize these templates.

Matt Milner

MSDN Magazine January 2006

Team Up!: Get All Your Devs In A Row With Visual Studio 2005 Team System


In this article, Chris Menegay shows you how to use Team System throughout your software development lifecycle. He covers both the client tools available with Visual Studio Team Suite and the server features enabled by Team Foundation Server.

Chris Menegay

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Editor's Note: Visual Studio 2005 Guided Tour


2005 was a truly exciting year for us here at MSDN Magazine. We launched a new magazine. We covered all sorts of amazing advances for the programmer, courtesy of Visual Studio 2005. We lost a couple of weeks, because of that dodgy falafel cart on 49th Street.

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Safe!: Repel Attacks on Your Code with the Visual Studio 2005 Safe C and C++ Libraries


When Visual Studio 2005 ships, it will include a major upgrade to the Visual C++ Libraries that was the result of a complete security review of the functions contained in the C Runtime Library, Standard C++ Library, ATL, and MFC. From that extensive review came the Safe C and C++ Libraries, which can improve the security and robustness of your apps.

Martyn Lovell

MSDN Magazine May 2005

Team Up!: Get All Your Devs in a Row with Visual Studio 2005 Team System


Visual Studio 2005 Team System includes tools to help project managers, architects, developers, testers, and even development managers. In this article, the author provides an overview of Team System using the Visual Studio 2005 December Community Technology Preview, shows you how to set up a development project, and explores the typical development process, from inception through testing.

Chris Menegay

MSDN Magazine April 2005

Bootstrapper: Use the Visual Studio 2005 Bootstrapper to Kick-Start Your Installation


There are plenty of times when you need to get information on running processes, not the least of which is during performance tuning. Using the techniques in this article and special .NET classes you'll see how to get a process' ID, name, priority, number of threads, kernel handle, and memory consumption, as well as its user-mode, kernel-mode, and total elapsed running time and put them to use in a custom app called AssemblyBrowser.

Sean Draine

MSDN Magazine October 2004

Visual Studio 2005: Bridge the Gap Between Development and Operations with Whitehorse


Microsoft is introducing a new suite of tools (code-named "Whitehorse") that will make it easier for you to design and implement systems that conform to a service-oriented architecture. Two of these tools -- the SOA Design Suite and the Class Designer -- support the graphical design of systems and components with support for code generation and support for bi-directional synchronization which lets you ensure that your diagram always represents your system design. This article introduces these tools and shows you how they'll improve your design and development efforts.

Brian A. Randell and Rockford Lhotka

MSDN Magazine July 2004

Controls: Plan Your Migration to the Visual Studio 2005 Navigation Controls


Navigation is central to a well functioning Web application and it can be implemented numerous ways using today's technologies. This article highlights some of the key details of the new navigation controls that are part of the upcoming ASP.NET 2.0, and talks about how to design and implement one of these navigation controls today. This article contains a simple Web site that demonstrates the use of these navigation controls, pointing out some of the key items such as a breadcrumb control and things to watch for along the way. The article then describes how to implement a breadcrumb control today.

Dave Donaldson and Steven DeWalt

MSDN Magazine June 2004

Visual Studio 2005 and .NET 4.0



I have been working with Visual studio 2005 and .net 2.0. now i am planning to move on to .net 4.0 with visual studio 2005.

i want advice and experience share from other on same senario. is VS 2005 suport .net 4.0, what kind of issue i will be face. i also want to use new AJAX tool kit.

so kindly guide me.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend