a developer's notes – a semi-technical web development BLOG

October 28, 2011

How to Uninstall Sql Server Express that gets installed with Visual Studio 2010

Filed under: SQL — Duy Nguyen @ 1:12 pm
Tags: , , , , , , , ,

1. Go to Add/ Remove Programs.
2. Choose “Microsoft SQL Server 2008”
**I had Microsoft SQL Server 2008 R2 installed but you still need to select “Microsoft SQL Server 2008” NOT “Microsoft SQL Server 2008 R2”. If you do choose R2, you will see the SQLEXPRESS instance but you will not be able to select it!

3. Click on the REMOVE link (This will allow you to chose the instance to remove. See image)

4. Select SQLEXPRESS and remove!

Advertisements

October 4, 2011

Can’t debug into a Javascript file. Error “No Disassembly Available” or “This breakpoint will not currently be hit. No symbols have been loaded for this document”

Ever put a break point in visual Studio 2010 on a .js file to get this?

This breakpoint will not currently be hit. No symbols have been loaded for this document.”

Then you decide to user the ‘debugger;’ statement. But then Visual Studio gives this error: “no disassembly available“.

You are probably loading your .js file dynamically. If you are, remove (or comment out) where you are loading and load it with an explicit script tag.

example: I was loading the script file like this:

<script src="<%=Url.StaticContent("/MyApplication/Scripts/views/script.js")%>" type="text/javascript" ></script>

I just commented out that line and hard coded the script file like this:

<script src="http://localhost/MyApplication/Scripts/views/script.js" type="text/javascript"></script>

Now I am able to user the debugger; statement AND able to put a break point in Visual Studio.

How to restart Windows during a Remote Desktop Connection

Filed under: General Tips — Duy Nguyen @ 10:10 am
Tags: , , , , ,

If you are RDP into a machine, you won’t have the option to reboot with the start button. You can only log off or disconnect.

Type ALT + F4 and you will have the option to restart.

Blog at WordPress.com.