Posts

Error Creating Visual Studio 2010 Silverlight Phone Application on Shared Drive

We have been experiencing issues creating projects within Visual Studio 2010 for Silverlight for Windows Phones where the project location is on a shared drive / resource. During the build, this error is displayed; C:\Program Files (x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.Common.targets(249,9): error : Could not load the assembly file:///p:\visual studio 2010\Projects\PhoneApp5\PhoneApp5\obj\Debug\PhoneApp5.dll. This assembly may have been downloaded from the Web.  If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information. It is possible to get this working by creating a new environment variable, system or user with the following data; COMPL...

Configuring Frame Relay in GNS3 with OSPF

Image
Today I have been configuring frame relay in GNS3. My setup is one frame relay switch with one virtual frame relay circuit, point to point. Here is the configuration for the interfaces on R1 and R2. R1#sh run | sec interface Serial0/0 interface Serial0/0  no ip address  encapsulation frame-relay  clock rate 2000000  cdp enable interface Serial0/0.1 point-to-point  ip address 192.168.1.254 255.255.255.252  frame-relay interface-dlci 101 R1# R1#sh run | sec interface Loopback1 interface Loopback1  ip address 172.16.1.1 255.255.255.0 R1# R2#sh run | sec interface Serial0/0 interface Serial0/0  no ip address  encapsulation frame-relay  clock rate 2000000  cdp enable interface Serial0/0.1 point-to-point  ip address 192.168.1.253 255.255.255.252  frame-relay interface-dlci 202 R2# R2#sh run | sec interface Loopback1 interface Loopback1  ip address 172.16.2.1 255.255.255.0 R2# Notice the clock rate is sp...

Code Snippets in NetBeans

Image
Just found out how to use Code Snippets in Java. A pretty basic feature which I found useful so thought I would share. This basically saves you time when typing the same command regularlly. If you don't completely understand, just try it out and see what you think. I wish I had found it years ago! To complete; Open NetBeans Click Tools, Options Click Editor button Click Code Templates Tab Click New Type in Abbreviation and press OK. Example 'So' Within Expanded Text, type in the code you want to display when you type the abbreviation. An example may be System.out.println(""); To change the way the code is inserted into the java document, click the drop down box for Expand Template and select whatever you want. I just left it on default, Tab. Go back to your Java document and type the abbreviation followed by Tab. Have Fun

Configure Cisco Switch or Router to Use ACS for AAA Services

Image
Hi All I'm back again. I was figuring out how to use the ACS for managing access to switches and routers within GNS3 but I suppose a similar experience would occur in the physical real world! Before attempting any of this, ensure you are able to ping your ACS's and Routers/Switches. These are the settings which are required on the Router / Switch.  Basic Default Line VTY Settings Login to ACS   Add Device Locations & Types Add Device Create User Groups    Add Users     Create Shell Profiles (linked to Access Policies) - Priviledges for Users Command Sets Service Selection Rules - should be there by default    Default Device Admin       Default Device Admin - Authorization       Test Router / Switch using Priviledge Level 0    Notice the command failure? It was n...

Cannot execute PowerShell Script without security prompt

Image
If you find you cannot execute PowerShell scripts which are contained witin your local network, then the following might help. Below is a screenshot of the PowerShell warning me that the script has been downloaded from the Internet, however it is a internal resource. The message states; “Security Warning. Run only scripts you trust. While scripts from the internet can be useful, this script can potentially harm your computer. “ I had already changed the ‘Set-ExecutionPolicy’ to ‘unrestricted’ and the error still appeared. I opened up Internet Explorer, went into Internet Options from the Tools menu, clicked Advanced then hit ‘Reset’ and ‘Restore Advanced Settings’. After applying this change, I closed Internet Explorer and then the PowerShell executed.  Hope this helps someone out!

Tweaking Cisco ACS V5.2 to work within Oracle VirtualBox

Hi All I wanted to setup ACS in my virtual environment but didn't have a copy of any paid VMWARE products so I persevered and managed to get the ACS fully working with Oracle Virtual Box. What you need; 1.      A copy of 'Cisco ACS V5.2 Any Server Edition' 2.      CD/DVD Software tool used to Extract, Modify and Create ISO Image – for step 'Modifying the ISO'. This will also need a boot loader extracter. 3.      Oracle Virtual Box 4.      An Operating System Modifying the ISO Extracting, Modify and recreating the ISO image. You can skip this and try to make a 61GB VDI but I didn't want to use that much disk space so this is why I completed this step. It does take a lot of effort. 1.      Save 'Boot Image using MagicIso' 2.      Extract contents of ISO using MagicIso into a directory of your choice. 3.   ...

Cisco GNS3 Easy VPN - Configuration

Image
I have been using GNS3 to simulate a simple network whereby using Easy VPN on the client to create a secure tunnel for various subnets. I could not get it to work until I read this post on the internet where the user in the forum created a Virtual Machine and then tried to connect to the local network again using Easy VPN and it worked. Below is a copy of my basic network. The virtual machine has been configured with the following address; 192.168.10.100 255.255.255.0  and is  connected to Microsoft Loopback Adapter. Microsoft Loopback Adapter has the following settings; 192.168.10.254 255.255.255.0 If you are interested in the configuration of routers R2 and R3, see below.  Take it easy. ******* Router 2 ******** ! ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! no logging buffered enable secret 5 $1$wH...