Archive for April, 2007

Blogroll @WordPress

What are the different ways in which blogroll can be imported??? (Check out this link and this wikipedia link for better understanding about what a blogroll is. )

This above question has been nagging me for quite a while now and this is what i have come to understand about various ways of importing blogrolls into our blogs –

1. By making use of a javascript

2. via RSS by making use of a given URL.

3. via external PHP code by again making use of a given URL.

4. OPML (Outline Processor Markup Language) link. But the disadvantage of using this method of inclusion, is that recently appended links to the blogroll will not be added to the blog. It has to be later done manually by the user.

Now coming to how one can import their blogroll to wordpress…

WordPress allows its users to import an OPML file. Its quite cumbersome… but this is the only option given to wordpress users.

There are other ways provided to add blogroll links –

1. one way is to make use of the “Add links” option provided in the blogroll editing page

2. and the other way is to make use of “Add to Blogroll” provided in each and every wordpress page. All one has to do is to open the page (it has to be wordpress page) and select this option.

The first method for adding blogroll using “add links” option will allow us to add any link. But this process will not be as simple as making use of either blogrolling or bloglines or google reader

I have heard bad reviews about blogrolling.com, but it allows us to make use of any one of the above mentioned ways of exporting the blogroll contents. And so does bloglines but when it comes to Google reader it allows a person to only export an OPML file.

And because wordpress allows its users to import only an OPML file you might even be interested in using either opmlmanager or opmlworkstation

All these sites allows the user to categorize the links into private or public links. I, for one, am making use of this feature and have added my public blogrolls link to my blog using the “add links” option. And though I am not very happy with this arrangement as it doesn’t exactly serve the purpose of displaying the list in my blog, atleast it allows people to access the list and it doesn’t require me to keep updating the OPML file being used…

 

April 22, 2007 at 6:00 am 5 comments

Defy all challenges

I just now came across this very cool ad for Visual Studio – Defy all challenges

A promotional for – Visual Studio Team System ; Web Development; Windows Vista and 2007 Office System. It has an interactive interface with links to view :

1. Tools and tips – which helps the user in understanding more about the each development tool.

2. Watch the videos – which have links to these very funny videos showing the lighter side of a developers life.

3. Make your own – Allows you to create a new video with the available tools

4. View and vote – This link allows you to select a video created by any new user and rate it.

The ad has been set up in a gaming environment and though I am not the best person to judge about marketing tactics, I would like to say that there is only one word which can be used to describe this promotional – CAPTIVATING!!!

April 12, 2007 at 11:10 am Leave a comment

Exceptions… uggh!!!

I am presently working on a project which make use of remoting… This project was recently converted from .net framework 1.1 to 2.0. All good stories have a bad element. This one had exceptions as the bad guy.

I got three different exceptions one after the other in a loop for the same problem! I have pasted all the exception stack trace information below –

stack trace 1 :

System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine

Server stack trace: at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)\r\n at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateAuthenticatedStream(Stream netStream, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateSocketHandler(Socket socket, SocketCache socketCache, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.SocketCache.CreateSocketHandler(Socket socket, String machineAndPort)

stack trace 2:

System.Runtime.Remoting.RemotingException: Authentication failure —> System.IO.IOException: Unable to read data from the transport connection: The connection was closed.\r\n at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)\r\n at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateAuthenticatedStream(Stream netStream, String machinePortAndSid)\r\n — End of inner exception stack trace —\r\n\r\nServer stack trace: \r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateAuthenticatedStream(Stream netStream, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateSocketHandler(Socket socket, SocketCache socketCache, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.SocketCache.CreateSocketHandler(Socket socket, String machineAndPort)\r\n

stack trace 3:

System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host\r\n\r\nServer stack trace: \r\n at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)\r\n at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateAuthenticatedStream(Stream netStream, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.CreateSocketHandler(Socket socket, SocketCache socketCache, String machinePortAndSid)\r\n at System.Runtime.Remoting.Channels.SocketCache.CreateSocketHandler(Socket socket, String machineAndPort)\r\n

After breaking my head for two days I finally found that – This error is raised in .net 2.0 framework. And that by setting “ensureSecurity” property to “false” which will allow the remoting connection to make use of the normal TCP connection rather than Negotiate Stream solves the problem… whew!!!

Then after this exception was cleared. Another exception was raised….

Stack trace:

{“A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond”}

Server stack trace: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint) at System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket() at System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew) at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)

After going through many many sites and many different solutions I finally landed on the correct one, which was – disable the firewall on the host system!!!

But anyways, the other solution which I thought would be helpful to others with a similar exception is – to explicitly disable default proxy support in web.config, which essentially forces a direct connection:

<system.net>
<defaultProxy>
<proxy usesystemdefault=”False”/>
</defaultProxy>
</system.net>

For more information try out this link and this one.

April 11, 2007 at 3:39 am 9 comments


April 2007
M T W T F S S
    May »
 1
2345678
9101112131415
16171819202122
23242526272829
30