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 8307517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:32:28+00:00 2026-06-08T18:32:28+00:00

I have a Web Forms Web Site project. This web site references 4 class

  • 0

I have a Web Forms Web Site project. This web site references 4 class library projects. 3 of these class libraries reference a third-party assembly. I am getting the following compiler error for each of the 3 class library projects.

ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly
‘myAssembly’ or one of its dependencies. An attempt was made to load a
program with an incorrect format. [Project.
metaproj]

I have tried all possible combinations of AnyCPU/x86/x64 on the class library projects. I cannot change this on the Web Site project. I have both a x86 and x64 version of the third-party dll. Tried both.

“ClassLibrary.csproj” (default target) (4) ->
(ResolveAssemblyReferences target) ->
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1561,5
): warning MSB3270: There was a mismatch between the processor architecture of
the project being built “MSIL” and the processor architecture of the reference
“ThirdPartyDll, Version=xxx, Culture=neutral, processorArchitectu
re=x86”, “x86”. This mismatch may cause runtime failures. Please consider chang
ing the targeted processor architecture of your project through the Configurati
on Manager so as to align the processor architectures between your project and
references, or take a dependency on references with a processor architecture th
at matches the targeted processor architecture of your project. [ClassLibrary.cspro
j]

The bellow illustrates the solution configuration. Note I cannot change from “AnyCPU” here, only from within each individual class library project.

Solution configuration

All .NET 4

Converting the Web Site to a Web Application is not an option.

Thanks,

  • 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-06-08T18:32:30+00:00Added an answer on June 8, 2026 at 6:32 pm

    Obviously, you have a native 32 bit DLL. So the application pool on IIS must be configured to run the .NET framework in 32 bit mode.

    This can be configured in the IIS Manager. Go to “Application Pool”, select the relevant application pool and open the “Advanced Settings…” dialog. The 32 bit option is close to the top.

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

Sidebar

Related Questions

I have an ASP.NET Web Forms web site. It has a page inside of
I have a web site (ASP.NET, no MVC) with multiple web forms for filling
I have a web site that contains an HTML form, in this form I
I have a Visual Studio 2008 .NET 3.5 Web forms project that constantly shows
I have an Asp.Net 4.0 Web Forms project that uses url routing for user
I have an ASP.NET Web Site running in Visual Studio dev-fabric (azure project) and
We have project on Umbraco 4 (web forms). And now we want to use
I have an ASP.NET web application with a web forms projects with dependencies on
I have created a simple web app/form using google app engine. the site is
on my web site I want to have login/registration form in modal window done

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.