Thursday, April 28, 2005

Problems with SQL Server 2005 April CTP Install...

Just curious if anyone who reads this blog has had any problems with this install. Every time it gets to the integration services part of the install, it craps out, saying it can't read a file or can't write a file. Its a different file every time. Initially I thought it was a problem with the DVD I had made, but I made a second one and the same thing happens.

Sorry, I don't have the exact error message in front of me, or I would post it.

I'll probably try to re-download it tonight and see what happens tomorrow.

Tuesday, April 26, 2005

Misc VSTS Stuff for 04/25/2005

I think I finally have everything downloaded, so I'm about to attempt the install process. Keep your fingers crossed. In the meantime, I've been trying to get caught up on my blog reading (I took about a week off). Here are some things you have probably already seen, but I found interesting (Sorry if you've seen most of this already):

Having problems with the Beta install?
This
will give you a smile.

Last Developer Standing - While not exactly VSTS related, this looks like something fun, at any rate. I'm already signed up, so sign up as well, and let's go head to head!

Team Foundation Blog - Overview of Checkin Policy
Jiange does a good job of explaining what the Checkin policy is, how it works, and how you can make it work for you. He also provides a step-by-step use case example, which are the kind of thing I find really helpful and intuitive.

A Unit Testing Walkthrough with Visual Studio Team Test
I've just briefly skimmed this, but it looks good. I'm anxious to give the examples a whirl once I get Beta2 installed.

Adam Singer - Rounding the Baselines
Adam addresses the topic of baselines, and how they relate to what we have in VSTS. While VSTS does not have "baselines" per say, it does have the equivalent, by using branching.

Buck Hodges - Data Tier Load with Team Foundation Beta
I haven't installed the data tier yet for Beta 2, but if you are running into issues where it seems the CPU is going crazy, Buck has your cure. I've already printed this out and included it with my install instructions, so I can go ahead and make this change.

Mike Attili - Problems with SQL Server Reporting Services Permissions
More fixes to do, once I actually get around to getting the Beta installed. Thanks to Buck for pointing out this post.

Dev Notes - Useful Beta 2 Links
This is a collection of links that will be useful to anyone (aka ME) trying to install the Beta2 software of VSTS.

Somasegar - Why did we not deliver VS2005 Beta2 end of March?
This post gives you a little insight into why the Beta was delayed about three weeks. Personally, I don't think it was that big a deal that it was delayed. I do think it is cool that they got signoff from their TAP partners before it was released. This, of course, begs the question: What do you have to do to become a TAP partner? I'd love early access to the next version of VSTS!

John Lawrence - Beta2 Extensibility Kit
John gives a brief overview of what all this extensibility kit does for you. It sounds cool. Just one more thing to put on my list!

And last but not least, for those who do not have access to MSDN download, you can order a copy of Beta2 here: Get The Betas!

I'm Going To Tech Ed!!!!

Woo Hoo! Tech Ed 2005, here I come!

(Sorry, I had to let out my barbaric yawp!)

Check out Tech Ed Bloggers for a list of people who will be blogging about Tech Ed. I've added myself to this group, so it looks like Ill have to try and be diligent about posting while I am there. (well, I should probably post at least one time, at any rate. If nothing else, I'll give you some detailed insight into the snack situation.)

Wednesday, April 20, 2005

78% Done...

with the download, after 24 Hours! Keep your fingers crossed that the network at work is fast today!

Tuesday, April 19, 2005

I'm STILL downloading Beta 2...

Looks like it won't be finished till tomorrow sometime...yikes!

More posts later tonight!

P.S. I'm going to Tech Ed! Woo Hoo!

Friday, April 08, 2005

My Thoughts On Today's Team Test Webcast

Today's Team Test webcast was also presented by Anand Iyer, who did just as good a job today as he did a couple of days ago with the Team Designer webcast. The webcast should be available soon at http://www.microsoft.com/webcasts.

A little background: Testing extends over both Team Developer and Team Test editions. Unit Testing and Code Coverage cover both editions, while Load Testing, Manual Testing, and Test Case Management are restricted to Team Test only.

