This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I created a brand new MVC4 app. Installed new signalR package from NuGet:
Install-Package Microsoft.AspNet.SignalR –pre
Whenever I run it, it loads indefinitely. I know it is caused by SignalR => App_Start/RegisterHubs that was added during install because it never gets passed "RouteTable.Routes.MapHubs(); " line when in debug.
tried it on several machines running windows 7 and Vs2012 and IIS Express
what gives??
thanks
UPDATE:
I just tried it on my home computer. Created a brand new MVC4 app, ran nuget package install and IT WORKS FINE! :) (same set up vs2012, win7, IIS express).
This is weird because everything AT MY OFFICE worked just fine until i installed the new version of signalR.
could it be that at work we're behind a proxy?
-why would that make a difference?
-how can I check if all the files are installed correctly during nuget install at work? What should should i be looking for/check?
one more thing: When I had previous/older version of signalR installed (without the RegisterHubs file) everything worked fine.
thanks
And, For indefinite load times when running the site on IIS Express, Please check your IIS from ControlPanel-->Programs and Features-->Turn windows features on or off-->Internet Information Service. Check whether all the relevant features are assigned in World wide Web services under IIS., I came across with Same issue., I activated relevant features., Now, No indefinite loading.., :) Hope it will helpful for you or someone.
thanks,
Shanthini.
Found the solution:
Changing from IIS Express to VS Development Server OR Local IIS helped. Now everything works fine. Not sure what caused indefinite load times when running the site on IIS Express with Proxy at work.
thanks
Related
I have a high iis worker process attached to a site, cpu hits 99% and stops the site. Ive been looking at the official guide at http://www.iis.net/learn/troubleshoot/performance-issues/troubleshooting-high-cpu-in-an-iis-7x-application-pool but a bit over my head.
My site is a asp.net website (not compiled), is there a third party tool capable of telling me which page/line of code the app is hanging on?
Thanks
If you're using Visual Studio 2015 the tools you're looking for are built into the IDE.
https://msdn.microsoft.com/en-us/library/mt210448.aspx
If you're not using that another way will be to use Debug Diag.
https://blogs.msdn.microsoft.com/debugdiag/2015/11/13/debugdiag2-update-2-is-now-rtw/
You'll find how to instructions on each of these tools, just by doing google searches. But I believe these tools will point you in the right direction and help you fix the CPU issue.
I need to set up a web server on WinCE (7.0) and the following are some of the features that I need to implement through this web site:
be able to update the device software (run an exe) and display output
start/end process
display the run-time of device
Should I use ASP or ISAPI on my web server on WinCE 7(WEC 7) platform? If you include some reasons for your response, it would be great.
I was planning on using ASP because of its simplicity compared to ISAPI; however, when I tested a simple Hello World(hello.asp) page on the device, it took around 30 seconds to load the page. For testing purposes, I am using Windows Virtual PC. So I am not sure what is causing it to be so slow. If you could please enlighten me on this topic too, it would be great.
I looked up ASP .NET Compact framework but I am concerned about performance again.
I am beginner on WinCE development and web development so any answers would be greatly appreciated.
If you need any other information to better answer the question, please let me know and I will provide it.
Classic ASP on CE is really, really limited. You're not going to be able to hit your targets without a custom COM control, which is not very fun to write or debug and it will have to be installed on the service device. Out of the two you've proposed, ISAPI is the only one that will reasonably do what you want.
It's a side note, but from experience I'd not use either due to the absolute pain of debugging either one. I'd use a separate commercial ASP.NET web server for Windows CE. Of course I created it, so I'm biased, but really, even creating your own port 80 server is going to be less painful than the piss-poor out-of-box offerings in CE.
I found out the problem with the slow loading ASP. It is an error with the WinCE 7 web server. Microsoft has released an update that fixes that problem.
Windows Embedded Compact 7 Monthly Update July 2011
So I think I will go ahead and use ASP. I'll see if I can add the features that I need to implement.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
The latest link I can find is from last may and that's Beta 1. Did Microsoft give up on this? I realize they are just basically MSBuild templates, but curious nonetheless.
Visual Studio® 2010 Web Deployment Projects - RTW
Web Deployment Projects are going forward in VS2010 - which is good news since web packages do not support Website projects
I hope they're not still alive.
We probably used them improperly so it's probably our own fault, but they caused us huge issues when we wanted to update just a portion of our site. The supposed benefits of using web site deployment projects never paid off for us and just caused more problems than they were worth.
Edit
Drats. They're still alive.
http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en
I don't know about the web deployment projects, but here's something that's definitely alive: Web Deployment Tool (MS Deploy).
My guess is that they are packing this into Visual Studio 2010 . See http://blogs.msdn.com/webdevtools/archive/2009/06/28/vs2010-beta1-web-application-project-database-package-and-smo-options.aspx
The response from Microsoft:
Web Deployment Projects is not
currently planned to be part of VS
2010... As WDP is out of band we have not yet started planning on it as the
team is focused on working on VS 2010
at this point...
Looks like they've definitely shifted their focus onmsdeploy and "web packages."
I second David stratton - these things are the definition of half-baked. Good ideas wrapped in poor execution, the best thing I can say about them is that they aren't InstallShield.
This problem is beginning to annoy.
After my machine (Vista Ultimate) has been up for a while, running my ASP.NET web site project for debugging in VS2008 results in Internet Explorer "hanging". It doesn't seem to get past the network access stage, you know when it says "Loading web site", or "Waiting for".
I've attached a screenshot of IE. Note the status bar. It stays like that forever. I have to restart it and cross my fingers for it to work the next time. Invariably, it doesn't.
This happened with IE7 and IE8.
I am using the ASP.NET Web Development Server/Cassini. I have tried restarting this each time which seemed ot have got it, but then not so any more.
I'm up to date on patches.
ie screenshot http://img40.imageshack.us/img40/5446/iehanging.png
So thankfully Microsoft have finally released Security Essentials.
This meant I could de-install AVG (Free and paid-for versions) from my machine.
Hey presto, it works!
I would check the following
1) that your not starting IE against the webserver againt the wrong port, if your using the development IIS then it changes ports at times. That combined with you setting up the browser to launch against a the old port could create this problem.
2) Stop the local IIS and restart it (Again make sure your pointing towards the correct port)
3) Make sure you dont have any hung IE in task manager ( this happens to me sometimes ). Basiclly you have a IE in task manager that uses less then 1mb of ram and does not show on the taskbar, if thats the case kill them.
This doesn't sound, strictly speaking, like a hang. Can that tab/other tabs be navigated to other sites? Is your machine configured to use a proxy?
Is the request actually sent? Using Fiddler2 from www.fiddler2.com with the URL http://ipv4.fiddler:56125/ will show you, and help determine where in IE the problem might be.
I just had a similar problem that took about a week to unravel. Using AVG 9 Business Edition.
I'm on a Windows 7 machine with Visual Studio 2010 SP1, debugging ASP.NET sites running in IIS, with the same "hang" behavior you're seeing. Disabling LinkScanner and Online Shield in AVG fixed the problem.
I need to install amp on a windows2003 production server. I'd like, if possible, an integrated install/management tool so I don't have to install/integrate the components of amp separately. Those that I've found are 'development' servers. Are there any packages out there that install amp in a production ready (locked down state)?
I'm aware of LAMP... Windows, since we have IIS apps already and we've paid for this box, is a requirement. I'll take care of all the other hangups. I just want a simple way to install, integrate, and manage AMP.
I'm not sure running WAMP as a production server is a good idea. I use wamp to stage proyects and then I move them to a Linux server.
You can try any of this solutions:
http://www.uniformserver.com/
Some people state that they are working fine with WAMP Server, but again, I wouldn't recommend it.
Xampp is quite popular, i just don't know how "production level" it is:
http://www.apachefriends.org/en/xampp.html
Without wanting to sound elite: For "real" production Environments, it's possibly not a bad idea to setup and configure the components individually, but this requires some deeper knowledge than "hit setup and run".
There doesn't appear to be any all-in one packages that are up to date and 'designed' for production. You just can't trust the default installs to be secure on whats out there.
I ended up just doing this manually. It wasn't painful though. Each component's install procedure was documented reasonably well. Took me about 3.5hrs. A nice side effect of the involved setup was that it gave me a much better understanding of each component's dependencies and the ways in which they touch. In hind sight I should have done it manually from the start.
Note: make sure you read the comments below each component's documentation pages. Some contain valuable corrections to the install process.
Since the time this question was asked Zend has released Zend Server.
Zend Server is a complete,
enterprise-ready Web Application
Server for running and managing PHP
applications that require a high level
of reliability, performance and
security.
There doesn't appear to be any all-in one packages that are up to date and 'designed' for production. You just can't trust the default installs to be secure on whats out there.
WampDeveloper Pro is a commercial WAMP package that is specifically designed for production use (which I use).
I don't think that when this question was asked there was a viable solution for the above.