I have a fresh install of Windows Server 2k3, just installed Sql Server 2k5 and Sql Server SP2. I'm getting ready to install Team Foundation Server 2008.
And then I get the ubiquitous error: 320000
The Commandline '"C:\...\TFRSConfig.exe" /setup /install /s "servername" /u "NT Authority\NetworkService" /buildInIdentity /l "1033" /verify /ignoreExistingIISArtifacts /instancename "MSSQLSERVER" /appPoolName "ReportServer" /reportServerUri "http://localhost/ReportServer" /reportManagerUri "http://localhost/Reports" /h "servername"' returned non-zero value: -2147022676.
I've seen other sites with this, tried the click retry 4 to 8000 times, and nothing. I finally killed the install. Then I remembered, when I was installing Sql Server and IIS i had switch a flag for some other error I was getting in IIS:
The fix was to go to open IIS, right click on Web Sites, select properties, select service tab, then check Run WWW service in IIS 5.0 isolation mode.
Figuring that there wasn't much else I could do, I unchecked that field, and went back through the TFS install.
What do you know? It worked. (oh and I had to restart IIS).
So, at least I've gotten it installed. Now to play with it.
Tuesday, March 18, 2008
Tuesday, March 11, 2008
1 old and 1 new feature of Gmail.
Official Gmail Blog: 2 hidden ways to get more from your Gmail address
I just found on the GMail Blog two neat features you can do with your gmail addresss. One I've known about for years, and that is using a period in your email address. so example@gmail.com is the same as ex.amp.le@gmail.com, and you can use that to figure out where spam is coming from, if you place the period in different places of your email. That's of limited use, unless you want to be spiffy any have a period separating words in the email address. The other item that I didn't know about and was really interesting was using the + in your email. So you can send email to exampl+orders@gmail.com. Then create a filter for the +orders and have all your orders labeled. I've started using +spam, +orders, etc. I then know if someone starts to sell my email address to other companies, I can just start blocking the +.
I use this with my google domain email, and it works great!
I just found on the GMail Blog two neat features you can do with your gmail addresss. One I've known about for years, and that is using a period in your email address. so example@gmail.com is the same as ex.amp.le@gmail.com, and you can use that to figure out where spam is coming from, if you place the period in different places of your email. That's of limited use, unless you want to be spiffy any have a period separating words in the email address. The other item that I didn't know about and was really interesting was using the + in your email. So you can send email to exampl+orders@gmail.com. Then create a filter for the +orders and have all your orders labeled. I've started using +spam, +orders, etc. I then know if someone starts to sell my email address to other companies, I can just start blocking the +.
I use this with my google domain email, and it works great!
Monday, February 25, 2008
cwbx info on connection pooling
Well, I talked on the phone with IBM's .net Support. And the cwbx definitely does not do any kind of pooling. It's a batch/queue setup. So multiple calls into the dll will stack up one after the other until they are all done.
To get around this I created a simple Object Pool, that would instanciate the object's connection to the 400, and then when I need the object, get it from the pool, use it and return it. Pretty slick!
As for the connecitons on the 400, they just sit in a status of TIMW until they are used. I do have a limit on the number of connections in the pool, so if I get too many in there, I close the oldest one down.
To get around this I created a simple Object Pool, that would instanciate the object's connection to the 400, and then when I need the object, get it from the pool, use it and return it. Pretty slick!
As for the connecitons on the 400, they just sit in a status of TIMW until they are used. I do have a limit on the number of connections in the pool, so if I get too many in there, I close the oldest one down.
Thursday, February 14, 2008
cwbx help files
Well, I wrote an application that I was getting the objectdisposed exception in, and that was using IBMs .net provider to talk to the as400, call a stored proc which called a program.
Unfortunately, that wasn't fast enough for me, so I started searching around for help on calling programs directly. I found a dll, that you can reference in your project, which will give you access to calling 400 programs directly. This opens up a whole new world because you can start passing complex types back and forth (suposedly, I haven't tried this myself). The downside, is that there is only one real other blog that actually has info on it.
http://www.netsplore.com/PublicPortal/blog.aspx?EntryID=13
And the program works great. However, I needed to know what some of the values mean, because even though this method is faster than the .net provider, i'm still slower than running websphere for the same calls.
It took some reasearch, but for all you out there, who need to know, you can find the cwbx.dll help files in the following directory on your windows system:
Unfortunately, that wasn't fast enough for me, so I started searching around for help on calling programs directly. I found a dll, that you can reference in your project, which will give you access to calling 400 programs directly. This opens up a whole new world because you can start passing complex types back and forth (suposedly, I haven't tried this myself). The downside, is that there is only one real other blog that actually has info on it.
http://www.netsplore.com/PublicPortal/blog.aspx?EntryID=13
And the program works great. However, I needed to know what some of the values mean, because even though this method is faster than the .net provider, i'm still slower than running websphere for the same calls.
It took some reasearch, but for all you out there, who need to know, you can find the cwbx.dll help files in the following directory on your windows system:
C:\Program Files\IBM\Client Access\Mri2924\cwbx.hlp
that last directory having to do something with the version of your client access.....
This basically a help file on what all the values, types, methods, objects, etc mean for that dll.
objectdisposedexception Fixed!
I found the problem, and posted the solution on a comment field in one of the previous posts. But here it is. Our server was running the latest fixes, however, my client access was not updated to the latest service pack. Our Operations manager, gave me this link to IBMs site to install the service pack on my local windows machine, and it works.
ftp://ftp.software.ibm.com/as400/products/clientaccess/win32/
Then select v5r4m0 (or what ever version you are running), servicepack, and si29771.
Download si29771.exe and run it on your system. Poof! Now you no longer get the objectdisposedexception, and no more errors with ThreadPool.RegisterWaitForSingleObject
Hope this helps!
ftp://ftp.software.ibm.com/as400/products/clientaccess/win32/
Then select v5r4m0 (or what ever version you are running), servicepack, and si29771.
Download si29771.exe and run it on your system. Poof! Now you no longer get the objectdisposedexception, and no more errors with ThreadPool.RegisterWaitForSingleObject
Hope this helps!
Tuesday, January 22, 2008
web.config appsettings and updates
Well, I finally figured it out. If you're like me, you have some settings in your website that you want to be able to update, but you don't want to bounce the app domain, yet, your values need to be displayed as changes.
I figured out how to do it. First, give thesection of your web.config a config source. This will point your web.config to a separate file that you can use to store your settings. Since, it's this other file that is updating, your app domain shouldn't bounce every time you change a setting
Once you've added that line,
then add either in a separate class, partial, or wherever the following:
This will get the key that you are looking for, update it. You can actually see when this happens, if in Visual Studio you have the file open. It will prompt you that a change has been made to the file, and ask if you wish to reload it.
Edit: Note, that even when you force the RefreshSection, from what I understand, that'll only refresh the web.config section to reload. Appearently, it won't always refresh external files. So your changes may not show up right away. ARG.
If anyone has a solution to this, I'd appreciate it.
I figured out how to do it. First, give the
Once you've added that line,
then add either in a separate class, partial, or wherever the following:
private void SaveSetting(string SettingName, string SettingValue)
{
//connect to the webconfiguration file
Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
//get the setting that you want to update
KeyValueConfigurationElement setting = config.AppSettings.Settings[SettingName];
//assign the new value to the setting
setting.Value = SettingValue;
//save the configuration changes
config.Save(ConfigurationSaveMode.Minimal, false);
// Force a reload of the changed section.
ConfigurationManager.RefreshSection("appSettings");
}
This will get the key that you are looking for, update it. You can actually see when this happens, if in Visual Studio you have the file open. It will prompt you that a change has been made to the file, and ask if you wish to reload it.
Edit: Note, that even when you force the RefreshSection, from what I understand, that'll only refresh the web.config section to reload. Appearently, it won't always refresh external files. So your changes may not show up right away. ARG.
If anyone has a solution to this, I'd appreciate it.
Thursday, January 17, 2008
.net framework debugging
It's finally out. On ScottGu's blog, he posted information on how to read the .net framework source code!
.NET Framework Library Source Code now available
You do still have to enable it, but at least it's available.
.NET Framework Library Source Code now available
You do still have to enable it, but at least it's available.
Subscribe to:
Posts (Atom)


