Friday, December 30, 2005

Unable to Install proxy created for .Net Serviced component in W2K machine

I have written a .Net serviced component written in vb.net and deployed in COM+ in a win2k machine.I created application proxy to be installed in other machine. But I am unable to install the proxy in other machines as the .msi, i have created throw the error
"Error registering COM+ Application".Error-1928.

Reissue of Passport and PostOffice Problems

I have applied for reissue of passport on 20-Sep-05 it took more than 3 months to get my passport back. I had sent a lot of mails which for I got reply from the last mail i sent and my phone calls keep ringing nobody bother to answer those calls. One who answered told me to wait for 75 days and asked me check back after that. I went to passport office couple of times to get the issued solved. I don't understand why this delay from Passport office for renewal of old passport.


PostOffice:

After the Passport office send my passport through Speed post and it was not delivered to my house even after 2 days and I had personally go and get the passport from the postoffice. I don't understand why a speed post can't be delivered even after 2 days within city.


I don't understand why this services are so poor. Would somebody care to adddress this issues.

Greeting : Happy New Year 2006

I wish my family,relatives, friends,Colleagues and my blog readers a very happy and prosperous new year 2006.

Wednesday, December 28, 2005

Technical - Get Shared Drive Machine Name


To find shared drive name on the Clinet use the Javascript


One of the ASP.Net project team was having problems in getting the shared drive machine name i.e for eg k:\Test\doc1.doc they want to mapped it as \\srini\test\doc1.doc where srini is machine name.

If the client uploads a file from the shared drive and if one want to find the machine name of shared drive and stored it as \\srini\test basically they have customize this js code below


function displayNetworkShares() {
var WshNetwork = new ActiveXObject("WScript.Network");
var Drives = WshNetwork.EnumNetworkDrives()
var DriveInfo = new Array()
var j = 0

var content = "Drive Mapping "
for (i = 0; i < Drives.length; i++) {
content += "

" + Drives.Item(i) + "

"
}
document.write(content)
}



To find shared drive name on the IIS machine use the WIN32API

_
Private Shared Function WNetGetConnection( _
ByVal localName As String, _
ByVal remoteName As StringBuilder, _
ByRef remoteSize As Int32) As Int32
End Function


Client Code
Dim sb As New StringBuilder(300)
Dim size As Int32 = sb.Capacity
WNetGetConnection("G:", sb, size)
Label1.Text = "Local : G Remote :" & sb.ToString()

Friday, December 23, 2005

Tsunami - A Look Back

Last year Dec 25 2004 evening till 7.00 PM I was in Batu Ferrangi Beach Penang Malaysia and next morning which to be happen to be saturday Dec 26 2004 around 8.55 AM in the morning there was mild shake and I had to run out of the apartment from the second floor fearing for life. After that what happened shook the entire south east asia. Beach which I visited the day before was badly affected
And people began to realise what Tsunami is. I saw in tv what happened in Indonesia where epic center of earthquake orginiated from the BBC and CNN tv channels. Indonesia,Srilanka and Tamilnadu,Thailand are badly affected due to Tsumani. National Geographic channel covered beatuifully the tsunami espisode interms of affects and it's history. American are very quick in installing the tsunami altering system after it first hit Miami. Now people have realised the need for such system and started working on it.Hopefully such system will help save the life of people, but the damaged caused by nature can never be prevented. Let us pray there should be no more tsunami and any other natural diaster which can take away many lives.

Wednesday, December 21, 2005

VSNet 2005 and ASPNet2.0

For the last 3 days I under went training on VSNet2005 and ASP.Net2.0, the training was pretty basic.It didn't cover VSTS. The good thing is that I got an Opportunity to work on the lab session. Microsoft has made great improvement in VS2005 in terms of increasing developer productivity and bringing intellisense everywhere. Insert Code Snippet is great idea. DataGridView is great improvement compared to previous versions of datagrid.People need not write single line of code for databinding.
Tracepoint, Visualizer used while debugging are very useful.SingleClick deployment for Smart Client and WinForm is cool.Performance tools like CLR profiler and loading testing tools to test performace of web sites are part of ViSual studio. Web Parts included as part of Visual studio. Have a look at my.msn.com to know of power of web parts.In ASP.Net2.0 user ,role managment can be done through wizard and they are stored in sql server db and frequently used operation like login,create user, change password is put as user controls.
The cool thing is most of the VS functionality is implemented as API so user can develop on their using this API's.

Monday, December 19, 2005

No respite for Tamil Nadu from rains

