This is a migrated thread and some comments may be shown as answers.

Failure in Loading Telerik.UI.Web assembly

13 Answers 341 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shawn Wildermuth
Top achievements
Rank 1
Shawn Wildermuth asked on 22 Jun 2008, 03:53 AM
I am getting:

Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)

When my ASP.NET app is loading.  This happens both in Visual Studio 2008 and when I try to run the Live examples. I am running Windows 2008 but VS2008 is running under an administrator account and I do have full permissions to the directory. Any ideas?

13 Answers, 1 is accepted

Sort by
0
Shawn Wildermuth
Top achievements
Rank 1
answered on 23 Jun 2008, 11:42 PM
Still nothing on this?  Any clues on how to debug this?  I hate ot have to tear out all the telerik controls, but I am getting close.
0
Duncan Mackenzie
Top achievements
Rank 1
answered on 24 Jun 2008, 06:43 AM
Shawn, I wish I could solve your problem... but I thought I should at least let you know that I get the exact same issue on my machine. I get it in two situations, either when the application runs or when I try to compile it. Suspecting it was a memory issue, I close everything I can, recycle the app pool, restart the web site and sometimes it comes up. Failing that, I restart... and that usually fixes it.
0
Shawn Wildermuth
Top achievements
Rank 1
answered on 24 Jun 2008, 09:27 AM
This seems to happen with the machine is under memory issues...but what is really "low" memory is odd.  I have 4GB memory, this happens when that drops to less than 2 GB free...closing the web server and VS doesn't help...so it can't load the assembly if less than 2GB is free?  Wow...that's a bad issue...
0
Shawn Wildermuth
Top achievements
Rank 1
answered on 24 Jun 2008, 09:30 AM
At this point, I've moved on to another control to fill my needs...hopefully this can be addressed and I can return to the control but I've found a stop-gap solution.
0
Troy
Top achievements
Rank 1
answered on 08 Nov 2008, 05:10 PM
I get the same error with VS.NET 2008 and am also close to scrapping the potential use of this quite. below is the error that occurs when trying to run a web app from VS.
 

Server Error in '/' Application.

Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x800705aa): Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)]

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
   System.Reflection.Assembly.Load(String assemblyString) +25
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465475
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279
0
Atanas Korchev
Telerik team
answered on 11 Nov 2008, 03:42 PM
Hello,

We have never encountered this error before so I would like to ask you a few questions about your environment:

  • Could you please provide more details about your configuration? The things which we are interested in are:
  1. Operating system (and any service packs)
  2. Visual Studio version number (and any service pack)
  3. PC configuration (RAM, CPU)
  • I've noticed that you are using an older version of RadControls for ASP.NET Ajax - Q1 2008. The current version is Q3 2008. Have you tried using the latest version?
  • Does the problem occur in a simple web site (not our online examples)?
  • Does the problem appear always?
  • The error message indicates insufficient system resources (perhaps no free RAM) - could that be the problem (visual studio occupying all the available memory)?

Regards,
Atanas Korchev,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Troy
Top achievements
Rank 1
answered on 13 Nov 2008, 04:26 AM
Vista Home Premium with SP1 (32-bit OS)
3GB Memory
Intel Core2Duo P8400 2.26GHz
Visual Studio 2008 Pro (no SP)

I thought I was using the latest Telerik though wasn't. The problem occurs over time it seems and I do ask a lot of computer/laptop though not to the point where I need to stop applications to allow the Telerik to load. If I have less than a 1.3 GB free, it seems to happen, so I shut down apps/processes to get the memory to a point where it can load. I was using the tools for a while with VS 2005 on a computer that had 2GB of memory and never ran into the error. Bought a better/new computer and VS.NET 2008 and have this issue. I'm not sure if it happens with the sample website.

Thanks,

Troy
 

0
Atanas Korchev
Telerik team
answered on 17 Nov 2008, 08:55 AM
Hello Troy,

I am using a PC with 2GB of memory but the problem has never occurred so far even with lots of applications open. I suggest you open a support ticket and send us your project so we can troubleshoot it locally. I suggest something in your application is consuming memory without releasing it (e.g. storing UI objects in application or session state).

Regards,
Atanas Korchev,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Troy
Top achievements
Rank 1
answered on 18 Nov 2008, 05:53 AM
Hello -

Thanks for your though the suggestion isn't possible given what would be involed in sending the project/files/etc. That being said, the code is not the source of this issue as the same set of code works fine in Visual Studio 2005 on a lesser machine with the same demand or more. Could be: Visual Studio 2005/2008 differences, (debug mode, resource threashold checks, other), Telerik controls internally, Internal web server config/issue. I would think it has something to do with the debugging as the error suggests in conjunction with a decent load on the computer. If you even figure this out, please let me know.

Thanks,

Troy
0
Benoit
Top achievements
Rank 1
answered on 19 Feb 2009, 08:13 AM
Hello,

Did you find a solution ?

I've the same problem. It appears when I build my projects, and sometimes when I run it. There is no stable solution : it can be fixed by closing IE or FF or simply wait few minutes ...

My PC runs under VISTA SP1 with VS2008 SP1, 3Gb RAM, C2D E4500 (2.2Ghz) (1.5Gb ram free). The project is .Net 2.0 (not 3.5) and the Telerik DDL version is Q3 2008 3.1125.

Thanks.

0
Mark Fitzpatrick
Top achievements
Rank 1
answered on 19 Feb 2009, 08:46 PM
I see this as well, but again only when I compile my applications. I'm using Web Application Projects so I am never in the position where the site itself throws an error because the Web Application Projects are pre-compiled. In my case, closing Visual Studio then re-opening the project solves the error. Occassionally I receive this for non-Telerik third-party controls as well such ComponentArt's WebUI. I have 6 recently upgraded to 6 GB of ram (Vista Ultimate 64-bit) and see this problem far, far, far less frequently. Don't know if this information helps to debug the issue or not, but thought it would be worth a try.
0
Matt
Top achievements
Rank 1
answered on 19 Oct 2011, 08:12 PM

Any solution to this yet? I am recieving the same error every couple of days on a production windows 2003 server. Recycling the App Pool fixes the problem temporarily.

Server Error in '/' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA) (H:\www\web.config line 233)

Source Error:

 

Line 231:                          <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
Line 232:                          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 233:                          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
Line 234:                          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
Line 235:                 </httpModules>
0
Andy
Top achievements
Rank 2
answered on 01 Dec 2011, 05:50 PM
I'm getting the same error, usually when I update a site.  It's clearly related to the RadUploadModule, but I have no idea what the issue may be.

Server Error in '/xyz' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Exception of type 'System.OutOfMemoryException' was thrown. (D:\Inetpub\wwwroot\xyz\web.config line 129)

Source Error: 

Line 127:                 <httpModules>

Line 128:                          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

Line 129:                          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>

Line 130:                          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>

Line 131:                 </httpModules>


Source File: D:\Inetpub\wwwroot\QRLending\web.config    Line: 129 


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614

Tags
General Discussions
Asked by
Shawn Wildermuth
Top achievements
Rank 1
Answers by
Shawn Wildermuth
Top achievements
Rank 1
Duncan Mackenzie
Top achievements
Rank 1
Troy
Top achievements
Rank 1
Atanas Korchev
Telerik team
Benoit
Top achievements
Rank 1
Mark Fitzpatrick
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Andy
Top achievements
Rank 2
Share this question
or