Overall, I enjoyed this webcast. I only have two complaints about it, which I'll go ahead and get out of the way. First, we ran out of time and did not get to cover everything, and some of it was a little rushed because of that. Because of the depth of this topic, I would have allocated at least 90 minutes to this webcast, if not two hours. Second, Anand's Team Foundation piece was not working, so we were not able to see anything concerning that side of it, except for some slides. And I know that piece is something a lot of people are interested in. I wish they would go ahead and line up some more testing webcasts, to delve into this in more detail.

Anand covers in pretty good detail Unit Tests, Web Tests, and Load Tests (at least as much as you reasonably can within an hour). We briefly touched on Manual Tests. He showed us how to execute tests using the IDE, and how to interpret the results. Unfortunately, we ran out of time before we could cover running tests from the command line, or using MS Build, both of which are things I was interested in.

As an aside, when Anand was adding a text box to his Window's Form, there was a cool blue line that showed you the edges of the other text boxes, allowing you to easily line everything up. Very nice touch to the IDE.

I think one of the coolest parts of the demo was the Web Tests, and how it will record and playback everything you do in the browser. I've never had that kind of functionality before, and while watching the demo was already planning on how I could use that in my current environment. The Load Testing was very nice as well, as it was very configurable.

I enjoyed the webcast, and if you did not get a chance to watch it, you really should. Anand is a great presenter, and the material is very interesting as well.

Misc VSTS Stuff for 04/08/2005

Sean McBreen - VS2005 Product Line-up

This is a good post that sums up the new pricing in general (no actual money numbers were mentioned), in case you haven't had enough of those yet. He does have some nice graphics, some of which you have probably seen in some of the Team System Webcasts. Specifically, I like this one and this one.



Dave McKinstry
- First Thoughts On Customizing Process In VSTS

Dave provides a brief summary of how to get started customizing your own process. I for one did not realize that the Extensibility Kit provided extra information that helps with this. I was just going to try and plug away at the exported XML files until something worked. I'll have to go download it and check that out. Good Post, check it out.


Tom Krueger - ASP.NET 2.0 Beta Quickstart Tutorials

Tom provides a brief overview of the new ASP.NET 2.0 Quickstart Tutorials. I took a quick spin through the site, and I really liked it. Make sure to select what language you want your sample code to be in (VB or C#), by selecting from the DDLB in the upper right-hand corner. I was initially frustrated when it appeared everything was in VB, until I found that DDLB. I'm going to check this site out later. If nothing else, it will help me in getting some sample code to use with my VSTS testing.


Grayson Myers - Editing Type Members Using the Class Details Window

This was posted to the Class Designer Blog. It a very good post, especially if you don't know too much about Class Designer, and how you can actually build and modify your classes without having to go to the source code. One thing I did not know, which I thought was cool, was the fact that the Class Details Window has Intellisense! Very Cool!


Chris Rathjen - FAQ: Is shelving just a fancy word for branching?

I think this post does a good job of explaining shelving. I'll be the first to admit that I have not had that much experience with source control, and am looking forward to diving into it more with VSTS. These quotes helped shelving kinda make sense:


So, while version information is stored in the shelveset, the usage of shelvesets doesn’t really turn shelving into a poor-man's shared file system (if that was the goal, we've done a lousy job in designing to the requirement). It's a way to move specific *work in progress* out of the way, or to another user (and maybe back), and so on


You use shelvesets for sharing to facilitate an action (a checkin) that needs multiple actors (a code reviewer, a buddy builder, a QA signatory, or the other half of a client/server feature change or bugfix, to name some common REAL examples). I've seen, or been a party to, each of these usage scenarios in our dogfooding deployment.


Chris said he would post some real-world examples if we wanted him to, so hit the comments section of his post and ask for it.


Part 3 of John Stallo Class Designer Interview

(Thanks to R.Ramesh for the link!)
A great video to wrap up their series on Class Designer. John comes across very personable and keeps you interested in what he is talking about. He makes mention that extensibility of the Class Designer is not available in this first version, but they are looking into it for the future. I also like the idea of Filtering that he mentions, as well as Pattern Support. These are things that have been recommended for possible future versions. I think its cool that the Class Designer team make a concerted effort to add a new blog article every week to their blog.

Wednesday, April 06, 2005

OK, I Need Some Help...

Ok, I need some help from the three people (ok, maybe there are more than three, but you never know. Rob might just be hitting refresh over and over again to mess with my stats. But I digress...) who read my blog. Here is the crux of the matter:

What kind of Frickin' permissions do you have to have to be able to add a website into source control?

Short Version:

Created a Team Project using my user who is in the Namespace Administrator group. Created myself a new domain user, and set that user into the Project Administrator group for the Team Project I just created. When I try to open the source control viewer, I get this error message:

"Access Denied: User VSTS\Developer1 needs the UseSystem global permission(s)"

But with my TFSSetup user, who is in the Global\Namespace Administrator group, everything works fine. And I can't find this UseSystem global permission anywhere. Any ideas?


LONG VERSION:

Everything I have been doing so far in Team System, I have been logged in as the TFSSetup user. This user has administrative rights on all the VPCs, and is set up in the Global\Namespace Administrators group in Team Foundation. I'll blog later on the different default groups and such. Basically, the Namespace Administrators group can do pretty much everything.

I created myself a new domain user, called Developer1. I gave him Power User rights on the VPC which runs VS2005, but no specific rights on any of the other servers.

While logged in as TFSSetup, I created myself a new Team Project, called StarWars1 (warning, be prepared for very goofy names in future blog posts.) I opened Team Explorer, went to the project settings for StarWars1, and added Developer1 to the StarWars1\Contributor role. I then logged out and logged back in as Developer1.

I opened VS2005, and opened Team Explorer. It opens with no projects displayed, as expected. I right-click and select Add Team Project, select StarWars1, and click OK. The StarWars1 project is added into Team Explorer. I then select File->New->Website, and select ASP.NET Web Site, to create a new web site. I left the Location set to File System, "My Documents\Visual Studio\WebSites\deathstar". I selected C# as my language, clicked OK, and it created my ASP.NET web site. Everything is looking good.

In the Solution Explorer window, I right-clicked on the deathstar project, and selected "Add Solution To Source Control". Nothing happened. No window popped up, no error message, nothing. So I tried to open the Source Control Explorer window. I recieved the following error message:

"Access Denied: User VSTS\Developer1 needs the UseSystem global permission(s)"

Ok, so my Developer1 user doesn't have the ability to add the project into source control, especially since he can't even open the Source Control Explorer. I log out and log back in as TFSSetup. I move Developer1 from the StarWars1\Contributor role to the StarWars1\Project Administrators role. I log out and log back in as Developer1. I open VS2005, and try to open the Source Control Explorer window. Same error.

So I log out and log back in as TFSSetup. I open the deathstar web site that I created earlier. I right-click on the project and select "Add Solution To Source Control". It asked me to save the solution file, which I did. It then opened the "Add Solution To Hatteras" dialog.




I selected "vsts-tf" (my application tier server), as the server from the DDLB. I left the workspace as its default, "VSTS-VS2005". I selected StarWars1, which highlighted it. I kept the default folder as "deathstar". When I selected StarWars1, it changed the "Solution will be added to:" to be "$/StarWars1/deathstar". I clicked the Next button. The "Add Solution to Hatteras" dialog appears:




I took the defaults and clicked "Finish".

And apparently it seemed to work. Which shows that you at least need some of the rights that a Namespace Administrator has, in order to add a project to the source control.

Here is what my IDE now looks like at this point:




Notice the "+" beside Default.aspx. This indicates a newly added file. If you look at the Pending Checkin window at the bottom of the screen, you see all the files waiting to be checked in. I clicked the Check In button to check them in.




Notice the little blue lock beside Default.aspx, showing it is checked in. Notice there are no files in the Pending Checkin window now.

At this point, I logged out and logged back in as Developer1. If I just try and open the project directly from File->Open->Website, and navigate to the directory, the website opens, but it does not open in source control.

If I select File->Source Control->Open From Source Control, nothing happens. No windows open, nothing. I then tried to open the Source Control Explorer, and received the same UseSystem global permissions error.

I logged out and logged back in as TFSSetup. I went to the permissions for the StarWars1 project, and set the Contributor group to have "Allow" on all permissions listed. I removed Developer1 from the Project Administrator group and added them back to the Contributor group. I logged out and logged back in as Developer1, and received the same error when I tried to open the Source Control Explorer window.

So, I am back to my original question:

What kind of Frickin' permissions do you have to have to be able to add a website into source control? Or at least be able to access the Source Control Explorer window?

Anyone have any ideas?

Tuesday, April 05, 2005

Comments On Today's VSTS Webcasts

I attended both the Team Architect Webcast and the Process Guidance webcast. I was late for the Process Guidance one, because the Team Architect one ran over, which I was expecting. I would ask whomever is scheduling the webcasts to please not put related items in a series completely back to back like that, if at all possible.

The Team Architect webcast was presented by Geoff Snowman. He covered the three designers specific to Team Architect( Application Designer, Logical DataCenter Designer, and Deployment Designer). He also discussed Class Designer, which crosses over into Team Developer as well. This was a good webcast, and gave me a much better grounding on what Team Architect was about, and what it was trying to accomplish. Basically, he said that Team Architect was not designed to be a complete UML modeling tool, and should not be approached that way. It was designed to help people make sure their applications will run in their environment, and to provide an easy way to help understand, design, write, and refactor code. And he mentioned Rob's blog!

Geoff also made an analogy relating the VSTS editions and Team Foundation Server to Outlook and Exchange. Basically, you can use Outlook without Exchange, and you can Exchange without Outlook, but you get a real synergy when you use Outlook and Exchange together. By the same token, you can use VSTS without Team Foundation (and I suspect you might even be able to use Team Foundation without VSTS, if the APIs are there, but I don't know), but you get incredible synergy when you use VSTS and Team Foundation together.

The Process Guidance webcast was presented by Bindia Hallauer. She covered the process models which ship with VSTS (MSF Agile and MSF CMMI), and discussed exactly what a process model was. She mentioned there was a whole series of books in the queue for Team System and MSF Agile. She also showed how you can export a process model, make changes to it to customize it to your needs, and then import it back in. I found this webcast informative as well, but the audio quality was much poorer than in previous webcasts.

Both webcasts can be viewed at http://msdn.microsoft.com/webcasts. If you did not get the chance to participate in them, you should go check them out. Each of them lasted about an hour and fifteen minutes.

Monday, April 04, 2005

My Thoughts On The Intro To VSTS Webcast

I attended the Introduction to Visual Studio Team System webcast today. It was presented by Anand Iyer, who I felt did an excellent job with the material. He managed to keep the audience, or at least me, interested and engaged with the material.

Basically, he told us what Team System was, and then spent a majority of the webcast doing a demonstration, which I think was a perfect way to introduce the product. He covered Logical Datacenter Diagrams, Application Connection Designer, how to use ACD to stub out your code, Class Designer. He talked about Test Driven Development, and ran through an example of it, and how VSTS helps facilitate TDD.

Overall, it was one of the better webcasts I have been involved in, and it makes me look forward to the rest of the webcasts in this series. He also made mention that Beta2 should be out in a couple of weeks. I am ready!

The webcast should be available at http://www.microsoft.com/webcasts. Please check it out, and make sure to send Anand some feedback!

Sunday, April 03, 2005

Class Designer Overview...

I finally got around to watching the Class Designer interview with Josh Stallo over at Channel 9. If you have not watched this yet, you really need to. It provides a great overview of Class Designer, as well as introducing its use in a couple of ways I had not thought of.

Specifically, I love how you can open up a system class (in his example, he uses System.IO) in Class Designer, and quickly and easily see its associations with all the other classes. Very Cool!