| Rahul Kansara's profileRahulBlogLists | Help |
Rahul |
|||||
|
July 22 Reducing Size of Virtual Hard Disk on Virtual PCFollowing steps shows how to reduce size of the virtual disk on your Virtual PC.
1. Disk Defragmenter on guest machineOn your Virtual PC console, go to Start > All Programs > Accessories > System Tools > Disk Defragmenter
This utility of windows helps to defrag your virtual disk. 2. Compacting Virtual Hard Disk at guest machineFrom Microsoft Virtual PC IDE, go to CD menu and select Capture ISO image… option
From file open dialog box select Virtual Disk Precompactor.iso. This ISO file is generally located under \Program Files\Microsoft Virtual PC\Virtual Machine Additions.
The precompactor tool should run automatically. This will take some time to compact your disk.
Once done, shut down virtual pc.
Note: This tool requires free space equivalent to the virtual hard disk being compacted.
3.1 Launch Virtual PC console and select the virtual machine.
3.2 Click on Settings button. Select Hard Disk at the left panel and click Virtual Disk Wizard.
3.3 This will launch Virtual Disk Wizard. On this wizard click Next
3.4 Select Edit an existing virtual disk. Click Next and browse to the virtual disk you want to compact, click Open
3.5 Click Next and select Compact it and click Next
3.6 You have the option whether to replace original virtual disk or save it in another file. Select the option you desire to choose and click Next and then click Finish and start the compaction
July 21 Known issues with WCF in Dot Net 3.5As mentioned in my last article, here are the known issues with the release that apply to WCF:
To resolve this issue: Orcas provides a tool to enable and disable the debugging of WCF client-service applications. To enable WCF debugging:
To disable WCF debugging:
To determine whether WCF debugging is enabled:
Some WCF samples that ship with the .NET Framework 3.5 SDK (Orcas Beta 1) are broken and will not run The following WCF samples will not work on Orcas:
To resolve this issue: To run these samples, use .NET Framework 3.0. The WebScriptServiceHostFactory class does not work with HTTP GET operations The WebScriptServiceHostFactory class is designed to enable Windows Communication Foundation services to be used to serve data to AJAX-enabled Web pages without having to write WCF configuration settings. In this Orcas release, the WebScriptServiceHostFactory class does not work with WCF operations that have been configured so that the HttpTransferContractAttribute attribute uses the HTTP GET verb. You may get an error about an AddressFilter mismatch if you attempt to use it with such operations. To resolve this issue: Avoid using HTTP GET operations and use HTTP POST instead. If this is impossible, then instead of using the WebScriptServiceHostFactory, create a WCF configuration section in web.config or another configuration file as appropriate and then use it to enable an AJAX endpoint. (Also see note 2.4.15 about endpoint URLs that end directly with ".svc".) Windows Communication Foundation (WCF) AJAX endpoints at URLs immediately ending with ".svc" do not work with HTTP GET operations In this release, it is possible to use the Windows Communication Foundation to write IIS-hosted services that can be consumed from AJAX-enabled Web pages. These services can be hosted at endpoints with URLs that end directly with ".svc" (for example, "http://example.com/myService.svc") or at endpoints with URLs that end with an additional suffix (for example, "http://example.com/myService.svc/myEndpoint"). In this release, the URLs without a suffix do not work with WCF operations that have been configured with the HttpTransferContractAttribute attribute to use the HTTP GET verb, unless a workaround is applied. You may get an error about an AddressFilter mismatch if you try to use such URLs with GET operations. To resolve this issue: There are three ways to resolve this issue.
Adding a Windows Communication Foundation (WCF) service to the ASP.NET AJAX Script Manager Control does not work in Script Inlining mode In this release, it is possible to use the Windows Communication Foundation to write services that can be consumed from AJAX-enabled pages. To work with the ASP.NET AJAX framework, references to such WCF services must be added to the Script Manager control. The Script Manager control enables you to inline service references by setting the InlineScript property to "true" on a particular service reference in the Services collection. In this release, WCF services are incompatible with the InlineScript="true" mode. You may get an InvalidCastException if you attempt to use this mode. To resolve this issue: Set the InlineScript property for all WCF services in the Script Manager control to "false". Modifications required to support 64bit applications that use WF or WCF To support native 64bit applications that use WF or WCF, manual modifications to the configuration are required. To resolve this issue: For selfhosted applications, the following modification to machine.config is required:
For applications hosted within IIS, there are two possible workarounds: A. Configure IIS to run in WOW mode: Windows XP, Windows 2003
Windows Vista
B. Update %windir%\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config by adding the following:
Windows Communication Foundation (WCF) Samples setup script Setupvroot.bat will not work on Windows Vista if the NetMsmqActivator service is enabled and Message Queuing (MSMQ) is not installed The iisreset utility does not work unless MSMQ is installed or the NetMsmqActivator service is disabled. The WCF Samples setup script Setupvroot.bat will not run unless MSMQ is installed or the NetMsmqActivator service is disabled. To resolve this issue: Make sure that MSMQ is installed or disable the NetMsmqActivator service on Windows Vista before you run the WCF Samples setup script Setupvroot.bat. Only the online version of the Windows Communication Foundation (WCF) and Workflow Foundation (WF) samples for .NET Framework 3.5 will compile and run The offline WCF and WF samples that are included with Orcas Beta 1 do not compile or run. To resolve this issue: Download the online versions of the Orcas Beta 1 samples for .NET Framework 3.5. Service Model Metadata Utility Tool (SvcUtil.exe) Can Throw InvalidChannelBindingException when importing WSDL from certain endpoints Although Windows Communication Foundation (WCF) allows the setting of the ReliableSession Binding Element InactivityTimeout or AcknowledgementInterval properties to TimeSpan.MaxValue, WCF will not consume WSDL generated by an endpoint with such settings. Instead, the import will fail and SvcUtil.exe will throw an InvalidChannelBindingException. To resolve this issue: After you download the WSDL, manually change the TimeSpan.MaxValue to 2147483647 (Int32.MaxValue). Then, in the generated configuration file, change the inactivityTimeout or acknowledgementInterval attribute from "24.20:31:23.6470000" to "Infinite". September 09 Dot Net 3.5 "Orcas" Beta - Whats inMicrosoft has once again hit in the news of new releases. This time with "Orcas". What is Orcas? Its a new version of Microsoft .NET Framwork - "The Microsoft .NET Framework 3.5 Beta 1". The .NET Framework 3.5 which is cent percent backward compatible, adds many new exciting features in several major technology areas; including:
.NET Framework 3.5 is planned to release at the end of 2007 and will ship with Visual Studio code name ”Orcas” and will also continue to be available for separate download from MSDN.
For more detail about the features being introduced in .NET Framework 3.5 and Visual Studio code name “Orcas”, click here http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx.
Here are the downloads to get:
However their are few known issues with the release. which I will list in my next article.
Thanks
December 08 Forgotten HeroesJust saw a news on one of the site about Sanjubaba's (Sanjay Dutt, Indian Film Actor) visiting some known personalities to thank them for helping him out in his bad times. In recent past its everywhere in Indian news channel how things were with Sanju baba and his family.
And then many experts like Salman khan saying 'He is a good person. We knew he will come out clean' Mr. Big B 'Datt family and our family have relations for years he's a good kid. He is like elder brother to abhishek'.
Surfing through some news site, one news startled me, it read, Hisbul Mujahidin's Most wanted terrorist 'Sohel Faisal' killed in anantnag, India. Indian Major leading the operation lost his life in the process. Four others are injured.
Did these experts (mentioned above) uttered a word for Major???? Sure Sanjubaba has a daughter; sure sanjubaba did not do any terrorist thing as in bombing some place or hijacking an airplane etc. Possessing an AK47 is considered too elementary in terrorist community and also one who possesses an AK47 has a right to possess a pistol so that again is not such a big crime; Sure sanjubaba went to all the temples; Sure he did a lot of gandhigiri but then..., people. please read on...
Major Manish H Pitambare got the information from his sources about the terrorists' whereabouts. Wasting no time he attacked the camp killed the Hisbul mujahidin's suprimo and in the process lost his life... To the bullets fired from an AK47..
He has a wife and a daughter (just like sanjubaba), age ...18 months. Major Manish never said 'I have a daughter' .before he took the decision to attack the terrorist hide out in the darkest of nights? He never thought about having a family and he being the bread earner.
No news channel covered this since they were too busy hyping a former drug addict, an actor in real and reel life, a suspect who's linked to
bomb blasts which killed hundreds. Their aim was to show how he defied the TADA charges and they were so successful that his conviction in possession of armory had no meaning. They also concluded that his parents in heaven must be happy and proud of him.. BULL SHIT Parents of Major Pitambare are still on this earth and they have to live rest of their lives without their beloved son. His daughter won't ever
see her papa again. But today no body knows what Major's family will be going through. No news channel is bothered about that, simply because that doesnt ment money for them.
It is most unfortunate that the real stars(unsung heroes) rarely get acknowledgement.
We need a thorough introspection and stock taking of the events that unfold and have to give support to the right cause.
Only when people become discerning and voice their concern about cheap publicity and improper reporting, will the new order take shape. I feel we all have to play a better role in society if real heroes like Major Pitambar deserve credit. Salute to you Major...
*Vande mataram. Jai Jawan. Jai Hind.*
|
|
||||
|
|