It looks like there is no respite for the people for tamil nadu. Chennai is wrost affected this time. This year there has been 3 -4 cyclonic storms. Chennai is facing the wrath of rain god. Hope chennai would soon return to normalcy. Already 48 people have died due to after effects of rain in chennai from Oct O5 to Dec 05. All the prayers in previous years for rain has been answered this year. All the roads in chennai is badly damaged and travelling in bike is nightmare with lot of pit holes.

Thursday, December 15, 2005

VS.Net2005,Sql Server2005,Biz talk server 2006 launch in chennai

Yesterday some how I managed to attend the Microsoft launch of VS.Net2005,SQl Server2005 and Biz talk server2006 in chennai. Visual Studio Team System(VSTS) is going to rock, no doubt about that. Microsoft has made great strides in VSTS and bringing software management into VSTS. Initial version of Visual studio(till VS6.0) was targetted for devlopers. VSTS targets right from Manager ,Architects,Developers,Testers. Microsoft slogan of go home early is surely on the cards. Some of the presentation during the good. Specially by A Tiwary Senior Architect Microsoft and Janakiraman Developer Evangelist. A Tiwary talked in detail about VSTS and idea behind it.
Janakiraman knows the typical way to talk to developers so that developers can be impressed.

Overall I was very impressed by VSTS. Kudos to Microsoft for bringing such developement tools and with rich set of features. Micrsoft is rocking!!!. Many more M'soft products to come Vista, Avalon, Indigo.Excel12 etc.

Wednesday, December 14, 2005

Operation Research(OR) - Solve Real World Problems ? - Part 1

Yesterday(13-Dec-2005) my wife asked me whether I could teach OR paper for her MBA exams. I said yes confidently. But the truth of fact I don't remember OR which i studied way back in Five Semester in Engineering degree. I am not ask ing for excuse. Any how I made a attempt to galance through the chapters. OR is basically special branch of mathematics which is supposed to solve complex problems for managment people. Some of the chapter included in the OR papers are Linear Programming there are several methods Simplex method Graphical Method, Gaming theory , Transportaion Problems etc. I had looked at the Linear programming chapter and was trying to corelate the existing business problem which managment are facing. Typical example could be Resource allocation in software project.How Linear programming can efficiently solve this problem. Basically the idea of linear programming and OR in general is to find a optimal solution for given problem.

eg:
Maximise
Z= 1x1+2x2

x1,x2 can be called decision variables

the below are called constraints
1x1+2x2 >10
2x1+4x5> 10

x1,x2>0

I will continue to update this article.

Visual Studion 2005 and ASP.Net2.0

VS.Net2005 and ASP.Net2.0 are scheduled to released in chennai tommorrow(15-Dec-2005). VS.Net2005 and ASP.Net2.0 has been released offically on 7-Nov-2005 in US. I had a look at the beta version of the software though full version is available at the market. Some of the cool features of the VS.Net2005 and ASP.Net2.0

VS.Net2005 IDE

1. Edit and Continue - for debugging purposes.
2. Refactoring -
3. Trace Point
4. Visualizer.
5. SQL Server can added as part of the application. MDF & Ldf files are automatically added.
6. Checking performance using CLR profiler is packed with IDE.
7. Nunit is packed with IDE for unit testing.



ASP.Net
1. Master Pages
2. Cross Page posting
3. New ASP.Net controls for login,forgot password,GridView
4. Wizard based User,Role managment,Security.
5. Better Caching facilities.
6. Better control while designing aspx pages. IDE is made to look better.
7. Package of Light weight IIS.
8. No need to pack aspx for deploying to clients.
9. Web.Config is now editable in IDE.


Deployment
1. Single Click Deployment.


I will continue on this in future posting,

Tuesday, December 13, 2005

Cricket

As India is brink of Victory in the Second test at Delhi. Again news media raises an debate whether Ganguly or Yuvaraj should be in the playing Eleven for thrid test at Ahmedabad. A lot has been talked about ganguly in news media and tele media and even in autobiography. As far I am concerned national selectors should consider purely the current form and also have future in mind while selecting the team. There were situations even Shane warne(Aus) was left in the test side because of the poor performance. Winning should be spirit of the team. Team India performance has been good after Greg Chappell and Dravid taken over. I am sure who is taking credit for india improved performance either Coach or captian there again raise a debate. I saw lot of team performance from Team India specially guys like Pathan, Kaif, Yuvraj are coming up well. Hope India will continue the winning habits in abroad and not choke in finals of the tournaments. Losing is one thing but without a fight is bad.

Rain Continue to Torment Chennai

