upgrade to w2k3 - web apps wont run

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just upgraded from win2000 to 2003. Now when I try and run a web project I receive the following error message
"Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks
This occurs on any .aspx page even a new blank page

Also when I look in the event viewer I have the following system error which is occuring very frequently
Unable to start a DCOM Server: {5A5AA0AA-1DEB-4683-96B0-B43301E83971}. The error
"The system cannot find the file specified.
Happened while starting this command
C:\WINNT\system32\HPBPRO.EXE -Embeddin

Sure enough C:\WINNT\system32\HPBPRO.EXE doesn't exists. I have tried reinstalling Visual Studio and ASP.NET, but it didn't help

Any ideas would be greatly appreciate

Regard
Sam
 
Sam said:
I just upgraded from win2000 to 2003. Now when I try and run a web project
I receive the following error message:
"Ticks must be between DateTime.MinValue.Ticks and
DateTime.MaxValue.Ticks. Parameter name: ticks"
This occurs on any .aspx page even a new blank page.

What exactly do you mean, "when I try and run a web project"? Do you mean
when you request any page in the web project?

Also, what does the stack trace show?
 
I mean when I call up any .ASPX page in Internet Explorer6

The stack trace is as follows
[ArgumentOutOfRangeException: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks
Parameter name: ticks
System.DateTime..ctor(Int64 ticks) +10
System.DateTime.FromFileTimeUtc(Int64 fileTime) +5
System.IO.FileSystemInfo.get_CreationTimeUtc() +6
System.IO.FileSystemInfo.get_CreationTime() +1
System.Web.Compilation.DateTimeCombiner.AddFile(String fileName
System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context
System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context
System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile
System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation(
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath(
System.Web.UI.TemplateParser.GetParserCacheItem(
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context
System.Web.HttpApplicationFactory.Init(HttpContext context
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +17
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +41

Sam
 
Sam said:
I mean when I call up any .ASPX page in Internet Explorer6.

The stack trace is as follows:
[ArgumentOutOfRangeException: Ticks must be between
DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.
Parameter name: ticks]
System.DateTime..ctor(Int64 ticks) +101
System.DateTime.FromFileTimeUtc(Int64 fileTime) +52
System.IO.FileSystemInfo.get_CreationTimeUtc() +68
System.IO.FileSystemInfo.get_CreationTime() +15
System.Web.Compilation.DateTimeCombiner.AddFile(String fileName)
System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext
context)
System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContex
t context)System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(Http
Context context, String virtualPath, Boolean fApplicationFile)
System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation()
fCreateIfNotFound)
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem()
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
System.Web.HttpApplicationFactory.Init(HttpContext context)
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+414

Wow. Interesting stack trace.

This looks there's a file with an unusual creation time, perhaps within the
virtual directory of your web application, perhaps your global.asax. Also,
check your system date/time.

Beyond that, I have no clue. Try a Google search for the error, or maybe
someone from Microsoft can help. I don't recall having seen a stack like
this past "GetCompiledApplicationType".
 
Thanks John
We have had issues with time synchronization with the domain controller
I'll keep you posted

Sam
 
Hi,

Try deleting the contents of the
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files". It
contains previously compiled cached items for asp.net. Maybe there is an old
incompatible/corrupted file in there.

Erik
 
Back
Top