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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:24:34+00:00 2026-05-11T05:24:34+00:00

I have an ASP.NET web application that calls a .NET DLL, that in turn

  • 0

I have an ASP.NET web application that calls a .NET DLL, that in turn calls a web service. The web service call is throwing an exception:

Unable to generate a temporary class (result=1). error CS0001: Internal compiler error (0xc00000fd) error CS0003: Out of memory

Stack Trace: at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type) at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type) at System.Web.Services.Protocols.SoapClientType..ctor(Type type) at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()

I should mention that this is the first time I have executed this particular bit of code on this PC (I recently did a Windows reformat/reinstall) — which makes me think it is a problem with the environment (the same application runs fine on our test and production servers). But I’m stumped as to the cause.


Some additional details to answer follow-up questions:

  • This is a real PC (not a VM).
  • I’m running .NET 3.5 on IIS 7. Our production servers are IIS 6, but it has worked correctly on IIS 7 before.
  • The PC has 2 GB of RAM with plenty of that free.
  • I haven’t changed any of the machine.config settings, nor any of the web.config settings related to process model, compilation, memory usage, etc.
  • The local IIS_IUSRS group has read/write permissions for the ‘Temporary ASP.NET Files’ folder.
  • I checked the application pool settings: both private memory and virtual memory are set to 0 (no limit).

Memory usage of the worker process:

  • I recycled the worker process to get a clean slate and then hit an ASP.NET page in the application…Task Manager shows 22 MB used.
  • I then hit the event that makes the web service call and the memory usage shoots up to about 150 MB, levels off, then I get the exception.
  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T05:24:35+00:00Added an answer on May 11, 2026 at 5:24 am

    Well, I’m not sure exactly why this worked (which is frustrating), but I did come up with something…

    My previous install of Windows was 32-bit, but when I rebuilt my PC recently, I went with the 64-bit version. So, I changed the ‘Enable 32-Bit Applications’ setting on my application pool in IIS to ‘True’, and everything seems to work fine now.

    The DLL and the web site itself are configured to compile as ‘Any CPU’, so they shouldn’t have caused any problems on Win64. And the ‘out of memory’ error is still a bit perplexing (and unhelpful). If anyone has any ideas, you get the ‘accepted’ points.

    • 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 application that calls an Amazon Web Service to start a
I have an ASP.NET web application that calls a web service on a remote
I have an ASP.NET MVC web application that makes REST style web service calls
I have an ASP.NET application that calls other web services through SSL (outside the
Suppose you have the following... An ASP.NET web application that calls a stored procedure
I have an ASP.NET web application that presents data retrieved from a web service.
I have an asp.net web application that makes calls to several WCF services. The
Background We have an asp.net 4.0 web application written in C# that calls a
I have a asp.net web application that uses C#. It logs in on a
I have an ASP.NET web application that is using forms authentication. Everything is configured

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.