Search

Creating 64-bit Web Form Application project by a2d_dev

Closed

1
0
Sign in
to vote
Type: Bug
ID: 780025
Opened: 2/26/2013 5:55:03 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Cannot run ASP 64-bit Web Form Application on Windows 7.

Exception has a place in this configuration also: MS Visual Studio 2010 Ultimate on Windows 7, MS Visual Studio 2012 on Windows 8.

The compiled 'dll' has to be exactly the 64-bit, because the database connection driver (IBM INFORMIX ODBC DRIVER 64-bit) throw exception: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.

In case 64-bit Windows Forms everything is working fine.

Could you possibly help me to solve this problem?
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

.NET Framework 4.0

Steps to reproduce

1. Create Web Application (ASP.NET Forms) project from the start (WebApplication_X64)
2. Propertities -> Build -> Platform Target : x64
3. Run application (F5)

Product Language

English

Operating System

Windows 7

Operating System Language

Russian

Actual results

System.BadImageFormatException: Could not load file or assembly 'WebApplication_X64' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Expected results

Execute ASP 64-bit Web Form Application on Windows 7
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 3/1/2013 at 12:11 PM
This is likely caused by the fact that only the 32-bit version of IIS Express is launched from Visual Studio. There is an unsupported registry key override in Visual Studio 2012 to force VS to launch the 64-bit version of IIS Express, details at http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3254745-allow-for-iis-express-64-bit-to-run-from-visual-st
Posted by a2d_dev on 3/1/2013 at 12:49 AM
I am looking forward to your reply.
Posted by Microsoft on 2/26/2013 at 10:33 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 2/26/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.