Wierd error - urgent!!!

D

David Li

Hi guys,
Suddenly I got the following error message for all of my web applications. It's gone if I restart the IIS service, but it comes back if I recompile any of the web applications. Really appreciate it if anybody has some ideas about this. Thanks in advance!!!


David

Server Error in '/TestingApp' Application.
--------------------------------------------------------------------------------

Value does not fall within the expected range.
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.ArgumentException: Value does not fall within the expected range.

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:

[ArgumentException: Value does not fall within the expected range.]
System.Reflection.Assembly.GetReferencedAssemblies() +0
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +45
System.Web.Compilation.BaseCompiler.GetCompiledType() +382
System.Web.UI.ApplicationFileParser.CompileIntoType() +52
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +126

[HttpException (0x80004005): Value does not fall within the expected range.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 
M

Mike Johnson

Looks like an array index is out of range at some point in the program. It's possible a counter gets incremented as time goes on and after awhile it gets too high for the upper end of the array.

HTH

Mike


Hi guys,
Suddenly I got the following error message for all of my web applications. It's gone if I restart the IIS service, but it comes back if I recompile any of the web applications. Really appreciate it if anybody has some ideas about this. Thanks in advance!!!


David

Server Error in '/TestingApp' Application.
------------------------------------------------------------------------------

Value does not fall within the expected range.
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.ArgumentException: Value does not fall within the expected range.

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:

[ArgumentException: Value does not fall within the expected range.]
System.Reflection.Assembly.GetReferencedAssemblies() +0
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +45
System.Web.Compilation.BaseCompiler.GetCompiledType() +382
System.Web.UI.ApplicationFileParser.CompileIntoType() +52
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +126

[HttpException (0x80004005): Value does not fall within the expected range.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 
D

David Li

Mike,

Thank you for the reply. I found the reason: my code calls some unmanaged Win32 code with passing just 1 wrong parameter and it crashes the IIS! Luckily it's fixed now.


David
Looks like an array index is out of range at some point in the program. It's possible a counter gets incremented as time goes on and after awhile it gets too high for the upper end of the array.

HTH

Mike


Hi guys,
Suddenly I got the following error message for all of my web applications. It's gone if I restart the IIS service, but it comes back if I recompile any of the web applications. Really appreciate it if anybody has some ideas about this. Thanks in advance!!!


David

Server Error in '/TestingApp' Application.
--------------------------------------------------------------------------

Value does not fall within the expected range.
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.ArgumentException: Value does not fall within the expected range.

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:

[ArgumentException: Value does not fall within the expected range.]
System.Reflection.Assembly.GetReferencedAssemblies() +0
System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a) +45
System.Web.Compilation.BaseCompiler.GetCompiledType() +382
System.Web.UI.ApplicationFileParser.CompileIntoType() +52
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() +126

[HttpException (0x80004005): Value does not fall within the expected range.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
System.Web.UI.TemplateParser.GetParserCacheItem() +88
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 
Joined
Jul 4, 2009
Messages
1
Reaction score
0
event log file is full

hi
when i try to connect to database at SQL server
i canno't coz of this problem
the event log file is full
best regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top