I tried everything I could think of to get it working.
The answer was to disable Internet Connection Sharing.
Tuesday, October 30, 2012
Thursday, September 20, 2012
hg mecurial abort: path is inside nested repo error
Just been having to use Mecurial to get the Orchard source code.
I first used TortoiseHg to get the source and then used the Update command to switch to 1.x "branch" but I'd always get this error.
abort: path 'src\Orchard.Web\Modules\Orchard.Alias\AdminMenu.cs' is inside nested repo 'src\\Orchard.Web\\Modules\\Orchard.Alias'
So after a few attempts, all I did was delete everything apart from the .hg folder and then tried to update, this managed to work.
Who knows if this is the "correct" way to fix it.
Tuesday, August 07, 2012
System WindowsFirewall: "query user incoming"
Or just Windows Media Player Network Sharing failing over mixed network on Windows 7, by default if you are on the same subnet it'll work.
I had Xbox on 192.168.0.250 and sharing it on to my Wireless network of 192.168.1.x range, so I was getting the above error.
I had to go to Windows Firewall in Control Panel, click Advanced Settings, Inbound Rules.
"Windows Media Player Network Sharing Service (HTTP-Streaming-In)"
This is running on Port 10243
and enable the one for "Public" profile.
Then you should be good to go.
Monday, August 06, 2012
Instant Upload continually syncing
I was having an issue with Google+'s feature of Instant Uploading all my pictures, it would never complete so I had to disable it.
To fix this, disable Instant Upload in Accounts & Sync settings, go into Programs and find Google+, clear the data of it and then re-enable it. This should fix it.
Thursday, July 26, 2012
Redgate ANTS Performance Profiler - Could not start IIS.
I have had this issue a few times and I always forget how to fix it.
Could not start IIS. RedGate.Profiler.Engine.Exceptions.CannotStartSessionException at . .Launch() at ? . . ? () Caused by: Could not start IIS. RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException at . . () at . .Launch() Caused by: Could not start w3wp as the specified user. Win32 error code: 1385 RedGate.Profiler.Engine.Exceptions.CannotStartIisSessionException stack trace: at ? . ? .?? () at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at . .?? () at . .?? ( ) at . . () Caused by: Could not start w3wp as the specified user. Win32 error code: 1385 RedGate.Profiler.Engine.Startup.IIS.IISException stack trace: at . .StartProfilingIIS(String , String ) at RedGate.Profiler.Engine.Startup.IIS.IISStarter`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at RedGate.Profiler.Engine.Startup.IIISActuator`1.StartProfilingIIS(String currentUserName, String subprocessVariableValue) at ? . ? .?? ()So I need to run my IIS as a network user in order for it to work through SQL Auth etc, the reason it is failing, is because the user isn't an admin user on my box. So go to Administrator Tools -> Groups -> Administrators and add your network user here, check names and it should work!
Monday, July 16, 2012
Solr 3.5 spatial (geofilt) search with distance in results
Took a bit of tinkering around but here's my query.
LatLong is my field in my document with a "latitude,longitude" in it.
d=30. Distance is KMs.
http://solrserver/select?
indent=true&
fl=Name,LatLong,score&
fq={!geofilt pt=50000,-0.11111 sfield=LatLong d=30}&
sfield=LatLong&
pt= 50000,-0.11111&
sort=score asc&
q={!func}geodist()
This gets you all documents near a point (pt) and returns them with the distance stored in the score field.
LatLong is my field in my document with a "latitude,longitude" in it.
d=30. Distance is KMs.
http://solrserver/select?
indent=true&
fl=Name,LatLong,score&
fq={!geofilt pt=50000,-0.11111 sfield=LatLong d=30}&
sfield=LatLong&
pt= 50000,-0.11111&
sort=score asc&
q={!func}geodist()
This gets you all documents near a point (pt) and returns them with the distance stored in the score field.
Friday, July 13, 2012
Android not picking up MP3's
My Android Phone (Nexus one running MIUI) sometimes doesn't find my MP3's, especially after a ROM update.
I loaded up the MP3 using http://www.mp3tag.de/en/ and I either update it or just save it, it then seems to fix the ID3 tags and then it is picked up on my phone.
You may also need to run an app like https://play.google.com/store/apps/details?id=com.addz.mediascanner
I loaded up the MP3 using http://www.mp3tag.de/en/ and I either update it or just save it, it then seems to fix the ID3 tags and then it is picked up on my phone.
You may also need to run an app like https://play.google.com/store/apps/details?id=com.addz.mediascanner
Tuesday, February 21, 2012
requested operation cant be performed on file with user-mapped section open
I have been getting this error constantly, I had to kill Visual Studio and restart and sometimes it'd go away.
Managed to track it down to FxCop trying to scan the assemblies still.
Killing the FxCop process, killed VS too. Time to uninstall for now me thinks.
Managed to track it down to FxCop trying to scan the assemblies still.
Killing the FxCop process, killed VS too. Time to uninstall for now me thinks.
Monday, February 13, 2012
Internet Explorer 8 crashing Background Image
We have just been having an issue that was causing Internet Explorer 8 on Windows XP and Windows Vista when it had a background image.
It seems to be related to jQuery 1.7.0 and probably this ticket.
http://bugs.jquery.com/ticket/10629
Updating to 1.7.1 made the issue go away.
It seems to be related to jQuery 1.7.0 and probably this ticket.
http://bugs.jquery.com/ticket/10629
Updating to 1.7.1 made the issue go away.
Wednesday, December 14, 2011
Generic USB Driver Windows 7
If you are having issues with finding a driver for a USB Drive, here's a trick.
Go to C:\Windows\System32\DriverStore\FileRepository\usbstor.inf_
and get the latest directory, copy the contents to
C:\Windows\Inf
Reinsert your USB stick, it should detect it now and install it.
Go to C:\Windows\System32\DriverStore\FileRepository\usbstor.inf_
and get the latest directory, copy the contents to
C:\Windows\Inf
Reinsert your USB stick, it should detect it now and install it.
Monday, October 31, 2011
dotless Configuration Options
Unless my googling is failing me, I can't find any documentation on the dotless configuration for Web.Config, so I've gone through the code, I think I understand the different options
- minifyCss
- true or false
- Minifies the CSS output
- cache
- true or false
- Caches the CSS after being created
- web
- true or false
- if true, this uses http specifc options, must be set when using on the web, Response.Cache, Request.QueryString for parameters, Server.MapPath for mapping, puts the Log Messages in the Response
- if false, uses in memory cache, uses console logger, uses paramaters from the console,
- log
- info, debug, warn, error, default
- optimization
- 0-n
- Optimizes the output...
- source
- How dotless reads the files of interface IFileReader, its the type usually FileReader but can be VirtualFileReader which uses HostingEnvironment.VirtualPathProvider
- logger
- Can be set but then gets overidden by the "web" boolean, there are AspNetTraceLogger (HttpContext.Trace.Write), aspResponseLogger (Response.Write as Css), ConsoleLogger (Console.Write), DiagnosticsLogger (Debug.WriteLine) and NullLogger (Swallows).
<dotless minifyCss="false" cache="false" web="true" log="debug" optimization="10" logger="dotless.Core.Loggers.AspNetTraceLogger" />
Thursday, September 29, 2011
Greasemonkey Script to Remove Facebook in Facebook plus more
Here's a simple script to remove the right hand column on Facebook, which has Facebook-in-Facebook, adverts and crap, also Greasemonkey is easy.
Download the script or copy and save it as rightCol.user.js and drag and drop it in to Chrome and/or Firefox (if you have Greasemonkey enabled) go to Facebook. Rejoice.
// ==UserScript==
// @name Remove Facebook Right Column
// @namespace http://sarkies.blogspot.com
// @description Remove all the pointeless stuff in the right column, the ad's, the facebook-in-facebook, and duplicated events
// @include http://*.facebook.com/*
// @include https://*.facebook.com/*
// ==/UserScript==
var rightColumn = document.getElementById('rightCol');
if(rightColumn) {
rightColumn.parentNode.removeChild(rightColumn);
}
Download
Download the script or copy and save it as rightCol.user.js and drag and drop it in to Chrome and/or Firefox (if you have Greasemonkey enabled) go to Facebook. Rejoice.
Friday, July 08, 2011
Duke Nukem Forever Stutter work-a-round
When playing the game on my PC, it was stuttering like hell, thought it was to-do with not being optimized, since I have a dual screen, I ran task manager in the other monitor. This showed Steam.exe was using 30% of my CPU regardless.
The work-a-round I propose till its fixed will mean no Achievements whilst playing, so its up to you!
Right click Duke Nukem Forever, turn off "Enable Steam Community In Game"
Run the game
Alt-Tab out of the game
Set Steam.exe affinity to one core and set its priority to low via Task Manager.
Kill GameOverLayUI.exe if its running
Play the game and if its still stuttering set DukeNukemForever.exe to the other affinity.
Tuesday, May 24, 2011
Getting Hexxeh's Chromium Builds Network working
If you're trying to get ChromiumOS working on Virtual box, you'll need these network settings.
It took me a while, since its the last in the list!!
Adapter Type: Paravirtualized Network (virtio-net)
Should give you Ethernet in the login screen now?
Its a bit slow for me though....
Friday, January 07, 2011
Sys is undefined error
Having tried every single way of fixing this error, I came across and two part fix.
Add that to your Web.Config
and
Disable and Renable,
Use HTTP 1.1
Use HTTP 1.1 through proxy connections
In your Internet Explorer Options.
Tuesday, November 30, 2010
Western Union Scam! Another one.
Firslty, the scam.
"Don't send me money, just send it someone else, friend or family and show me proof you can afford to buy the product / rent the room etc, show me proof using a photocopy of the receipt"
How the scam works?
Western Union, don't need any proof of you or the recipient to take the money, ridiculous if you ask me!
Secondly, a list of scammers I'm picking up along the way, I'll be adding to it:
anzy84@hotmail.com / Anzia Scott
timmsproperty@gmail.com / Sherwood Tim
amoo9989@hotmail.com / Amoo Raymond
aidataube@yahoo.de / Aida Taube
Phone numbers
070 2404 4128
07045 766243
07045 734145
contact you, they are scammers. The more people who can the address, the better.
If in doubt, never use Western Union and use TinEye.com for reverse picture search.
Wednesday, October 06, 2010
Can't download Chrome behind a Corporate Network?
There seems to be an issue with the Chrome installers:
ChromeSetup.exe
and
ChromeStandaloneSetup.exe
The only one I found to work was the ones from FileHippo:
There was a way to download straight from Google but it doesn't seem to work anymore, unless I'm doing it wrong.
The filename should be
chrome_installer.exe
Friday, July 30, 2010
HTC Desire SPP 2.1 Issues
If you have an HTC Desire and you are having issues with your Bluetooth code, such as:
- Service Discovery doesn't work or flaky
- Can't see Misc devices, i.e. those with a Bluetooth device type of Headset, Phone or Comp
- If you have issues communicating via SPP (Serial Port Profile)
- Just plain not working
You will need to upgrade the ROM on the phone, these may all be fixed with HTC Desire 2.2 update which out "today", but if not its the bluez bluetooth code that has been fixed.
The only ROM that fully supports all of this is the http://www.cyanogenmod.com/ ROM, I've tried all ROMS this one is the only one that works correctly, but its based on the Nexus One ROM, so you won't have Sense, but if someone updates the ROMs with the latest BlueZ stuff, it *should* work.
OpenSource ftw?
I had similar issues when developing for a J2ME app on my old K800i, but what could I do?
Finding Bluetooth Service Address on Windows
If you have connected to a device, but want to write code to discover it, you need to know the service address/guid of the bluetooth device, in order to talk to it.
On Windows if you navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTHENUM\
You will see the devices connected and then in HardwareID you will see the value at the end for SPP it is usually.
BTHENUM\{00001101-0000-1000-8000-00805f9b34fb}
On Windows if you navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\BTHENUM\
You will see the devices connected and then in HardwareID you will see the value at the end for SPP it is usually.
BTHENUM\{00001101-0000-1000-8000-00805f9b34fb}
Wednesday, July 14, 2010
Could not create the driver from NHibernate.Driver.SqlServerCeDriver
Using Fluent NHibernate and MsSqlCeConfiguration, I wanted to use an SQL Compact DB for my Database by changing the FluentConfiguration but I started getting the errors from the InnerException.
"Could not create the driver from NHibernate.Driver.SqlServerCeDriver"
The fix is simples,
You need to add a reference to
"System.Data.SqlServerCe"
Located in
"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll"
If you don't have it, you'll need to install it from.
http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx
Once you've added it you need to set the
"Copy Local" to true.
Then you should be good to go.
"Could not create the driver from NHibernate.Driver.SqlServerCeDriver"
The fix is simples,
You need to add a reference to
"System.Data.SqlServerCe"
Located in
"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll"
If you don't have it, you'll need to install it from.
http://www.microsoft.com/sqlserver/2005/en/us/compact-downloads.aspx
Once you've added it you need to set the
"Copy Local" to true.
Then you should be good to go.