Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest StaticFiles package causing error #249

Closed
devmondo opened this issue Dec 24, 2014 · 2 comments
Closed

latest StaticFiles package causing error #249

devmondo opened this issue Dec 24, 2014 · 2 comments

Comments

@devmondo
Copy link

if i remove the following from Startup.cs everything works fine

app.UseStaticFiles();

but if i add it, i get the following error if i am browsing to any page, like "http://localhost/home" but serving static files works fine.

An unhandled exception occurred while processing the request.

ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)

Stack Query Cookies Headers Environment
ArgumentOutOfRangeException: The UTC time represented when the offset is applied must be between year 0 and 10,000. Parameter name: offset
System.DateTimeOffset.ValidateDate(DateTime dateTime, TimeSpan offset)
System.DateTimeOffset..ctor(DateTime dateTime)
Microsoft.AspNet.StaticFiles.StaticFileContext..ctor(HttpContext context, StaticFileOptions options, PathString matchUrl, ILogger logger)
Microsoft.AspNet.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
Microsoft.AspNet.Diagnostics.ErrorPageMiddleware.<Invoke>d__1.MoveNext()
@Praburaj
Copy link

Moving this bug to static files repo.

@Praburaj
Copy link

This issue was moved to aspnet/StaticFiles#23

jkotalik pushed a commit that referenced this issue Nov 1, 2018
* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* Init check in for refactoring

* clean up to make app_offline work

* update loadassembly and build

* add configpath to aspnetcore_config to make recycle work

* Adds in process component to refactor (#249)

* outprocess first checkin (still missing marjor components)

* Adds In-Process support for shimmed module. (#257)

* load from bin start and catch unhandled exception

* Fixes request handler vcxproj

* Adds request handler to nuget package

* build issues

* outofprocess refactoring

* adding logging support

* enforce Warning As Error for build and enable process recycle for outofprocess

* fix AV for win32 build and update build flags

* Fixed m_srwLock lock issue

* remove dealock in loadmanagedapp and remove UseMFC

* Readd lost exception catching

* nuget package issue and status code

* fixing warnings

* Adds Headers

* removing web sockets exe for now

* remove flags

* nuspec stuff

* spelling

* only look in inetsvr for now (or same folder)

* rename method

* terminte thread before closing the handle to it

* couple changes related with AV

* null check and Kill thread for in process if dotnet timed out

* fix recursive lock issue reported by appverifier

* client disconnect support AV fix

* flow 502.5 process start failure error page

* Feedback from inperson code review
natemcmaster pushed a commit that referenced this issue Nov 13, 2018
…' to help us diagnose issues

Fixes #252 - help output shown twice in dotnet-watch
Fixes #250 - add dotnet-watch --list. Prints a list of all files discovered
Fixes #249 - better error message when GenerateWatchList fails
natemcmaster pushed a commit that referenced this issue Nov 14, 2018
natemcmaster pushed a commit that referenced this issue Nov 14, 2018
ryanbrandenburg pushed a commit that referenced this issue Nov 19, 2018
…master

[automated] Merge branch 'release/2.2' => 'master'
natemcmaster pushed a commit that referenced this issue Nov 30, 2018
* Ensures our build stays clean of NuGet warnings
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants