Category Archives: dotNET

ASP.NET 2.0 Migration Tool

Have you tried out the new ASP.NET 2 Migration tool that the ASP.NET team was hoping to get feedback on? Time is running short. I tried a small app. It’s small, but criticial to a client and does file transfers, file reads and writes, database access, forms authentication and a huge amount of inspection of very complex xml files.

If you don’t count the time I took to recreate my database on the test machine, setting all the proper permissions etc, the migration took about 30 seconds and then another 5 minutes to test all of the functions of the application which worked perfectly.

Great job folks.

If you have some free time in the next few days,  go run the tool and send your feedback (including the conversion.txt file) to webwish at microsoft.com. Here is Scott Guthrie’s post with more info and the links for the downloads.

The more complicated your application is, the more useful your feedback will be.

www.acehaid.org

ASP.NET 2 changes from Beta2 to RTM

Brian Goldfarb points to this just released document: Major Changes for Visual Web Developer 2005 and ASP.NET 2.0 from Whidbey Beta 2 to RTM . Thanks for keeping us up to speed!!

Here’s one that I’ve been waiting for.

SqlCacheDependency.Start method required for cache dependencies based on SQL Server 2005.If you are creating cache dependencies based on SQL Server 2005, you must call the System.Data.SqlClient.SqlDependency.Start method to initialize SQL Server 2005-based dependencies.

 I am still on Beta2 and will be downloading the August CTP as soon as it’s available because I have great faith that the issues of using SQLDependency as a non-admin will be worked out. A number of us have been tearing our hair out about this one. Don’t worry, I’m not bald yet.



www.acehaid.org

VSNet Remote Debugging Firewall Ports after recent patch

I had to do some work in a VS2003 web service today. I have a remote web server and when I went to debug the service, I got the error message “the RPC server is unavailable.” I suspected a firewall issue, though I did not know if I needed to attack the firewall on the client side or the server side. Luckily, my first attempt did the trick. I was reminded (thanks KBAlertz) of this MSDN document that I remember going through when moving to XP SP2 last year. I looked at my firewall and saw that the ports which I opened up via this document were not listed. So I just redid them and voila, all is well again.

How to Enable Remote Debugging on Windows XP Service Pack 2

www.acehaid.org

ASP.NET 2.0 and IIS as non-admin

I have been using the file server method with ASP.NET 2.0 since the beginning. I thought it was time to run in IIS. Note that all of my .NET 1.0 and 1.1 development has been against a remote server. I have never had to use ASP.NET 1.x on a machine iwth a local IIS, so there are some bad lessons I never had to learn. Though I have always heard the remote web server development process was supposedly much more difficult.

So, now I ask, should I be embarrassed that I have spent the past 3+ hours trying to get asp.net 2.0 and IIS on a Windows XP box running as non-admin? Should I give up and get on with my life? I have seen many references to it being really easy with.NET 2.0. Hmmmm…

Sadly, I can’t really give up. Not when I’ve seen referenes to the fact that ASP.NET 2.0 was supposed to make this easy to do. Or perhaps those references are related to the file server approach.

www.acehaid.org

Visual Studio Comic Strip Ads

I’m definitely curious what people think of the comic strip ads for Visual Studio that have been “playing” on sites like DevSource and elsewhere. In it, some poor developer is swamped with work and, in once strip, frustrated because he has a date with Katie that he is going to be late for. Suddenly, a meteor like visual studio logo flies by his window  and crashes into earth, and we gat a “hallelujah, the crops are saved!” type epiphany from the developer. It’s definitely a new form of advertising to developers! It doesn’t personally speak to me, but as an over 40 female, I’m a tiny slice of the developer market profile. Maybe I can get DevSource to take a poll! Leave any comments here

www.acehaid.org