When OrcsWeb says they do Managed Windows Server Hosting, they really mean it. As part of that managed hosting, they often engage in beta programs and include their clients so that both the OrcsWeb staff and the end-users can get familiar with certain products prior to the release. One such product is Microsoft SQL Server […]
How to Set All Databases to Simple Recover Model (Logging)
Below is a slight variant of some TSQL I borrowed from http://www.roelvanlisdonk.nl/?p=1703 It loops through all the databases on a server and changes the recovery model to Simple, which, if you aren’t aware, changes the amount of logging and how the logging is handled. You should make sure you aware of the impact of that change […]
Sending email from ASP.Net 4 – C# sample code
Below is sample code showing how to send email from ASP.Net 4 using C#. With this code I am assuming that the server already has a local SMTP service installed, so I use “localhost” to relay the email. (Here is a Razor C# example) [NOTE: I guess it isn’t obvious, but you need a working […]
Securing ASP.Net Pages – Forms Authentication – C# and .Net 4
ASP.Net has a built-in feature named Forms Authentication that allows a developer to easily secure certain areas of a web site. In this post I’m going to build a simple authentication sample using C# and ASP.Net 4.0.
ASP.NET, Development/Coding, HostingIIS7 Mime Mappings
For very good reasons, not all extensions are recognized by IIS by default and may return a 404 error when trying to access them from your site. If you have need to add more extensions to be “allowed” – for example if you have embedded font files – you have a few different options. One […]
ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tipGreat Pointers For Analyzing Memory Crash Dumps
This is an older article (2006) but still an excellent resource for anyone who has to do deep troubleshooting and research to determine the cause of a crash in a .NET application. With these tips, and perhaps just a little luck, you can even trace the issue down to the exact line of code that’s […]
.NET, Hosting, IIS, System Administration, Troubleshooting, WindowsResolving the error: ~/Telerik.Web.UI.WebResource.axd is missing in web.config.
When attempting to run an application that uses certain Telerik controls, you may run into the error below: System.InvalidOperationException: ‘~/Telerik.Web.UI.WebResource.axd’ is missing in web.config. RadStyleSheetManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadStyleSheetManager at Telerik.Web.UI.RadStyleSheetManager.OnPreRender(EventArgs e) […]
ASP.NET, blog, CMS, Hosting, IIS, TroubleshootingNeed to take ownership of multiple files or folders in Windows Server 2008?
If you find yourself in a situation where you need to take ownership of a large number of files and/or folders – like after a data restore – you can either do it the tedious way using the properties dialog one file/folder at a time, or you can use TAKEOWN. TAKEOWN allows you to take […]
System Administration, WindowsA Tip For Resolving Group Policy Error 0x8007000d
Rick Barber at OrcsWeb wrote a blog post about Resolving Group Policy Error 0x8007000d that might be helpful so I’m reposting here. Happy hosting!
System Administration, Troubleshooting, WindowsTroubleshooting SSL in IIS
Terri Donahue @ OrcsWeb was helping a client with an SSL problem recently and wrote up this nice guest post below to help anyone else who may be in a similar troubleshooting situation. ————————————————————- I encountered a very interesting SSL issue while resolving a problem for a client this week. An SSL certificate was installed […]
Hosting, IIS, System Administration, Troubleshooting, Windows