Comments (7)
Hm that's really weird. Do you see any errors at all when this occurs?
from routejs.
No errors at all. I'll probably have some time this week to build from source and see if I can find more info.
from routejs.
I have identified what is causing this problem.
This problem is reproducible when you restart IIS and access
routejs.axd before accessing an MVC application.
Since you haven't loaded RouteJS.Mvc.dll at this point in routejs.axd,
IDefaultsProcessor is not registered in ComponentRegistration, and
routeInfo.Defaults and other settings are blank.
I'm sorry but I haven't figured out what is the appropriate solution
for this problem,
so this is only a report of the cause.
As a temporary measure, I'm accessing the Type of RouteJS.Mvc.dll in
Application_Start to load the DLL.
from routejs.
Nice find, thanks for reporting. I've got some ideas, I'll work on a fix
soon.
Sent from my mobile.
On Apr 3, 2014 3:24 AM, "yuji1982" [email protected] wrote:
I have identified what is causing this problem.
This problem is reproducible when you restart IIS and access
routejs.axd before accessing an MVC application.Since you haven't loaded RouteJS.Mvc.dll at this point in routejs.axd,
IDefaultsProcessor is not registered in ComponentRegistration, and
routeInfo.Defaults and other settings are blank.I'm sorry but I haven't figured out what is the appropriate solution
for this problem,
so this is only a report of the cause.As a temporary measure, I'm accessing the Type of RouteJS.Mvc.dll in
Application_Start to load the DLL.Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-39435777
.
from routejs.
This should be fixed in 1.1.6 as I've switched to using WebActivator for initialising the IoC container. Thanks for reporting!
from routejs.
Hi, just wanted to let you know that this was happening to me as well on 1.1.4. It also occurred if I left my PC for a while and came back and just refreshed the page. I'm going to install 1.1.7 now and see if it continues to occur.
from routejs.
Thanks, let me know if you still see the issue.
from routejs.
Related Issues (20)
- ASP.NET 5 (vNext) support HOT 2
- Area route with "area" in defaults throws exception HOT 3
- Route .action - invalid route created (regression in v2.0) HOT 10
- Add an option for enabling lower case urls
- lowerCaseUrls is not recognised in web.config
- Mismatch between how attribute routes inside areas are matched HOT 1
- settings.baseUrl in AspNet5 is an empty string HOT 1
- Problem with routes HOT 7
- "Object reference not set to an instance of an object" error in web environment HOT 1
- AddRouteJs HOT 1
- System.TypeLoadException HOT 4
- No updated RouteJs.AspNet nuget package for PR #53 HOT 3
- Upgrade to Visual Studio 2017 + associated tooling
- Add unit test for AttributeRouteFetcher
- Typescript HOT 1
- No route could be matched to route values: [object Object] HOT 3
- RouteJs Updates? HOT 2
- var url explain don't clear
- Support for asp core 3 HOT 6
- Support for razor pages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routejs.