Tuesday, September 29, 2009

Entity framework

Currently reading up Entiy framework on the net. This will by playground to post any links / notes as I make my way up the Entity framework ladder.

Requirements with Visual studio 2008:
.Net 3.5 SP1
Visual studio 2008 SP1

Entity framework as business objects
[Keeing logic out of the design layer (an easy way to implement that)]
Asp .Net:
GridView DataRow to Entity object

Friday, August 28, 2009

Mounting ISO images on Vista

http://www.howtogeek.com/howto/windows-vista/mount-an-iso-image-in-windows-vista/

Mounting ISO images on Vista

http://www.howtogeek.com/howto/windows-vista/mount-an-iso-image-in-windows-vista/

Wednesday, January 14, 2009

Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)

Conditions:
Operating system : 64 bit
Web Application : 32 bit
Probable errors : Could not load assembly

When running any application on IIS and the dll cannot be loaded,
it could be that the application is a pure 32 bit application and the operating system is 64bit

You would need to enable 32 bit applications in IIS

Following is the process explained:
Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)

Monday, January 12, 2009

Retrieving Computer name using scripts (works on Remote system)



action="">
>


type="text/javascript">
var network = new
ActiveXObject("WScript.Network");

document.Master.TerminalId.value = network.ComputerName + "." +
network.UserDomain;
//alert(network.ClientName);
//alert(sys);

//var
sh = new ActiveXObject("WScript.Shell")
//var sys =
sh.ExpandEnvironmentStrings("%CLIENTNAME%")
//alert(sh.clientAddress);

//var
WTS = new ActiveXObject("WTSManager.Shell")
//alert(WTS.MyClientName + " My
IP address: " + WTS.MyIPAddress);
if(sys == '%CLIENTNAME%')
sys =
network.ComputerName;
if(Server == sys)
Server =
network.UserDomain;



type="text/javascript">
alert(sys + " - " + server + ' - ' +
network.UserDomain);


The script will fetch the parameter from the ysstem variable and extract the computer name logged in or the current one.