error loading web.config dotnetframework 2.0 Parameter name: ticks.

T

TC

Anyone know what this means
Parser Error Message: Error loading XML file E:\Inetpub\wwwroot\web.config
Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.
Parameter name: ticks.

w2k with Microsoft .NET Framework Version:2.0.40607.42; ASP.NET
Version:2.0.40607.42

I get this error on any aspx file even hello world
<html>
<head>
<title>ASP.NET Hello World</title>
</head>
<body bgcolor="#FFFFFF">
<p>Hello World!</p>
</body>
</html>
 
T

TC

OK I have played around here a bit
Default web site, properties, asp net tab
if I change the the framework to use 1.3705.288 it works
if I change to the 1.14322.0 I get a full stack trace, I am still not sure
what it means ?
any one seen this ??

[ArgumentOutOfRangeException: Ticks must be between DateTime.MinValue.Ticks
and DateTime.MaxValue.Ticks.
Parameter name: ticks]
System.DateTime..ctor(Int64 ticks) +101
System.Web.Util.DateTimeUtil.FromFileTimeToUtc(Int64 filetime) +36
System.Web.FileAttributesData..ctor(WIN32_FILE_ATTRIBUTE_DATA& data) +28
System.Web.FileAttributesData.GetFileAttributes(String path,
FileAttributesData& fa) +88
System.Web.FileChangesMonitor.FindDirectoryMonitor(String dir, Boolean
addIfNotFound, Boolean throwOnError) +410
System.Web.FileChangesMonitor.StartMonitoringFile(String alias,
FileChangeEventHandler callback) +304
System.Web.Configuration.HttpConfigurationSystem.AddFileDependency(String
file) +139
System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String
reqPath, IHttpMapPath configmap) +503
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath,
IHttpMapPath configmap) +434
System.Web.HttpContext.GetCompleteConfig() +48
System.Web.HttpContext.GetConfig(String name) +195
System.Web.CustomErrors.GetSettings(HttpContext context, Boolean
canThrow) +20
System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow)
+40
System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext
 

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

Top