Posts

Showing posts from March, 2012

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