Archive for January 20th, 2008

Speaking at the South Florida Code Camp on February 2nd

Sunday, January 20th, 2008

That's right it's time for the South Florida Code Camp and I'll be down there giving a new session on InfoPath 2007 and Visual Studio 2008.  For this session I'm thinking about changing a couple of things around and doing some really new stuff that includes C# code for updating AD and XMLFormView control for displaying an InfoPath 2007 form.  I'm thinking that the InfoPath 2007 form will be a data entry form that allows users to update their AD information.  I've been thinking about this new presentation for a while and since Visual Studio 2008 was officially released I figured that I should also change up the InfoPath part.  I'm really excited about building the new code and presenting it and after the code camp is over I'll post it on my Code Camp and User Group page.

All the information about the South Florida Code Camp can be found on the http://codecamp08.fladotnet.com/ website.  From what I heard while at Philly Code Camp from other speakers this code camp is suppose to be as big as or bigger than the Philly Code Camp one.  To see what sessions are currently on tap checkout the agenda page http://codecamp08.fladotnet.com/agenda.aspx.  The code camp is going to have 12 different tracks and that means tons of sessions.  The "SharePoint/ Office" track already has my "InfoPath 2007 and Visual Studio 2008" session and "Utilizing Visual Studio 2008 capabilities for better SharePoint Development Part 1 and Part 2" sessions on tap.  In my opinion this track is already shaping up to be a killer track.

I'm really excited about this code camp and I'm glad to have the chance to speak at it and I hope to meet some new SharePoint colleagues there to.  Well I'm about all posted out for the night.  Hope to see some of you there.

Cheers

Philly Code Camp was a blast

Sunday, January 20th, 2008

Last weekend was the Philly Code Camp and Nas and I had a blast with the other 375 people that attended the event.  The one day extravaganza featured 50 different speakers and in many sessions it was standing room only.  If you work with Microsoft technologies on the dev side and local to the area or in driving distance then I would definitely try to make it out to one of their other two code camps this year.  My InfoPath 2007 and Visual Studio 2008 session went really well I think and I really enjoyed myself.  I would like to thank David Mann for letting me speak and all the other people that put together this great event.

When at the Philly Code Camp I got to meet a couple other great SharePoint speakers.  After my session I got to speak with Susan Lennon (http://wss.lennontechnologies.com/blog/default.aspx) who did a session on "Using SharePoint Designer to Build a Dashboard-type View of Lists" and got to sit in on the session by Tony Testa (http://www.tonytestasworld.com/) called "AJAX in SharePoint".  Susan and I didn't have a long time to talk but she seemed to be a great person with some interesting experience with SharePoint 2007.  I'm hoping to have another chance to talk with her while out at Office Developer Conference in February.  Dave Mann did his session after mine and it was a great session on you guessed it Workflow and SharePoint.

As promised my presentation and code solutions are up on my Code Camp and User Group page and I just sent them to Philly Code Camp organizers and should be posted on their site shortly.  If anybody has any questions about the code please fill free to email at ml@(nospam)bandrsolutions.com

Cheers

You must choose a publish location that is different from the source Web application error message when trying to publish a web project with Visual Studio 2005

Sunday, January 20th, 2008

When living in the InfoPath and SharePoint world I sometimes don't really get to know how to use some tools that great until I get a stray project that forces me to do things that I normally wouldn't do on a day to day basis.  Recently I've had two projects like that and fortunately for me I've learned a bunch of new stuff that probably most developers learned years ago when the tools were first released.  This post is about me finally figuring out how to switch back from Visual Studio 2005 "IIS Web Server" debug mode to "Visual Studio Development Server" mode.  In Visual Studio 2005 web projects have this properties tab called "Web" and on it you can specify either to run debug from "Visual Studio Development Server" or "IIS Web server" and both of these options have their pros and cons but I'm not going to get into that because that is another blog post if you ask me.  Below is an image of the properties tab Web.

Usually when I'm starting out on a new project I've always found myself always using the "Visual Studio Development Server" for debugging but once I start publishing my sites to IIS then I usually switch to "IIS Web Server" but one of the biggest problems that I've had was not being able to switch back to "Visual Studio Development Server" mode and successfully publish my code to the desired IIS website.  Whenever I would switch back and try to publish my code to the IIS website I would get this error.

This error has haunted me for about 2 or 3 projects and I finally got tired of it and started to do some searching to find a fix but was unable to.  So I started messing around with the settings on the Web properties tab and noticed that the "Project Url" and "Override application root URL" textboxes were getting pre-populated and in most cases I was changing the values to point to the IIS website I published to.

Once I noticed that these values were not being cleared out when I would click on the "Use Visual Studio Development Server" radio button then I decided to clear them out manually and then try publishing again.  When I tried the publishing everything worked and the error went away.  So when you switch back and wan't to use the publish feature but you can't because of the error message, just make sure everything is cleared out and looks like this image below.

I'm sure everyone in the world knows this but since this was my first I figured I would blog it.  Hope everybody had a great weekend.

Cheers