Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3330536
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:30:06+00:00 2026-05-17T23:30:06+00:00

Short Version : I’m using a 64bit dll (system.data.sqlite) in an Asp.net MVC app

  • 0

Short Version:

I’m using a 64bit dll (system.data.sqlite) in an Asp.net MVC app in VS 2010. The application runs and debugs fine, but all the aspx and ascx pages show errors when editing in Visual Studio 2010 and intellisense doesn’t work.

This is a VS2010 regression bug. Does anyone have a work around?

(OR)

Does anyone know of a free, reliable, production ready embeddable database that doesn’t cause a 32/64 bit problem?

More Details

Apparently this worked in Visual Studio 2008 and this has been is a known regression bug in Visual Studio 2010 for several months. I don’t want to revert to VS 2008 and I don’t want to debug in 32 bit mode.

I have web application that needs to debug and deploy as a 64 bit mode because it uses uses some unmanaged 64 bit dll’s like system.data.sqlite. Also, I prefer debugging in 64 bit mode because it allows us to test some high memory use cases.

After a lot of fiddling, Asp.net will deploy and run just fine. However all the aspx and ascx pages show errors and intellisense doesn’t work when editing them in Visual Studio 2010. Apparently this worked in Visual Studio 2008 and this has been is a known problem in Visual Studio 2010 for months. I don’t want to revert to VS 2008.

There was a work around posted on SO here but it didn’t work in my tests, limits debugging to 32bit mode, and also feels a bit hacky (I think it only works for VS Express style websites). Has anyone made this work in a web application or have a better work around?

For those who are interested Visual Studio 2010 has two other problems with 64bit dlls that I have managed to work around.

Problem 1 – Cassini: Cassini can only debug in 32 bit mode

Solution 1 – CassiniDev or Localhost: Debug using localhost or compile CassiniDev (an opensoure variant of cassini) in 64bit mode. I like the zero config simplicity of debugging a new web app with cassini so I used CassiniDev. You just stick the dlls in C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0 and it works (I recommended making a backup of the Cassini version you will be over writing).

Problem 2 – MSTest: By default unit tests run with MSTest fail to load 64bit dlls.

Solution 2 – AnyCPU & 64bit host process Instructions here, set local.testsettings to AnyCPU & 64bit host process

I’m starting to think the whole setup is too little hacky and I’m on the verge of giving up and restructuring my application to not use a 64bit dll. I’m also really disappointed that Visual Studio 2010 caused all these problems. Can somebody make MS fix the regression bug they created?

Or,

We want to use an embeddable database. Does anyone know of a free, reliable, production ready embeddable database that doesn’t cause the 32/64 bit problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:30:06+00:00Added an answer on May 17, 2026 at 11:30 pm

    I’m afraid there may not be a work around that enables 64bit debugging Asp.net with a 64bit unmanaged dll dependency that won’t break the web forms editor. I’m thinking the VS Asp.net team considers 64bit dependencies an edge case and will fix the webforms editor when they have time… be warned.

    You can always debug in 32bit mode and then deploy 64bit without proper testing.

    I’m planning to avoid the issue by replacing sqlite with a persistent key/value solution based on managed esent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Short version: When two lists are adjacent to each other, is there a way
Short version: When I try to use Access's DatePart function via ODBC, it cannot
Short version: The default inspect method for a class displays the object's address.* How
Short version: After branching in P4, how can I find out the source changelist
Short Version Is there a way to force (or provide a hint to) Microsoft
Short Version How can I do concatMap in MATLAB? I'm trying to build a
Short version: is it safe to use ets:foldl to delete every ETS record as
[Edit: Short version - how do you properly handle namespace collisions in SWC files
Related question: why does Git send whole repository each time push origin master The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.