A project I am working on currently is hosted on a VPS with a Plesk control panel. When attempting to upgrade from RC3 to the final release the process kept getting stuck on the database check stage as it was trying to write to the web.config but it appears it needs to write a temporary file to the root of the hosting environment. At this point an exception was being thrown because within a Plesk hosted environment you can't set write permissions on the root only on files and folders within it. The following post led me to a solution that gets you past the step in the upgrade process that requires you to manually update the web.config, no hardship but just a bit of a PITA and will hopefully be addressed in future upgrades.…
I recently upgraded TwitterBerry to v0.8 on my Blackberry Pearl and it stopped working, every time I tried to connect I got a 'Network Request Failed' error. My friend Google wasn't much help so I emailed support at Orangatame Software which yielded no result and zero response which I thought was pretty lame since I did get an auto-response back from them stating "Thank you for submitting your question to us online. Case #00001998: "Network Request Failed" has been created and a Orangatame Customer Advocate will get back to you shortly." Anyhow, this morning I was messing with the settings and managed to get it working by configuring it to use a connection mode of BIBS whatever that is, so I am now able to start tweeting again from my phone!…
For some reason or another I ended up with a corrupt default.aspx.designer.cs file in a recent web project, a quick check with my best friend(Google) and the solution it seemed couldn't be easier. Delete the .designer file and right click the .aspx file and select "Convert to Web Application"...were you expecting more? Sorry, that's all there is to it!…
This is more of a note for myself but it's handy little snippet for future reference to change the owner of objects in a MS SQL Server database. This is particularly handy when objects have been created by web applications and not set the object owner to dbo. To view th source code for the stored procedure [sourcecode language="sql"]if exists (select * from sysobjects where id = object_id(N'[dbo].[chObjOwner]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[chObjOwner] GO SET QUOTED_IDENTIFIER OFF SET ANSI_NULLS ON GO CREATE proc chObjOwner( @usrName varchar(20), @newUsrName varchar(50)) as -- @usrName is the current user -- @newUsrName is the new user set nocount on declare @uid int…
A project I am currently working on is based on the soon to be launched Umbraco v4 and as I will be running it on a new server I wanted to use the lastest and greatest version of the .Net framework. I didn't get off to a great start as the ASP.NET AJAX references in the Web.config all target version 1.0.61025.0 of the System.Web.Extensions so the application throws exceptions. Thankfully it didn't take long to stumble across a blog post that helped me towards the solution. Adding the following(below) to your Web.config references the correct versions of the extensions nice and easy and gets things back up and running.]…
<p>A project that I was updating recently didn't start out its life as an ASP.NET AJAX enabled application so it was being upgraded to take advantage of some of the features and controls available in the AjaxControlToolkit. I added the necessary references to my project and added the assemblies to the Web.config and things seemed ok until I got to a page with an UpdatePanel on it and the dreaded <strong>'Sys' is undefined</strong> error reared its ugly head. After a lot of head scratching and some failed Google-fu I finally manaeged to find a post which led me to my answer. I was missing the httpHandlers and httpModules configuration settings in my Web.config which if I had created a new ASP.NET AJAX enabled project from scratch would already have existed, adding them in and the error went away and now my UpdatePanel started to work as required.</p> <p>[source language='xml']<br />…
It has been a little over 12 months since I invested in my high performance Alienware Area-51 m9750 laptop which is quite possibly my largest single investment yet since starting my own business. My…
Happy New Year to everyone!To start off the new year with some positive news I am pleased to announce that Prolific Notion and Symon James have been selected by The Association of Women in Property…
After installing a new browser you may find that Visual Studio changes the default browser for debugging to the newly installed browser and it is not immediately obvious how to revert back to Internet Explorer or another preferred browser. After a lengthy period of time picking through the settings in the Options dialog box I discovered I was looking in the wrong place. In actual fact you can change it via the File > Browse with menu option where you can also specify the size of the new windows that is launched when you start debugging web apps.…