Cyclone Fanoos has shown some mercy on Tamil Nadu. But rain keeping pouring in Chennai for the couple of days.One hope there would be some relief for the people of tamil nadu from the rains atleast for this year. This rain would be useful in the month May where Sun takes the limelight.

Monday, December 12, 2005

Nifty --- tn be contd.

On the Other day my brother was trying to find out what NIFTY is. I was trying to find out the typical way for searching google. But I couldn't find the exact expansion for this. I found from wikipedia that NIFTY is also called NSE50.By the way SENSEX is Sensitive index.

Refer
NSE:
http://www.nse-india.com/

I will to continue to update this article.

Friday, December 09, 2005

Technical Problem - .Net Remoting

Problem:
A Set of external users of who access .Net web service through web interface. Web Services makes call to .Net Remoting component it is implemented as Server activated object(Single Call, tcp channel) and Remoting Server is hosted as Windows Service in app server. The Remoting component internally makes calls to VC++ dll which access SQL Server DB only on certain cases.Remoting Component makes connection to Oracle DB.
Another set of users who access the Remoting Component from intranet. After certain point of time Remoting application started slowing down and forces to restart the application.

Question arising of the problem

1. Why Remoting Component is not scaling well.
2. How to trouble shoot this kind of scenario.Where the exact problem is(VC++ dll or Remoting component)?.
3. Instead of hosting as windows service changing the host to IIS will it help?.If we change to IIS, how can we test the performance improvement.Windows 2003 Server is being used.
4. Writing the Remoting Component as .Net Serviced component so that Object Pooling and JIT can be provided to improve perf. How can we be test that the performance improvement.
5. Do a code analyis and find any issues.

Possible Solutions:
1. Rewriting a componenet as Serviced Component
2. Rewriting the component as web service
3. Providing load balacing for remoting component.

Any others solutions mail me.

Thursday, December 08, 2005

Cyclone Fanoos

It looks like another cyclonic storm is going to hit chennai in couple of days. Chennai is yet to recover from cyclone baaz effect. Due to the long term persistance and to have unique identifier each cyclonic storm are named as Baaz,Fanoos etc

This year can be declared as "cyclone year" as we seen storm such as katrina,rita,wilma, aplha,beta ,baaz, fanoos right from New orleans to chennai.

To know more about tropical storm names refer
http://en.wikipedia.org/wiki/Lists_of_tropical_cyclone_names

Friday, December 02, 2005

Cyclone Baaz & Parting

Last night(02-Dec-05) we were celebrating the grand sucess of our Malaysian project at Residency towers.Bad time to celebrate the sucess as baaz was in full flow in chennai.It was heavily flooded in and around t nagar by the time we finished the party.


I would like thank Ram for helping me reaching the mount road office in his car where i kept my bike. Ram offered to drop me in my house that 's nice gesture from him inspite of poor weather. I took the decision to take my vehicle and reach home because i know for sure no auto will come to place during mid night and bad weather.
I reached home around 12.00 AM and was heavily drenched due to heavy downpour.I thank god bcoz the roads were preety bad and it was pouring but still i managed to reach home.


I would also like to thank Chandra & Sankar for calling me up and making sure that i reached home safely.

Today morning(03-Dec-05) my house is some what flooded and there is water every where. I hope rain would stop and provide some relief to chennaites.

Thursday, December 01, 2005

Cricket

First day(2-Dec-2005) of the India Sri-lanka test match scheduled in Chepauk(MAC stadium) is called off due to rain. I am not sure about the first test itself. Chennai is deprived of Intl. cricket matches due to rains thanks for improper scheduling of cricket matches by Cricket board at this time of year. Team India is performing well in the recent times at home I want to stress "at home" because i always found when they at home they look like real tigers and they are abroad they are paper tigers. The lose without giving a fight.I hope this team perform well abroad and bring laurels to India. Australia is doing well know after performing somewhat bad in Ashes at England. Yong cricketers like Mike Hussey keep coming in Australia. It seems there are good talent pool in Aus. England are trying their bit in Pakistan. I think Eng got a good chance to win World Cup 2007 if Flintoff and Peterson perform really well along with the team.

Cyclone - Baaz

It looks Cyclone-Baaz is going hitting to Chennai heavily this time. Chennai is yet to recover from colosaal damage caused by the floods due to recent rains. There has been heavy downpour from this morning(2-Dec-2005 11 AM). I hope Cyclone Baaz should not cause much damage to to human lifes and property. It looks like Weather Forecast are not accurate in Chennai, they have predicated Cyclone to cross Chennai two days earlier and Cyclone remained stationary and it was initmated promptly. I am not sure weather department gets hourly updates from Satellite.