FlaDotNet Meeting 12-29-05#
Here are some of the links to the several libraries I discussed at the meeting tonight about the different AJAX style libraries for ASP.NET 2.0 and ASP.NET 1.1:


http://jason.diamond.name/weblog/2005/10/29/my-ajax-dot-net-release-12
http://anthem-dot-net.sourceforge.net/
http://atlas.asp.net

It was fun to hang out tonight and always love the pubs. Check out CarCentral.com and build your car, get a free price quote or find a used car. See you again, hopefully in fort lauderdale in February!
Thursday, December 29, 2005 10:00:00 AM UTC #    Comments [97]  |  Trackback

 

Using GridView and ObjectDataSource for Paging and Sorting#
I was scratching my head trying to figure out how to automagically sort and page through a dataset in asp.net 2.0 without having to write my own custom code like I used to have to in .net 1.1. In my code behind I was calling my business object and then setting the datasource properties in the Gridview. I could not get the sorting and paging to work. It was driving me crazy. Then I read that you need to set the DataSourceID property of the GridView to a sqldatasource or objectdatasource.

So I created an objectdatasource and pointed it to my business ojbect function that was doing the search and returning a dataset. I set the parameters of the ObjectDataSource to use QueryString and then everything worked fine.

I then was able to delete all of the code in my code behind. Amazing. You can actually implement a fully functional GridView without writing any code in a code-behind page. I love it.
Thursday, December 15, 2005 10:00:00 AM UTC #    Comments [95]  |  Trackback

 

.NET 1.1 Sites no longer work after upgrade from .NET 2.0 beta 2 to RTM#
Ok, now I am writing this after panicking for about an hour after updating my server from .NET 2.0 beta 2 to .NET 2.0 RTM. After uninstalling beta 2 and then installing the rtm for .net 2.0 I noticed that my .net 1.1 sites no longer worked. Two things happened. On one of the 1.1 sites it changed all of the page mappings to 2.0. That was an easy fix, I just changed the mappings back to 1.1.

The second problem was stranger. I could not find any aspx pages on the site. Although I had proper mappings reset. The problem again was in the web service extensions. Believe it or not I went on that track after searching for "404 error only on aspx pages asp.net 2.0" and finding an old post of my own. Go figure. Anyway I went to IIS and clicked on Web Service Extensions. I noticed that the ASP.NET v1.1.4322 extension was not even there anymore and that it had gotten deleted. All you need to do is click the "Add a new web serice extension" link and then name it "ASP.NET v1.1.4322" and then browse to "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" when it asks after you type in the name. Do not forget to click the "Set extension status to Allowed". Everything should work fine now.
Sunday, December 11, 2005 10:00:00 AM UTC #    Comments [90]  |  Trackback

 

Running .NET 1.1 and .NET 2.0 at the same time with IIS#
The other day I was trying to set up my bug tracking software on a server that was running only websites using the new asp.net 2.0 stuff. Well when I went to run the .net 1.1 application, I got a "Service Unavailable" errror in red. What the hell is this I thought. Well after many nights of just saying, well I don't need that app right now on this dev server anyway, I decided to dig into what was going on. I noticed that there was only one app pool running for IIS when I looked at the task manager. Then I thought that the two might be in conflict trying to access simlar resources. So I created a separate app pool for 1.1 and one for 2.0 sites. And magically it worked.

I hope this helps someone that is at their wits end trying to figure this one out. I feel your pain.
Wednesday, November 16, 2005 10:00:00 AM UTC #    Comments [58]  |  Trackback

 

Page not found error with .aspx pages and iis 6.0 on Windows 2003#
I am setting up a new windows 2003 server and I was pulling my hair out trying to figure out how to get my aspx page to show up in the browser. I kept getting a page not found 404 error for every aspx page but not .html pages.

So, I opened up IIS manager and went to Webservice Extensions and noticed that ASP.NET was prohibited. So I right clicked on it and set it to be allowed. In Windows 2003, all the webservice extensions are prohibited by default to ensure security.

Hopefully this will save someone some time when configuring a new windows 2003 box.
Thursday, October 13, 2005 8:00:00 AM UTC #    Comments [121]  |  Trackback

 

Start Developer Center#
Some cool stuff microsoft is doing with AJAX - style applications. This site is very new and not yet complete, but you will get an idea of what they are doing. Pretty cool stuff.

http://start.com/developer/default.htm
Wednesday, September 21, 2005 8:00:00 AM UTC #    Comments [88]  |  Trackback

 

Atlas Info#
Here is a link to a look at the Atlas technology.

http://beta.asp.net/default.aspx?tabindex=7&tabid=47

I am looking at it myself and hope to incorporate this into my presentation on Saturday, Sept. 24th, 2005 in Tallahassee for Code Camp.
 | 
Monday, September 19, 2005 8:00:00 AM UTC #    Comments [108]  |  Trackback

 

This one time at code camp#
This one time at code camp (Jacksonville), my laptop screen went out before my presentation. I ran into this cool guy named Mike who worked for a large insurance company and told him that I was nervous to drive my presentation from the wall and not my laptop screen so I would not be able to face the audience. Plus my presentation was mostly code, so it was going to be very hard to drive the screen from the wall and present at the same time.

Then I thought, hey do you have a crossover cable? He said yea, actually I do. Then I asked if I could borrow his laptop and set up a network connection and then remote desktop to my laptop which had all of the code on it. I asked Dave to see if they had a monitor that had mulitple video out and he want to look for one.

Meanwhile, Mike and I go up to an empty room and figure out the way to remote desktop into my laptop and then I drive the session through his laptop. We get it to work about 15 minutes before my session.

Thanks Mike for your help and being there at the right time. Funny how things work sometimes.

Anyway, I had a fun time in Jacksonville and am looking forward to going to Tallahassee Code camp on Sept 24th. I hope to see you all there.
Wednesday, September 14, 2005 8:00:00 AM UTC #    Comments [86]  |  Trackback

 

 

All content © 2012, Jim Zimmerman
Book
New Book
Links to me
On this page
Sponsors
Calendar
<December 2005>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Archives
Tags
Blogroll OPML
Technorati
Favorite Links
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail