From Gustav at cactus.dk Fri Oct 1 11:47:04 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 18:47:04 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Composite C1 now open source In-Reply-To: References: Message-ID: <2D1FA6E3AFF048B5B1D788313F6F7E33@nant> Thank you, David :) No, I didn't get scared off that much from the subject source code - I just don't see why should I (and others) spend their time "digging through" such an advanced code... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, October 01, 2010 1:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Composite C1 now open source Wow, if Shamil is scared off, I don't think I want I'd want to take a look at it either! I didn't think there was any code to scare off Shamil. :) On Thu, Sep 30, 2010 at 1:53 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > I have got Composite C1 sources downloaded. > And I have got Composite C1 solution opened in VS2010. > And I have looked through the source code. > I must note it looks so advanced - I mean I can't get where to start > "digging through" this code to understand what it's doing. > And developer's docs are missing(?). > I suppose I should better stay away from this code - back to DNN: at least > when looking through DNN modules' code it's rather clear how they are > organized, what they do - and there is no need in almost any developer's > docs... > > -- Shamil > > P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? > As far as I have got from my experience during my short staying there this > summer Copenhagen should be called rainy not sunny? :) <<< skipped >>>> From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <253559A9FA124B0AB31408517EB1E461@nant> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 16:48:01 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 23:48:01 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav >>> shamil at smsconsulting.spb.ru 01-10-2010 23:12 >>> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 17:10:36 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:10:36 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> From hkotsch at arcor.de Fri Oct 1 17:19:58 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 00:19:58 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From shamil at smsconsulting.spb.ru Fri Oct 1 17:39:46 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:39:46 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From hkotsch at arcor.de Sat Oct 2 04:54:41 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 11:54:41 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Oct 2 06:56:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 15:56:08 +0400 Subject: [dba-VB] OT: Altweibersommer/Babje Leto/Indian Summer - Was: RE: CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <29A00FFD50A4409AA0DFA10A918EEF67@nant> Hi Helmut -- I have checked some Russian sources here: http://evolutsia.com/content/view/1194/26/ http://www.onlinedics.ru/slovar/brok/b/babje.html http://novaya.com.ua/?/articles/2009/09/15/140448-13 and I have found ???? they give several explanations of "Babje Leto" expression's etymology: the main one corresponds to yours - this season a lot of thin gossamers(?) are floating in the air here - like the hairs of an "old woman"... <<< do you have also an ancient word for weaving that translates into old women? >>> I have checked one of the main dictionaries here to get etymology of this expression: http://www.slova.ru/article/676.html No, there is no any relations to an ancient word for weaving: "Babje Leto: Indian Summer, Webspinner, web, flying in the autumn in the fields and forests; its abundance heralds dry autumn." (????? ????, ????????, ???????, ???????? ?????? ?? ????? ? ?????; ?????? ?? ?????????? ????? ?????.) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 1:55 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From accessd at shaw.ca Sat Oct 2 19:08:50 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 2 Oct 2010 17:08:50 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 23:27:52 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 00:27:52 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: <4CA80648.7050300@colbyconsulting.com> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:07:34 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:07:34 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA80648.7050300@colbyconsulting.com> References: <4CA80648.7050300@colbyconsulting.com> Message-ID: <1ACA585D67B947C486397FBD73F78470@nant> Hi John -- Maybe this tool http://www.starwindsoftware.com/converter mentioned here by Gustav in "Re: [dba-VB] Installing VS2010 on a PC with VS2008 SP1" thread will be helpful for you? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 8:28 AM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] running virtual machines in Windows 2008 I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:13:27 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:13:27 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> From gustav at cactus.dk Sun Oct 3 08:27:00 2010 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 03 Oct 2010 15:27:00 +0200 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: Hi John The converter which I and Shamil posted a link for should work. But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. /gustav >>> jwcolby at colbyconsulting.com 03-10-2010 06:27 >>> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 3 10:18:53 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 11:18:53 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: References: Message-ID: <4CA89EDD.5040403@colbyconsulting.com> Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From shamil at smsconsulting.spb.ru Sun Oct 3 11:19:57 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 20:19:57 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA89EDD.5040403@colbyconsulting.com> References: <4CA89EDD.5040403@colbyconsulting.com> Message-ID: John -- XenServer seems to be able to make VMWAre VM conversion to its VM format: How to Convert VMware Virtual Machines to XenServer Virtual Machines http://support.citrix.com/article/CTX116603 http://downloadns.citrix.com.edgesuite.net/akdlm/4814/XenConvertGuide.pdf I must note I have never used that XenConvert utility, nor did I use XenServer... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 7:19 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] running virtual machines in Windows 2008 Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From accessd at shaw.ca Mon Oct 4 11:56:25 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 4 Oct 2010 09:56:25 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 13:39:43 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 14:39:43 -0400 Subject: [dba-VB] New Server Message-ID: <4CAA1F6F.3070606@colbyconsulting.com> Last week late and over the weekend I brought up the new server. That is a *lot* of work! The server consists of: 1 Norco 4020 case http://www.newegg.com/Product/Product.aspx?Item=N82E16811219021 1 Corsair 750W modular PS http://www.newegg.com/Product/Product.aspx?Item=N82E16817139010 1 Asus KGPE-D16 Dual Socket G34 motherboard http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 1 AMD Opteron 6128 8 core processor http://www.newegg.com/Product/Product.aspx?Item=N82E16819105266 2 Kingston 8GB 240-Pin DDR3 SDRAM http://www.newegg.com/Product/Product.aspx?Item=N82E16820139140 3 OCZ Vertex 2 OCZSSD2-2VTXE120G SSD http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 Windows *Server* 2008 Enterprise ;) SQL Server 2008 Enterprise Visual Studio 2008 Visual SVN One of the SSD drives is the boot drive, the other two will be for specific database files (raid 0). So essentially ATM the server is 8 cores and 16 gigs of RAM. Coming next another 8 core processor and another 16 gigs of RAM, to be followed by a final 32 gigs of RAM. Of course in typical fashion, not thinking about what I was doing, I moved the RAID controller and the drives over to the new server only to discover that I had not detached the databases and they would not attach. So I had to bring the old server back up, move the database files back over, attach and detach them, then move the files back to the new server, whereupon they all attached as expected. So as of this AM, the new server is up and functioning, with my SVN server / repository, and all databases functioning. I am planning on moving a couple of my main databases to the SSDs Raid 0 array. These are read-only databases, I do not write to them under normal circumstances. I will keep a current backup in case the Raid 0 array fails, but will work with them from the Raid 0 array on a daily basis. Having the main working databases on SSDs in a Raid 0 configuration, as well as more cores and more memory should allow me to do some of what I do in a much faster time frame. I do a lot of PK (autonumber) joins between tables, pulling multi-million record sets with data from each of the tables. I am hoping that this kind of processing will be much faster than when the source disks were on rotating media. We shall see. I still have the old server and will use it to run the test on rotating media, while doing an identical test on SSD on the new server. Of course I will not be testing just the effect of the SSD but rather the total speed increase of the entire system. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 4 14:20:22 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 4 Oct 2010 23:20:22 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: <1562F91B71894A4CB3A370FBDA90BFAC@nant> Jim -- Was that DNN v.5.x? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, October 04, 2010 8:56 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 16:16:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:16:33 -0400 Subject: [dba-VB] Apples to Oranges Message-ID: <4CAA4431.5020903@colbyconsulting.com> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 drive) Raid 0. There is a clustered index on the PK as the index key. There is no index on the FieldX, forcing a field scan. I did a simple count PK Group By FieldX on both database files. The SSD returned the counts in 1:31 The rotating media returned the counts in 8:58 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Oct 4 16:36:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:36:49 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA4431.5020903@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> Message-ID: <4CAA48F1.20008@colbyconsulting.com> With an index, both databases took 2 seconds to return the results. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:16 PM, jwcolby wrote: > I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 > drive) Raid 0. > > There is a clustered index on the PK as the index key. > There is no index on the FieldX, forcing a field scan. > > I did a simple count PK Group By FieldX on both database files. > > The SSD returned the counts in 1:31 > The rotating media returned the counts in 8:58 > From jwcolby at colbyconsulting.com Mon Oct 4 17:05:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 18:05:13 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA48F1.20008@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> <4CAA48F1.20008@colbyconsulting.com> Message-ID: <4CAA4F99.8000805@colbyconsulting.com> One pass of the query that updates the ' ' (space) to null value takes about 5 minutes on the SSD, whereas it takes about 30 minutes minutes on rotating media. I am not pursuing actually doing this on the SSD over nagging concerns about hot spot wear. However a actually need to do this for about 540 fields. At 1/2 hour / field... this will be running for the next month. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:36 PM, jwcolby wrote: > With an index, both databases took 2 seconds to return the results. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:16 PM, jwcolby wrote: >> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 >> drive) Raid 0. >> >> There is a clustered index on the PK as the index key. >> There is no index on the FieldX, forcing a field scan. >> >> I did a simple count PK Group By FieldX on both database files. >> >> The SSD returned the counts in 1:31 >> The rotating media returned the counts in 8:58 >> From stuart at lexacorp.com.pg Mon Oct 4 17:39:23 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Oct 2010 08:39:23 +1000 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA4F99.8000805@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> Message-ID: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> At 1/2 hour / field, it should only take about 11.25 days :-) But my question is, do you have to do it a single field at a time? can't you update all the fields in a single pass? Something like: Update mytable set field1 = case field1 when " " then Null else field1 end, field2 = case field2 when " " then Null else field2 end, field3 = case field3 when " " then Null else field3 end, ... -- Stuart On 4 Oct 2010 at 18:05, jwcolby wrote: > One pass of the query that updates the ' ' (space) to null value takes > about 5 minutes on the SSD, whereas it takes about 30 minutes minutes > on rotating media. > > I am not pursuing actually doing this on the SSD over nagging concerns > about hot spot wear. > > However a actually need to do this for about 540 fields. At 1/2 hour > / field... this will be running for the next month. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:36 PM, jwcolby wrote: > > With an index, both databases took 2 seconds to return the results. > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 10/4/2010 5:16 PM, jwcolby wrote: > >> I On the new server, have the same database on my SSD (two drive) > >> raid 0 and a rotating media (2 drive) Raid 0. > >> > >> There is a clustered index on the PK as the index key. > >> There is no index on the FieldX, forcing a field scan. > >> > >> I did a simple count PK Group By FieldX on both database files. > >> > >> The SSD returned the counts in 1:31 > >> The rotating media returned the counts in 8:58 > >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Mon Oct 4 19:07:39 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 20:07:39 -0400 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> Message-ID: <4CAA6C4B.8060901@colbyconsulting.com> Uhh... I don't know. But I am guessing it would take me about 11.25 days to write the sql statement. ;) John W. Colby www.ColbyConsulting.com On 10/4/2010 6:39 PM, Stuart McLachlan wrote: > At 1/2 hour / field, it should only take about 11.25 days :-) > > But my question is, do you have to do it a single field at a time? can't you > update all the fields in a single pass? Something like: > > Update mytable set > field1 = case field1 > when " " then Null > else field1 > end, > field2 = case field2 > when " " then Null > else field2 > end, > field3 = case field3 > when " " then Null > else field3 > end, > ... > From mikedorism at verizon.net Tue Oct 5 08:00:04 2010 From: mikedorism at verizon.net (Doris Manning) Date: Tue, 05 Oct 2010 09:00:04 -0400 Subject: [dba-VB] Contract Management template Message-ID: Please forgive the cross post but.Does anyone happen to have a basic Contract Management template that they wouldn't mind sharing or know of a good low cost source for one? We need to be able to track Expiration date, Service Level, Terms, Contacts, Options on renewal, and Cost. Being able to handle or track Document Storage would also be a big plus. I would design it myself but I'm swamped with more requests than I can handle and am just looking for something I can put in place quickly and fix as we go. Back end needs to be SQL Server 2000. Front end can be either desktop or web-based. Thanks, Doris Manning Sr. Developer/Database Administrator Hargrove Inc. www.hargroveinc.com From Johncliviger at aol.com Wed Oct 6 11:17:45 2010 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 6 Oct 2010 12:17:45 EDT Subject: [dba-VB] Control handles Message-ID: <67a8a.5045b1a1.39ddfb29@aol.com> Hi all I'm using vb2005 win forms and I have around 30 command buttons on a form (where else). I use the Click event to fire a procedure. Rather that have the code for each command button, I've added to the end of the first command button click event multiple handles, one for each cmd button. so I have Private Sub Button1_Click(sender etc., e etc.,) Handles Button1.click, Button2.click and so on... End Sub I think this is a bit clunky. Is there a better way? TIA john cliviger From jwcolby at colbyconsulting.com Wed Oct 6 11:23:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 12:23:28 -0400 Subject: [dba-VB] Multi-core madness Message-ID: <4CACA280.9070302@colbyconsulting.com> I have never had more than 4 cores at my disposal. On the old (SQL) server I had two cores dedicated to SQL Server. On the new system I currently have 8 cores total and 6 of those dedicated to SQL Server. In the past I would do things like build a multi-field index on a 50 million record table and it would max out the two cores. I pretty much couldn't do anything else. Today I am building multi-field indexes on an "off-line" copy of my database from hell. Task manager tells me it is using about 40% of the total processor power, however the two cores dedicated to the system are not doing much. The other 6 cores are chugging away somewhere (visually) just under 50%. I needed to BCP (using the internal export wizard) about 30 million PKs and email addresses to a csv file. When I started that running, Task manager informed me that I was using just under 60% of the available processor power, but the first two cores (dedicated to Windows) started chugging away, presumably doing file IO and the like. My 6 SQL Server cores jumped up to around 65%. BTW, the export process ripped it out pretty darned fast. I didn't time it but the total took a minute or so. So I was able to get two tasks going, and still had plenty of horsepower left over. I then installed the 64 bit WinRar, which can use multiple threads, and had it compress the resulting text file as SQL Server continued building indexes. All very smooth. If I get no "bandwidth complaints", I will continue to post occasional emails regarding how long it takes to do stuff vs the old server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:20:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:20:14 -0400 Subject: [dba-VB] Apples to oranges - take 2 Message-ID: <4CAD2E5E.20101@colbyconsulting.com> OK, so I have two databases, each with a single table. BTW, these are two of my main tables, used all of the time in orders. HSID - otherwise known as the database from hell, 51157068 records, ~560 fields. HSIDAllAdults is a database where up to three adult names were lifted out of fields in HSID and placed in a table with a PK_HSID field pointing back to the HSID record from which the information came. Thus HSIDAllAdults is child to HSID in a manner of speaking (has a FK back to the PKID from HSID). HSIDAllAdults has about 67564677 million records, 27 fields. Each table has a PKID which is autonumber and a unique clustered index on the PKID. HSID is demographic information such as income bracket, ChildInAgeGroup_XXX, HasDog etc. and has a handful of indexes on the most commonly used demographics fields. HSIAllAdults has name / address / gender / position (in HSID) fields and has three indexes on it - NameAddr, Hash and one other. So... I have a copy of each of these databases on rotating media. I then backed up the rotating media file and restored on the SSD, so I have a copy of each database in two places. I do this BTW because the SSD is a Raid 0 as well as SSD, and I am worried that if I do too much writing on the SSD I will wear it out - as in hot spot updates due to index updates etc. Thus I will be doing maintenance on the rotating media and just copying the resulting db out to SSD for every day use. Anyway, this allows me to do A/B comparisons of common queries. For the purpose of this test / email, I joined HSID to HSIDAllAdults on the FK in HSIDAllAdults, then did a count of the PK in HSIDAllAdults Group By MOB (mail order buyer, one of the demographics fields in HSID). So the SSD query looks like: SELECT _DataHSID.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID.dbo.tblHSID.PKID GROUP BY _DataHSID.dbo.tblHSID.Mail_Order_BUYER And runs in 30 seconds, producing the following results: NULL 19702461 1 19422841 2 28439375 The rotating media query looks as follows: SELECT _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID GROUP BY _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER And runs in 1:50, producing the following results: NULL 19702461 1 19422841 2 28439375 The resulting count is identical (as expected), with rotating media taking almost 4 times as long to complete as the SSD. I will be storing these two queries in their respective databases (rotating / SSD) so that I can use them to test again when I add the second physical CPU chip and additional memory. BTW this was a pretty simple query as things go. A more normal query is to pull Name / address and a ValidAddress field out of HSIDAllAdults, filter the ValidAddr using something like In('V','E'), joining that to HSID and pulling out typically 4 to 6 fields from HSID to use in where clauses. So I am typically joining two tables of 50 million and 65 million records and then filtering on 4-8 fields, then actually capturing the resulting names / addresses and writing these into an order table. Depending on the criteria, I will pull anywhere from a 100 K or so up to 5 million or more names into the order table. The order table is created on the fly in an order database created just for that order. The order table will be on rotating media. Or I might eventually go buy another SSD to use specifically for building these order databases. Then if the SSD wears out I can just replace it with another. I currently spend a lot of time, hours at a time building these orders, running the queries, and manipulating the results to get the final export file. I am hoping to radically reduce my time twiddling my thumbs waiting for SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:33:34 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:33:34 -0400 Subject: [dba-VB] Apples to oranges take 2a Message-ID: <4CAD317E.6040700@colbyconsulting.com> Same two files, rotating / SSD. I was just curious whether I had any HSIDAllAdult records no longer found in HSID. So this is an outer join where HSID is null, pulling the PK from HSIDAllAdult. The results BTW were an empty set (no records found). The query: SELECT dbo.tblAllAdultNameAddr.PK FROM dbo.tblAllAdultNameAddr LEFT OUTER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID WHERE (_DataHSID_OffLine.dbo.tblHSID.PKID IS NULL) and a similar one for SSD The SSD finished in 44 seconds. The rotating media in 1:42 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 7 14:53:12 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 07 Oct 2010 15:53:12 -0400 Subject: [dba-VB] Apples to Oranges - Take 3 Message-ID: <4CAE2528.9@colbyconsulting.com> One thing I do a lot is to export large csv files. Today I have to export ~51 million records to CSV, PK and email fields. I have a table which holds these and two other fields, with a clustered index on PK and a non-clustered index on the email. I exported from rotating media to rotating media and (very rough) got about 10 million records per 45 seconds. I then exported the same job from rotating media to SSD and got roughly the same performance. I then backed up and restored to the SSD (the log file to SSD as well). I then exported the same job from SSD to SSD and got roughly the same performance. I then exported SSD to rotating media and got roughly the same performance. So there ya have it, SSD apparently makes no difference no matter how you play it in this specific task. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 11 10:55:01 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 11 Oct 2010 19:55:01 +0400 Subject: [dba-VB] Installing MS SQL 2005 Express on a PC with MS SQL Server 2008 R2 (v.10.50.1600) Message-ID: Hi All -- Did you ever try to install MS SQL 2005 Express "in parallel" to an MS SQL 2008 R2 (v.10.50.1600) instance already installed on the same PC? It happened that my Windows hosting provider doesn't support MS SQL 2008 R2 (v.10.50.1600) backups' restore operations, and therefore I have to use MS SQL 2005 for some of my databases. Thank you. -- Shamil P.S. Another option could be to use MS Virtual PC with a test Windows XP instance and to install MS SQL 2005 on it but I wanted to avoid this "trouble" if MS SQL 2005 Express could install fine on a PC with MS SQL 2008.... From jwcolby at colbyconsulting.com Wed Oct 13 21:43:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 Oct 2010 22:43:15 -0400 Subject: [dba-VB] SSD, Raid 0 and (apparent) bandwidth Message-ID: <4CB66E43.3080505@colbyconsulting.com> I am pulling data out of HSID (the database from hell) on database _DataHSID and writing it into tblHSID in _DataMergePurge. Basically this is an inner join between a PK table in _DataMergePurge and HSID to select the records, then write them into the table in _DataMergePurge. I have both databases on the SSD, along with their respective log files. My temp files are on another 30g SSD. The database SSDs are a pair of disks, raid 0. I don't really have available separate SSDs for the log and data files, and I figured (though by no means certain) that the SSD would be faster even reading / writing both log and data than having the log on rotating media. Disk reads / writes are in Meg BYTES / minute (not second). My read volume is running pretty consistent between 400 and 450 mB/Minute out of _DataHSID and around 3 million bytes / minute out of _DataMergePurge. Response time 1 ms in both cases. All data from Resource Monitor. CPU is running around 25% average with most of that on the 6 cores dedicated to SQL Server. Suddenly a burst of writes to the log file at about 1.8 GBytes / min. 1 hard fault / minute every once in awhile, mostly 0. 14.8 Gig memory private to SQL Server's PID 37 minutes in and it hasn't even begun to write to the destination table. TempDb is up to about 5 gigs. MergePurge_Log about 1.1G atm. Another burst write to tempdb at around 1.8G / Min. Tempdb is a single SSD directly on an SATA port on the motherboard. At about 55 minutes in, data starts to write to the destination table. Fairly massive writes to both the log and data file for mergePurge - anywhere from 500 MBytes / minute up to 1 GByte / minute. Writing about 1.2 GBytes / minute between the log and the data file. Interestingly it is not *reading* at all (right now), it must be dumping from memory? About 930 MBytes / Minute to log, 333 MBytes / min to data. At 1 hour and 10 minutes it is finished. 4890683 row(s) affected (copied from the database from hell into the MP database). BTW the destination table has an existing clustered index (PK) on the People hash and PKID - two fields as the key. The MP data file is about 4.5 gb with 0 free. The MP log file is about 6 gigs with 1.6 gigs free. The tempdb file is about 5 gigs. That was interesting to watch. I sure wish I had more memory to see how that affects the system. ATM I am running 2 dims (channels) on a CPU socket that can use 4 channels, and "only" 16 gigs total available right now. I am supposed to get 64 gigs total and another CPU with 8 cores which would make it 4 dims of 8 gigs each per cpu (all 4 memory channels going). Who knows what that would do. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 14 15:03:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 Oct 2010 16:03:47 -0400 Subject: [dba-VB] The SSD I am using Message-ID: <4CB76223.2050202@colbyconsulting.com> The following is the link to the SSD on Newegg - the model I purchased for my SQl Server. http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 This is a review that pretty much says it all. This thing is *fast*. http://benchmarkreviews.com/index.php?option=com_content&task=view&id=585&Itemid=60&limit=1&limitstart=11 -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 06:48:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 15:48:18 +0400 Subject: [dba-VB] "Converting" graphic design to HTML static design... Message-ID: <264A9C92915D4F789575C7B2D4030B23@nant> Hi All -- It's a bit off topic but if you develop ASP.NET web apps or DotnetNuke-driven sites then you might need to solve the subjec task. Yes, there are graphic designers who can do the subject work professionally and with very good quality but for some simple designs I'd prefer to do that work by myself if possible but I do not know where to look for hints - best hints I mean as the one for DNN skinning I'm referring in this post P.S. (I've recently got this invaluable link from my colleague...) In general would that be a correct assumption that there should be automatic/automated development tools, which can "cut" graphic design into a set of CSS files and a master page HTML? I'd imagine that tool should allow to set a "cut net" on top of graphic design and then "just" cut that net into css + html. And that tool should also allow I expect to "steal/get" fonts' designs if a designer will put sample words on top layer over graphic design... Something like that? Of course there should be manual work done after that graphic design cut. Is MS Expression Web a tool, which could satisfy my web design needs: http://www.microsoft.com/expression/products/Web_WhatIsExpressionWeb.aspx Thank you. -- Shamil P.S. Joe Brinkmans: DotNetNuke Skinning 101 (Part 1-5) http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2671/DotNetNuke- Skinning-101-Part-1.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke- Skinning-101-Part-2.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2694/DotNetNuke- Skinning-101-Part-3.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2782/DotNetNuke- Skinning-101-Part-4.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2811/DotNetNuke- Skinning-101-Part-5.aspx From shamil at smsconsulting.spb.ru Sat Oct 16 07:06:59 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 16:06:59 +0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Message-ID: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? From jwcolby at colbyconsulting.com Sat Oct 16 07:35:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 08:35:49 -0400 Subject: [dba-VB] Visual studio auto-generated CRUD Message-ID: <4CB99C25.1010003@colbyconsulting.com> I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 08:43:19 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 17:43:19 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs Message-ID: <5D7D35075C4B41D9B56207D367DBB729@nant> Hi All -- I'm looking how to handle the subject task - below is the list of sources I have found. I have never written URL rewriting code, did you? Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module class library DLL, which will substitute "virtual URLs" with the real ones? If I install several such HTTP Modules in what sequence they will be called? Developing SEO friendly URLs with ASP NET 2.0 http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A SP_NET_2.0.asp Writing SEO friendly url using HttpHandlers in ASP.NET http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx URL Rewriting for IIS - SEO-Friendly URLS for ASP & .Net http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as p-net/ Search Engine Friendly URLs - URL Rewriting http://www.seoconsultants.com/articles/1000/urls SEO friendly URLs with ASP.NET http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html Friendly URLs and SEO http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- URLs-and-SEO.aspx SEO Friendly URL's with IIS 7 URL Rewriter http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe writer.aspx Generate SEO friendly URL at runtime in asp net http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a spx Seo-Friendly ???? ?? ASP NET (In Russian) http://www.sergeiantonov.com/2009/05/seo-asp-net.html SEO Friendly Improvements in ASP.Net 4.0 http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A SPNet_40.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Oct 16 08:47:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 09:47:33 -0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <5D7D35075C4B41D9B56207D367DBB729@nant> References: <5D7D35075C4B41D9B56207D367DBB729@nant> Message-ID: <4CB9ACF5.5090301@colbyconsulting.com> Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sat Oct 16 10:07:44 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 19:07:44 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <<>> Yes :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 16 ??????? 2010 ?. 17:48 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of > sources I have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > Module class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > endly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > 7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > -net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > s_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil From dbdoug at gmail.com Sat Oct 16 10:19:40 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 16 Oct 2010 08:19:40 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: Saturday is usually my most productive day - no client calls! Doug 2010/10/16 Shamil Salakhetdinov > <<>> > Yes :( > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 16 ??????? 2010 ?. 17:48 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs > > Working on a Saturday? > > Sorry I can't help, but I too am working on a Saturday. 8( > > John W. Colby > www.ColbyConsulting.com > > On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > > > I'm looking how to handle the subject task - below is the list of > > sources I have found. > > > > I have never written URL rewriting code, did you? > > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > > Module class library DLL, which will substitute "virtual URLs" with the > real ones? > > If I install several such HTTP Modules in what sequence they will be > called? > > > > Developing SEO friendly URLs with ASP NET 2.0 > > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > > with_A > > SP_NET_2.0.asp > > > > Writing SEO friendly url using HttpHandlers in ASP.NET > > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > > for-as > > p-net/ > > > > Search Engine Friendly URLs - URL Rewriting > > http://www.seoconsultants.com/articles/1000/urls > > > > SEO friendly URLs with ASP.NET > > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > > > Friendly URLs and SEO > > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > > endly- > > URLs-and-SEO.aspx > > > > SEO Friendly URL's with IIS 7 URL Rewriter > > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > > 7URLRe > > writer.aspx > > > > Generate SEO friendly URL at runtime in asp net > > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > > -net.a > > spx > > > > Seo-Friendly ???? ?? ASP NET (In Russian) > > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > > > SEO Friendly Improvements in ASP.Net 4.0 > > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > > s_in_A > > SPNet_40.aspx > > > > > > Thank you. > > > > -- > > Shamil > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 16 14:48:19 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 Oct 2010 12:48:19 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <7B8EEB0FA75D4937ACC920C468E99BF0@creativesystemdesigns.com> It should be something like; "What's wrong? So you are not working Saturday and Sunday?...are you not feeeling well?" Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, October 16, 2010 6:48 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Sun Oct 17 17:29:39 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 18 Oct 2010 09:29:39 +1100 Subject: [dba-VB] Visual studio auto-generated CRUD References: <4CB99C25.1010003@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B612C@ddi-01.DDI.local> Yikes! At least you don't have to write it out yourself J Is there a limit to SQL statement size? I would prefer the parameter version for 'normal' work, less issues with data. Is there a difference in performance? Cheers Michael M From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 16 October 2010 11:36 PM To: VBA Subject: [dba-VB] Visual studio auto-generated CRUD I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1136 / Virus Database: 422/3203 - Release Date: 10/17/10 From bheid at sc.rr.com Tue Oct 19 20:33:56 2010 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 19 Oct 2010 21:33:56 -0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 In-Reply-To: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> References: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Message-ID: <000f01cb6ff6$dcf0fd10$96d2f730$@rr.com> Shamil, We have run into this some also at work. Our solution has been script the schema changes with SQL Compare (by RedGate) and if data needs to be move, move it with SQL Data Compare (also RedGate). Bobby -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 16, 2010 8:07 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 19 21:13:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 Oct 2010 22:13:56 -0400 Subject: [dba-VB] Unraid Message-ID: <4CBE5064.502@colbyconsulting.com> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an UnRaid NAS. http://lime-technology.com/ I currently use Windows Home Server but have never been happy with all aspects of what it is and does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores work, I have had restores fail to work. When they refuse to restore I have just utterly failed to force that restore to ever work. I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other absolutely refuses to see the WHS server. Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you are rolling dice when you do your backups. WHS has never had that 100% reliability for me. So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. We shall see how this goes but it certainly looks promising. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Tue Oct 19 21:18:18 2010 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 19 Oct 2010 19:18:18 -0700 Subject: [dba-VB] Unraid In-Reply-To: <4CBE5064.502@colbyconsulting.com> References: <4CBE5064.502@colbyconsulting.com> Message-ID: Three 1GB drives? What did that set you back, $2.99? Sorry, I couldn't resist :) Doug On Tue, Oct 19, 2010 at 7:13 PM, jwcolby wrote: > I got a good deal on three 1GB Samsung drives the other day, and as a > result I am about to launch an > UnRaid NAS. > > http://lime-technology.com/ > > I currently use Windows Home Server but have never been happy with all > aspects of what it is and > does. I absolutely love the way that it backs up computers, with the > sector copy / compare. Cool > technology. Unfortunately my experience has seen an abysmal restore > scenario. I have had restores > work, I have had restores fail to work. When they refuse to restore I have > just utterly failed to > force that restore to ever work. > > I have the same experience with the backup. 9 of 10 of my machines restore > faithfully, the other > absolutely refuses to see the WHS server. > > Backups have to be 100% absolutely reliable and restores have to be 100% > absolutely reliable or you > are rolling dice when you do your backups. WHS has never had that 100% > reliability for me. > > So I am about to take down my WHS in favor of an UnRaid NAS and plain old > backup software. > > We shall see how this goes but it certainly looks promising. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Oct 20 05:11:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 06:11:49 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: <4CBE5064.502@colbyconsulting.com> Message-ID: <4CBEC065.5010106@colbyconsulting.com> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a >> result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all >> aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the >> sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore >> scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have >> just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore >> faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% >> absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% >> reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old >> backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 20 05:59:26 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 12:59:26 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: http://www.iscsicake.com/ Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 12:11 >>> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 20 07:07:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 08:07:11 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: Message-ID: <4CBEDB6F.8090105@colbyconsulting.com> Gustav, > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. UnRaid is not a simple file share, but rather simple file share on top of a fairly low cost storage pool based "raid like" NAS system. It is similar to WHS in that it allows you to just add any old drive and have it added to the storage pool, but unlike WHS it does not use 2X drives for X storage. Beyond that it is just a NAS. I have never used it but it gets good reviews. As you probably know, everybody does RAID, but every raid that I have ever seen (other than UnRaid) requires manually matching drives, manually setting them up etc. Unraid (and WHS) allow you to just drop in a new drive and it gets added to the storage pool automatically. You can have hot spares and all that. I have all of my family photos, music and videos as well as all of my software source disks on WHS at the moment. The problem is that I have 3 gigs of video that is unprotected and in order to protect it I would need to do a raid or throw up my hands and give WHS its 2X storage. Or just go build a NAS specifically designed to do this. The only NAS I have found that doesn't make you do the (learn-how-to) Build-a-raid shuffle is UnRaid. If there are others I am all ears. I am not a Linux geek, nor a NAS geek and I don't wanna have to be one. One of the promises of WHS was that you could just plug in a new drive when you need more storage. No thinking, no figuring out how it all works. Free is good, but any time I have to spend on it counts against the "free". > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. That sounds fascinating, but what I am doing now is just for my home stuff. Not to mention iSCSI appears to cost money plus tie up a windows license as the host. If I needed that stuff then fine, but I don't. John W. Colby www.ColbyConsulting.com On 10/20/2010 6:59 AM, Gustav Brock wrote: > Hi John > > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? > > Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. > > Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. > Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: > > http://www.iscsicake.com/ > > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. > > /gustav From Gustav at cactus.dk Wed Oct 20 07:41:02 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 14:41:02 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John OK, didn't realize this was home stuff only. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 14:07 >>> That sounds fascinating, but what I am doing now is just for my home stuff. From jwcolby at colbyconsulting.com Thu Oct 21 07:39:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 Oct 2010 08:39:55 -0400 Subject: [dba-VB] Unraid is (mostly) working Message-ID: <4CC0349B.3070701@colbyconsulting.com> Man Linux is *so* much fun. ;) UnRaid is a bare bones application that does exactly what it advertises. Getting the boot flash disk built and booting is a no brainer. For windows users, anything after that is not. But we persist and eventually get there. I now have a system with 4x 1 TB disks for storage and a 1.5TB disk for parity. Because the parity drive has to be as large as the largest data disk, and because I had two 1.5 TB disks and wanted to be able to use them in the UnRaid server, and because both were full of video, I had to figure out how to do things that you wouldn't normally have to do - run without parity long enough to empty one of the parity disks, then slide that (now empty) disk in as the parity disk. But in the end it worked and I now have 4x 1TB data disks and a 1.5Tb parity disk. There is data on one of the TB data disks unprotected until the parity build finishes in about 8 hours. Once the parity build finishes I will copy the data from the other 1.5 TB disk onto the UnRaid data disks and then drop that last 1.5 TB disk into the UnRaid. At that time I will have all 6 of my motherboard's SATA ports filled - Parity and 5 data drives. Beyond that I will need to find an add-in card with more SATA ports. It appears that the community uses this card: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101358&Tpk=Supermicro%20AOC-SASLP-MV8 which provides an additional 8 ports and apparently just works. I do have a ton of 640 GB drives which I could drop in if I need the storage but near term I do not. Long term I will probably use this as backup storage - backup of my computers around the house / office as well as near line backup for the SQL Server. So I am close to having a usable UnRaid NAS, just waiting for the parity calcs to finish. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Oct 22 15:36:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 Oct 2010 16:36:27 -0400 Subject: [dba-VB] New system building an order Message-ID: <4CC1F5CB.5050706@colbyconsulting.com> Today I received another 16 GB ram and put in the SQL server. I now have a single CPU / 8 cores and 32 gigs of memory. I assigned 27 Gigs to SQL Server and left 5 to the system. I decided to test the new server building a moderately complex order. This order pulls about 5 million OrderData records from a series of views. _DataAllAdults.tblAllAdultsNameAddr table has a clustered index on the PKID and an NameAddress cover index which covers all of the name / address fields as well as the gender and AddressValid flag. vAllAdults selects records from that table which have specific codes in the ValidAddr vield. vAllFemales selects records from vAllAdults where the gender is 'F'. _DataHSID holds the database from hell, the tblHSID with ~50 million records with ~600 fields. Ut has a variety of cover indexes on it which cover specific groups of fields. vHSIDOrderCriteria joins vAllFemales and the DataHSID.tblHSID on the PKHSID, and uses a where clause which selects specific values from specific fields. Under most circumstances I just edit and save vHSIDOrderCriteria to select the correct HSID fields / values to pull the desired records. I then run an external C# program which dynamically builds the tblOrderData using the field list from vHSIDOrderCriteria (which obviously changes from order to order) and then populates that temp table with the data pulled using vHSIDOrderCriteria. In this case, ~5 million records were selected and stored in tblOrderData. This is the first time ever that I have had more than 2 cores and about 12 gigs of memory to use to run the order. I do not have any timing information for past runs. However what I observed is that processing the order caused all 6 cores assigned to SQL Server to almost max out for the first part of the order process. It wasn't flat line at the top but it was in the 90+ % utilized for all 6 cores, for part of the time - perhaps 40% of the duration. The rest of the time it maxed out a single core. and partly used another. And it used 29+ gigs of memory during use. This order process is the first step in processing an order and takes awhile to complete. I now have _DataAllAdults and _DataHSID on SSD. This is the first time I have ever seen all six cores close to max. No promises, but just out of curiosity I am going to try and "recreate" the old system, with a copy of _DataAllAdults and _DataHSID on rotating media, assign 12 gigs of memory as in the "olden days" and then do a simple stopwatch timing of the two. It really won't be even close to the old system because the old CPU was a quad core at 3 GHZ and this one is 8 cores at 2 GHZ. In the old system I assigned 2 cores to SQL Server, and it would often max out both cores. This one I am assigning 6 cores and it runs about 9% of all six cores at times. None the less it should give a feeling for the relative speed with all the changes. Because of the way I layer the views it should be fairly easy to build a copy database and then modify two specific views to point to the copy of data on rotating media. After that it is really just a matter of running it twice, once for each order database copy. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Oct 23 10:35:44 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 23 Oct 2010 11:35:44 -0400 Subject: [dba-VB] Backing up Windows 2008 Message-ID: <4CC300D0.8060700@colbyconsulting.com> I need to do a system disk backup for Windows. I am probably going with Acronis home for all of my non-server machines, however they want something like $500 / machine for server licenses. While I am sure it is worth it, I just don't have that kind of cash just to get a backup. I have never used the Windows built-in backup but it seems that it does exist. Has anyone here used it? Restored from it? Easy / hard? Potential issues? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Thu Oct 28 09:20:03 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 18:20:03 +0400 Subject: [dba-VB] PDC10 Online Message-ID: Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Oct 28 11:09:45 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 20:09:45 +0400 Subject: [dba-VB] PDC10 Online In-Reply-To: References: Message-ID: <67CD8947AA5B409695739A715E287081@nant> It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 28 15:48:58 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 13:48:58 -0700 Subject: [dba-VB] PDC10 Online In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: Shamil: Took an hour out and the improvements and new features added to C# and VB.Net are impressive...asynchronization is assume for webaps and being able to effortlessly convert from VB.Net to C# and back a nice touch. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 28, 2010 9:10 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] PDC10 Online It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 29 00:20:46 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 22:20:46 -0700 Subject: [dba-VB] A simple colorative online editor In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: <8E5E797389694C0BA6FCA62D067ED8BD@creativesystemdesigns.com> Here is a simple online tool for a couple of people doing a real-time colabrative programming effort. There is nothing fancy, no IDE or compiling but it does do layout and editing and does support a number of languages. http://gigaom.com/collaboration/ethercodes-online-collaborative-code-editing / Have fun Jim From shamil at smsconsulting.spb.ru Fri Oct 29 04:05:14 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:05:14 +0400 Subject: [dba-VB] Unspecified Error Message-ID: <7F8D0C7655D5471EB95E936157B6DF29@nant> Hi All -- After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using .mdb files as backend I'm getting the following runtime error: Exception -> Unspecified error StackTrace -> at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OleDb.OleDbConnection.Open() at NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, Boolean filterOutUninitializedRows) It looks like this is an OleDbProvider bug. Have you seen/experienced something like that? Context: 1. I do exclusively use using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } 2. I do use IN clause in some select SQL expressions to point to external MDB tables. I guess the issues is caused by case (2). Although that's still a hypothesis here to check (some code fixes are needed in the core code of my application, and I'm considreing now will that be worth fixing, or I should better switch to MS SQL backend.) Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Oct 29 04:09:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:09:08 +0400 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Hi All -- Did you work with MS SQL Server 3.5 Compact edition? http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx Will that work with MS SQL Server 2008 R2 databases? How do you distribute your application using MS SQL Server 3.5 Compact edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is on Internet but I have never worked with it and I hope you have some hints to get up&running here ASAP) Thank you. -- Shamil From jwcolby at colbyconsulting.com Fri Oct 29 05:31:22 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 06:31:22 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <7F8D0C7655D5471EB95E936157B6DF29@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> Message-ID: <4CCAA27A.1090007@colbyconsulting.com> I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using > .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption > s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon > nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection > outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat > ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, > Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to external > MDB tables. > > I guess the issues is caused by case (2). Although that's still a hypothesis > here to check (some code fixes are needed in the core code of my > application, and I'm considreing now will that be worth fixing, or I should > better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 08:59:41 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 17:59:41 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAA27A.1090007@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> Message-ID: <719F586C923F4CAA86593EBD5183F34A@nant> Hi John -- Thank you for your reply. I guess "connections leaking" happens in my case because of the usage of IN clause and because of bug in OleDbProvider happening in that context: "automatic connection" opened somewhere inside OleDbProvider isn't getting closed - something like that.... In general when you use: using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } then there is no "connections leaking" - GC works well. The same is true for SQL Server data provider also. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 14:31 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application > using .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnection > Option s options, Object poolGroupProviderInfo, DbConnectionPool pool, > DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection > (DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnectio > n > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectio > n outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEn > umerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean > setupInProgress, Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to > external MDB tables. > > I guess the issues is caused by case (2). Although that's still a > hypothesis here to check (some code fixes are needed in the core code > of my application, and I'm considreing now will that be worth fixing, > or I should better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 09:23:08 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 10:23:08 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <719F586C923F4CAA86593EBD5183F34A@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> <719F586C923F4CAA86593EBD5183F34A@nant> Message-ID: <4CCAD8CC.1030005@colbyconsulting.com> Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage of IN > clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't getting > closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an issue > where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. Basically the > garbage collector runs when it thinks it needs to. If you don't force a > cleanup of non-native (to .Net) objects such as SQL Server connections, then > the GC doesn't know it needs to clean up and doesn't do so. I had to build > a dispose method for my classes and intentionally call that dispose method > as the class was closed, which forced the GC to release the non-native > objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Fri Oct 29 09:55:50 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 18:55:50 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAD8CC.1030005@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant> <4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi John -- Did you consistenly use the following code block when working with MS SQL Connections? using (SqlConnection cnn = new SqlConnection("{{mySQLBackendConnectionStringHere}}")) { cnn.Open(); ... } When such block is used then Dispose is called "automagically" AFAIK: I have developed a large ASP.NET application with MS SQL backend - and I have never had SQL connections leaks with it Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 18:23 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage > of IN clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't > getting closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an > issue where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. > Basically the garbage collector runs when it thinks it needs to. If > you don't force a cleanup of non-native (to .Net) objects such as SQL > Server connections, then the GC doesn't know it needs to clean up and > doesn't do so. I had to build a dispose method for my classes and > intentionally call that dispose method as the class was closed, which > forced the GC to release the non-native objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 12:43:38 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 21:43:38 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 12:55:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 13:55:55 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: <4CCB0AAB.400@colbyconsulting.com> Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName > FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId > ORDER BY Order.OrderDate DESC > - ************* TEST SQL **************** - > 29/10/2010 21:36:31: 1. ThreadCount = 9 > 29/10/2010 21:36:32: 2. ThreadCount = 18 > 29/10/2010 21:36:32: 3. ThreadCount = 21 > 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 > 29/10/2010 21:36:33: 6. ThreadCount = 33 > 29/10/2010 21:36:34: 7. ThreadCount = 36 > 29/10/2010 21:36:34: 8. ThreadCount = 38 > 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 > 29/10/2010 21:36:35: 11. ThreadCount = 36 > 29/10/2010 21:36:36: 12. ThreadCount = 40 > 29/10/2010 21:36:36: 13. ThreadCount = 44 > 29/10/2010 21:36:36: 14. ThreadCount = 46 > 29/10/2010 21:36:37: 15. ThreadCount = 45 > 29/10/2010 21:36:37: 16. ThreadCount = 52 > 29/10/2010 21:36:37: 17. ThreadCount = 57 > 29/10/2010 21:36:38: 18. ThreadCount = 61 > 29/10/2010 21:36:38: 19. ThreadCount = 60 > 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:39: 23. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:40: 26. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 > 29/10/2010 21:36:41: 28. ThreadCount = 64 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:42: 30. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 > StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 > OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 > Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:01:22 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:01:22 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <612CE7EB7DB648B3B81010F896E0CE3A@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is > on Internet but I have never worked with it and I hope you have some hints > to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 13:08:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:08:37 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCB0AAB.400@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> Message-ID: <811AE90316074521B84BCB781FD6BCC7@nant> Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 21:56 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId ORDER BY > Order.OrderDate DESC > - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. > ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 > 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. > ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 > 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. > ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 > 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = > 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. > ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 > 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = > 60 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. > ThreadCount = 64 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 > 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, > ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> From shamil at smsconsulting.spb.ru Fri Oct 29 13:13:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:13:18 +0400 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Thank you, David, But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or SQL Server CE 3.5 SP1 databases are just the ones created and managed within Visual Studio solutions and then distributed together with such a solution setup kit? (I have never used SQL Server CE) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 29 ??????? 2010 ?. 22:01 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SQL Server Compact 3.5 I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based > apps is on Internet but I have never worked with it and I hope you > have some hints to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 13:23:00 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:23:00 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <811AE90316074521B84BCB781FD6BCC7@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> <811AE90316074521B84BCB781FD6BCC7@nant> Message-ID: <2B3723BF3279424DB024D49342954CD5@nant> Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 13:30:50 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 14:30:50 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? Message-ID: <4CCB12DA.2090404@colbyconsulting.com> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture overruns. I need to know what is possible to do with EBay automation of: 1) Placing the listing 2) Monitoring the listing 3) Understanding if payment has been received (paypal only for now) 4) Tracking fees etc. 5) Everything I haven't even thought of. Is anyone in this group doing this? -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Fri Oct 29 13:53:15 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:53:15 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Message-ID: Yes, you can (and I do) use Click Once bootstrap to set up SQL CE. I like the one I wrote better than some of the ones that I found because it works with our users and business rules. I can send you the XML files off line if you want. You can make Bootstrappers to define prerequisites for your custom include files as well. If they don't exist, download and install them :) You can make bootstrappers for MSIs as well as for Click Once, if you prefer to create a MSI installer package. >From the Solution Explorer, go to your project's Setup Properties page, click on the "Prerequisites..." button and check the ones that you need. You obviously had to put your custom ones in the required path first to get them to display on this list. Copy Bootstrapper file(s) to: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages so Visual Studio 2008 can see them The thing that I still don't like about ClickOnce is if you put out an update and don't make it a required update and the user clicks "No" when prompted, they never get prompted again (it should have a choice for the prompt, like "not this time" or "Don't remind me"). I simply make every update required :). They are very quick. It is very similar to launching a batch file and copying over an mdb if needed. The other thing that I do is keep a copy of all of my MS required files on our servers and make our bootstrappers point to our servers rather than MS. I don't want MS changing a link on me, or replacing a file with a newer version (without us first testing it) then breaking my app. They tend to do that in the CE world. To tell you the truth I don't remember where I've created my SDFs from. I've converted older SDFs to the current format using this function: Private Sub UpdateSDF() UpDateCaption("Updating SDF: Converting SDF from SQL CE 3.0 to 3.5") 'Physically update the SDF from SQLCE3.0/3.1 to 3.5 Dim engine As SqlServerCe.SqlCeEngine = New SqlServerCe.SqlCeEngine("Data Source=" & MomsUpdPath & SDFfile) engine.Upgrade("Data Source=" & MomsUpdPath & SDFfile & ";") SdfHasBeenModified = True End Sub You won't be able to actually upload data, or get far in the app without an iPAQ device connected, but If you'd like to see how the app runs and sets up the prereqs, you can go here and run the setup.exe: http://momsupdate.mocproducts.com/MomsClickOnce/setup.exe Prior to finding out how to do all of this, we had several setup files. One for XP, One for 32bit Vista/7, another for 64 bit. Now everything is all done with one setup. So much more nicer. :) On Fri, Oct 29, 2010 at 11:13 AM, Shamil Salakhetdinov wrote: > Thank you, David, > > But for Click-Once is a PITA to have some custom files installed together > with application? (I have many such files). > > So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. > > Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or > SQL Server CE 3.5 SP1 databases are just the ones created and managed within > Visual Studio solutions and then distributed together with such a solution > setup kit? (I have never used SQL Server CE) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: 29 ??????? 2010 ?. 22:01 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] SQL Server Compact 3.5 > > I used it on Mobile devices. > > I developed a ClickOnce VB.Net Launcher app that our users run to copy the > SDF from the mobile device over to the PC. > > The VB app then pulls datasets (invoices) from the SDF using ADO.Net and > passes them to a web service. Different datasets (customer updates, New > "wishlist orders", Item updates) are also returned via the web service and > inserted into the SDF. The SDF is then copied back to the mobile device. > > Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly > via my app. > > I had to write some custom Bootstrappers to detect if the correct > prequisites were installed. > > The prerequisites are: > Windows Installer 3.1 > .Net Framework 3.5 SP1 > MS ActiveSync 4.5 (if using WinXP) > Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device > Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE > 3.5 SP1 (X64) > > I didn't like Click once at first as I thought it was very limited. > After finding out about writing Bootstrappers, I was much more happier with > it. > > > On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov > wrote: >> Hi All -- >> >> Did you work with MS SQL Server 3.5 Compact edition? >> http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx >> >> Will that work with MS SQL Server 2008 R2 databases? >> How do you distribute your application using MS SQL Server 3.5 Compact >> edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based >> apps is on Internet but I have never worked with it and I hope you >> have some hints to get up&running here ASAP) >> >> Thank you. >> >> -- >> Shamil >> >> >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:58:31 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:58:31 -0700 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB12DA.2090404@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: No, but I've been wanting to. Keep us/me updated on your findings ;) On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: > I live in the old "furniture center" of the US. ?I have a business opportunity to ebay furniture > overruns. ?I need to know what is possible to do with EBay automation of: > > 1) Placing the listing > 2) Monitoring the listing > 3) Understanding if payment has been received (paypal only for now) > 4) Tracking fees etc. > 5) Everything I haven't even thought of. > > Is anyone in this group doing this? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 14:08:47 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 23:08:47 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <2B3723BF3279424DB024D49342954CD5@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com><811AE90316074521B84BCB781FD6BCC7@nant> <2B3723BF3279424DB024D49342954CD5@nant> Message-ID: <1FDF1785FAC54A64A8FD9942E31699E8@nant> Hi All -- When no linked tables used then it still fails after 69633 runs :( TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7733. ThreadCount = 70 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7734. ThreadCount = 72 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7735. ThreadCount = 75 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:24: 7736. ThreadCount = 79 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:25: 7737. ThreadCount = 75 StartTime = 29/10/2010 21:59:33, EndTime = 29/10/2010 22:42:25 OK, TotalCount = 69633, ElapsedTime = 0.7142 hours, ErrCount = 32 Definitedly I have to switch this application to MS SQL CE backend... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:23 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 14:11:00 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 15:11:00 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: <4CCB1C44.9020708@colbyconsulting.com> As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From mikedorism at verizon.net Fri Oct 29 15:43:39 2010 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Oct 2010 16:43:39 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB1C44.9020708@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: Have you considered just using the Excel plug-in http://pages.ebay.com/Excel_Plugin/ Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, October 29, 2010 3:11 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 16:21:26 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:21:26 +0200 Subject: [dba-VB] Unspecified Error Message-ID: Hi Shamil Nasty. Does this happen as well if you use DataTable adapters? /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 19:43 >>> Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil From gustav at cactus.dk Fri Oct 29 16:23:52 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:23:52 +0200 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: Hi Shamil Yes. You can with a little efforts even install fonts - I have posted about this a couple of times. /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 20:13 >>> But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). From jwcolby at colbyconsulting.com Fri Oct 29 19:07:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 20:07:49 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: <4CCB61D5.8010703@colbyconsulting.com> Why did the "developer" develop his database in Excel? 'Cause he didn't know how to use Word. ;) John W. Colby www.ColbyConsulting.com On 10/29/2010 4:43 PM, Doris Manning wrote: > Have you considered just using the Excel plug-in > > http://pages.ebay.com/Excel_Plugin/ > > Doris Manning From Gustav at cactus.dk Fri Oct 1 11:47:04 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 18:47:04 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Composite C1 now open source In-Reply-To: References: Message-ID: <2D1FA6E3AFF048B5B1D788313F6F7E33@nant> Thank you, David :) No, I didn't get scared off that much from the subject source code - I just don't see why should I (and others) spend their time "digging through" such an advanced code... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, October 01, 2010 1:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Composite C1 now open source Wow, if Shamil is scared off, I don't think I want I'd want to take a look at it either! I didn't think there was any code to scare off Shamil. :) On Thu, Sep 30, 2010 at 1:53 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > I have got Composite C1 sources downloaded. > And I have got Composite C1 solution opened in VS2010. > And I have looked through the source code. > I must note it looks so advanced - I mean I can't get where to start > "digging through" this code to understand what it's doing. > And developer's docs are missing(?). > I suppose I should better stay away from this code - back to DNN: at least > when looking through DNN modules' code it's rather clear how they are > organized, what they do - and there is no need in almost any developer's > docs... > > -- Shamil > > P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? > As far as I have got from my experience during my short staying there this > summer Copenhagen should be called rainy not sunny? :) <<< skipped >>>> From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <253559A9FA124B0AB31408517EB1E461@nant> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 16:48:01 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 23:48:01 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav >>> shamil at smsconsulting.spb.ru 01-10-2010 23:12 >>> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 17:10:36 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:10:36 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> From hkotsch at arcor.de Fri Oct 1 17:19:58 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 00:19:58 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From shamil at smsconsulting.spb.ru Fri Oct 1 17:39:46 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:39:46 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From hkotsch at arcor.de Sat Oct 2 04:54:41 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 11:54:41 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Oct 2 06:56:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 15:56:08 +0400 Subject: [dba-VB] OT: Altweibersommer/Babje Leto/Indian Summer - Was: RE: CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <29A00FFD50A4409AA0DFA10A918EEF67@nant> Hi Helmut -- I have checked some Russian sources here: http://evolutsia.com/content/view/1194/26/ http://www.onlinedics.ru/slovar/brok/b/babje.html http://novaya.com.ua/?/articles/2009/09/15/140448-13 and I have found ???? they give several explanations of "Babje Leto" expression's etymology: the main one corresponds to yours - this season a lot of thin gossamers(?) are floating in the air here - like the hairs of an "old woman"... <<< do you have also an ancient word for weaving that translates into old women? >>> I have checked one of the main dictionaries here to get etymology of this expression: http://www.slova.ru/article/676.html No, there is no any relations to an ancient word for weaving: "Babje Leto: Indian Summer, Webspinner, web, flying in the autumn in the fields and forests; its abundance heralds dry autumn." (????? ????, ????????, ???????, ???????? ?????? ?? ????? ? ?????; ?????? ?? ?????????? ????? ?????.) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 1:55 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From accessd at shaw.ca Sat Oct 2 19:08:50 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 2 Oct 2010 17:08:50 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 23:27:52 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 00:27:52 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: <4CA80648.7050300@colbyconsulting.com> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:07:34 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:07:34 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA80648.7050300@colbyconsulting.com> References: <4CA80648.7050300@colbyconsulting.com> Message-ID: <1ACA585D67B947C486397FBD73F78470@nant> Hi John -- Maybe this tool http://www.starwindsoftware.com/converter mentioned here by Gustav in "Re: [dba-VB] Installing VS2010 on a PC with VS2008 SP1" thread will be helpful for you? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 8:28 AM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] running virtual machines in Windows 2008 I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:13:27 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:13:27 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> From gustav at cactus.dk Sun Oct 3 08:27:00 2010 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 03 Oct 2010 15:27:00 +0200 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: Hi John The converter which I and Shamil posted a link for should work. But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. /gustav >>> jwcolby at colbyconsulting.com 03-10-2010 06:27 >>> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 3 10:18:53 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 11:18:53 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: References: Message-ID: <4CA89EDD.5040403@colbyconsulting.com> Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From shamil at smsconsulting.spb.ru Sun Oct 3 11:19:57 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 20:19:57 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA89EDD.5040403@colbyconsulting.com> References: <4CA89EDD.5040403@colbyconsulting.com> Message-ID: John -- XenServer seems to be able to make VMWAre VM conversion to its VM format: How to Convert VMware Virtual Machines to XenServer Virtual Machines http://support.citrix.com/article/CTX116603 http://downloadns.citrix.com.edgesuite.net/akdlm/4814/XenConvertGuide.pdf I must note I have never used that XenConvert utility, nor did I use XenServer... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 7:19 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] running virtual machines in Windows 2008 Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From accessd at shaw.ca Mon Oct 4 11:56:25 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 4 Oct 2010 09:56:25 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 13:39:43 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 14:39:43 -0400 Subject: [dba-VB] New Server Message-ID: <4CAA1F6F.3070606@colbyconsulting.com> Last week late and over the weekend I brought up the new server. That is a *lot* of work! The server consists of: 1 Norco 4020 case http://www.newegg.com/Product/Product.aspx?Item=N82E16811219021 1 Corsair 750W modular PS http://www.newegg.com/Product/Product.aspx?Item=N82E16817139010 1 Asus KGPE-D16 Dual Socket G34 motherboard http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 1 AMD Opteron 6128 8 core processor http://www.newegg.com/Product/Product.aspx?Item=N82E16819105266 2 Kingston 8GB 240-Pin DDR3 SDRAM http://www.newegg.com/Product/Product.aspx?Item=N82E16820139140 3 OCZ Vertex 2 OCZSSD2-2VTXE120G SSD http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 Windows *Server* 2008 Enterprise ;) SQL Server 2008 Enterprise Visual Studio 2008 Visual SVN One of the SSD drives is the boot drive, the other two will be for specific database files (raid 0). So essentially ATM the server is 8 cores and 16 gigs of RAM. Coming next another 8 core processor and another 16 gigs of RAM, to be followed by a final 32 gigs of RAM. Of course in typical fashion, not thinking about what I was doing, I moved the RAID controller and the drives over to the new server only to discover that I had not detached the databases and they would not attach. So I had to bring the old server back up, move the database files back over, attach and detach them, then move the files back to the new server, whereupon they all attached as expected. So as of this AM, the new server is up and functioning, with my SVN server / repository, and all databases functioning. I am planning on moving a couple of my main databases to the SSDs Raid 0 array. These are read-only databases, I do not write to them under normal circumstances. I will keep a current backup in case the Raid 0 array fails, but will work with them from the Raid 0 array on a daily basis. Having the main working databases on SSDs in a Raid 0 configuration, as well as more cores and more memory should allow me to do some of what I do in a much faster time frame. I do a lot of PK (autonumber) joins between tables, pulling multi-million record sets with data from each of the tables. I am hoping that this kind of processing will be much faster than when the source disks were on rotating media. We shall see. I still have the old server and will use it to run the test on rotating media, while doing an identical test on SSD on the new server. Of course I will not be testing just the effect of the SSD but rather the total speed increase of the entire system. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 4 14:20:22 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 4 Oct 2010 23:20:22 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: <1562F91B71894A4CB3A370FBDA90BFAC@nant> Jim -- Was that DNN v.5.x? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, October 04, 2010 8:56 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 16:16:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:16:33 -0400 Subject: [dba-VB] Apples to Oranges Message-ID: <4CAA4431.5020903@colbyconsulting.com> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 drive) Raid 0. There is a clustered index on the PK as the index key. There is no index on the FieldX, forcing a field scan. I did a simple count PK Group By FieldX on both database files. The SSD returned the counts in 1:31 The rotating media returned the counts in 8:58 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Oct 4 16:36:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:36:49 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA4431.5020903@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> Message-ID: <4CAA48F1.20008@colbyconsulting.com> With an index, both databases took 2 seconds to return the results. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:16 PM, jwcolby wrote: > I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 > drive) Raid 0. > > There is a clustered index on the PK as the index key. > There is no index on the FieldX, forcing a field scan. > > I did a simple count PK Group By FieldX on both database files. > > The SSD returned the counts in 1:31 > The rotating media returned the counts in 8:58 > From jwcolby at colbyconsulting.com Mon Oct 4 17:05:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 18:05:13 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA48F1.20008@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> <4CAA48F1.20008@colbyconsulting.com> Message-ID: <4CAA4F99.8000805@colbyconsulting.com> One pass of the query that updates the ' ' (space) to null value takes about 5 minutes on the SSD, whereas it takes about 30 minutes minutes on rotating media. I am not pursuing actually doing this on the SSD over nagging concerns about hot spot wear. However a actually need to do this for about 540 fields. At 1/2 hour / field... this will be running for the next month. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:36 PM, jwcolby wrote: > With an index, both databases took 2 seconds to return the results. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:16 PM, jwcolby wrote: >> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 >> drive) Raid 0. >> >> There is a clustered index on the PK as the index key. >> There is no index on the FieldX, forcing a field scan. >> >> I did a simple count PK Group By FieldX on both database files. >> >> The SSD returned the counts in 1:31 >> The rotating media returned the counts in 8:58 >> From stuart at lexacorp.com.pg Mon Oct 4 17:39:23 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Oct 2010 08:39:23 +1000 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA4F99.8000805@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> Message-ID: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> At 1/2 hour / field, it should only take about 11.25 days :-) But my question is, do you have to do it a single field at a time? can't you update all the fields in a single pass? Something like: Update mytable set field1 = case field1 when " " then Null else field1 end, field2 = case field2 when " " then Null else field2 end, field3 = case field3 when " " then Null else field3 end, ... -- Stuart On 4 Oct 2010 at 18:05, jwcolby wrote: > One pass of the query that updates the ' ' (space) to null value takes > about 5 minutes on the SSD, whereas it takes about 30 minutes minutes > on rotating media. > > I am not pursuing actually doing this on the SSD over nagging concerns > about hot spot wear. > > However a actually need to do this for about 540 fields. At 1/2 hour > / field... this will be running for the next month. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:36 PM, jwcolby wrote: > > With an index, both databases took 2 seconds to return the results. > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 10/4/2010 5:16 PM, jwcolby wrote: > >> I On the new server, have the same database on my SSD (two drive) > >> raid 0 and a rotating media (2 drive) Raid 0. > >> > >> There is a clustered index on the PK as the index key. > >> There is no index on the FieldX, forcing a field scan. > >> > >> I did a simple count PK Group By FieldX on both database files. > >> > >> The SSD returned the counts in 1:31 > >> The rotating media returned the counts in 8:58 > >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Mon Oct 4 19:07:39 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 20:07:39 -0400 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> Message-ID: <4CAA6C4B.8060901@colbyconsulting.com> Uhh... I don't know. But I am guessing it would take me about 11.25 days to write the sql statement. ;) John W. Colby www.ColbyConsulting.com On 10/4/2010 6:39 PM, Stuart McLachlan wrote: > At 1/2 hour / field, it should only take about 11.25 days :-) > > But my question is, do you have to do it a single field at a time? can't you > update all the fields in a single pass? Something like: > > Update mytable set > field1 = case field1 > when " " then Null > else field1 > end, > field2 = case field2 > when " " then Null > else field2 > end, > field3 = case field3 > when " " then Null > else field3 > end, > ... > From mikedorism at verizon.net Tue Oct 5 08:00:04 2010 From: mikedorism at verizon.net (Doris Manning) Date: Tue, 05 Oct 2010 09:00:04 -0400 Subject: [dba-VB] Contract Management template Message-ID: Please forgive the cross post but.Does anyone happen to have a basic Contract Management template that they wouldn't mind sharing or know of a good low cost source for one? We need to be able to track Expiration date, Service Level, Terms, Contacts, Options on renewal, and Cost. Being able to handle or track Document Storage would also be a big plus. I would design it myself but I'm swamped with more requests than I can handle and am just looking for something I can put in place quickly and fix as we go. Back end needs to be SQL Server 2000. Front end can be either desktop or web-based. Thanks, Doris Manning Sr. Developer/Database Administrator Hargrove Inc. www.hargroveinc.com From Johncliviger at aol.com Wed Oct 6 11:17:45 2010 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 6 Oct 2010 12:17:45 EDT Subject: [dba-VB] Control handles Message-ID: <67a8a.5045b1a1.39ddfb29@aol.com> Hi all I'm using vb2005 win forms and I have around 30 command buttons on a form (where else). I use the Click event to fire a procedure. Rather that have the code for each command button, I've added to the end of the first command button click event multiple handles, one for each cmd button. so I have Private Sub Button1_Click(sender etc., e etc.,) Handles Button1.click, Button2.click and so on... End Sub I think this is a bit clunky. Is there a better way? TIA john cliviger From jwcolby at colbyconsulting.com Wed Oct 6 11:23:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 12:23:28 -0400 Subject: [dba-VB] Multi-core madness Message-ID: <4CACA280.9070302@colbyconsulting.com> I have never had more than 4 cores at my disposal. On the old (SQL) server I had two cores dedicated to SQL Server. On the new system I currently have 8 cores total and 6 of those dedicated to SQL Server. In the past I would do things like build a multi-field index on a 50 million record table and it would max out the two cores. I pretty much couldn't do anything else. Today I am building multi-field indexes on an "off-line" copy of my database from hell. Task manager tells me it is using about 40% of the total processor power, however the two cores dedicated to the system are not doing much. The other 6 cores are chugging away somewhere (visually) just under 50%. I needed to BCP (using the internal export wizard) about 30 million PKs and email addresses to a csv file. When I started that running, Task manager informed me that I was using just under 60% of the available processor power, but the first two cores (dedicated to Windows) started chugging away, presumably doing file IO and the like. My 6 SQL Server cores jumped up to around 65%. BTW, the export process ripped it out pretty darned fast. I didn't time it but the total took a minute or so. So I was able to get two tasks going, and still had plenty of horsepower left over. I then installed the 64 bit WinRar, which can use multiple threads, and had it compress the resulting text file as SQL Server continued building indexes. All very smooth. If I get no "bandwidth complaints", I will continue to post occasional emails regarding how long it takes to do stuff vs the old server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:20:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:20:14 -0400 Subject: [dba-VB] Apples to oranges - take 2 Message-ID: <4CAD2E5E.20101@colbyconsulting.com> OK, so I have two databases, each with a single table. BTW, these are two of my main tables, used all of the time in orders. HSID - otherwise known as the database from hell, 51157068 records, ~560 fields. HSIDAllAdults is a database where up to three adult names were lifted out of fields in HSID and placed in a table with a PK_HSID field pointing back to the HSID record from which the information came. Thus HSIDAllAdults is child to HSID in a manner of speaking (has a FK back to the PKID from HSID). HSIDAllAdults has about 67564677 million records, 27 fields. Each table has a PKID which is autonumber and a unique clustered index on the PKID. HSID is demographic information such as income bracket, ChildInAgeGroup_XXX, HasDog etc. and has a handful of indexes on the most commonly used demographics fields. HSIAllAdults has name / address / gender / position (in HSID) fields and has three indexes on it - NameAddr, Hash and one other. So... I have a copy of each of these databases on rotating media. I then backed up the rotating media file and restored on the SSD, so I have a copy of each database in two places. I do this BTW because the SSD is a Raid 0 as well as SSD, and I am worried that if I do too much writing on the SSD I will wear it out - as in hot spot updates due to index updates etc. Thus I will be doing maintenance on the rotating media and just copying the resulting db out to SSD for every day use. Anyway, this allows me to do A/B comparisons of common queries. For the purpose of this test / email, I joined HSID to HSIDAllAdults on the FK in HSIDAllAdults, then did a count of the PK in HSIDAllAdults Group By MOB (mail order buyer, one of the demographics fields in HSID). So the SSD query looks like: SELECT _DataHSID.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID.dbo.tblHSID.PKID GROUP BY _DataHSID.dbo.tblHSID.Mail_Order_BUYER And runs in 30 seconds, producing the following results: NULL 19702461 1 19422841 2 28439375 The rotating media query looks as follows: SELECT _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID GROUP BY _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER And runs in 1:50, producing the following results: NULL 19702461 1 19422841 2 28439375 The resulting count is identical (as expected), with rotating media taking almost 4 times as long to complete as the SSD. I will be storing these two queries in their respective databases (rotating / SSD) so that I can use them to test again when I add the second physical CPU chip and additional memory. BTW this was a pretty simple query as things go. A more normal query is to pull Name / address and a ValidAddress field out of HSIDAllAdults, filter the ValidAddr using something like In('V','E'), joining that to HSID and pulling out typically 4 to 6 fields from HSID to use in where clauses. So I am typically joining two tables of 50 million and 65 million records and then filtering on 4-8 fields, then actually capturing the resulting names / addresses and writing these into an order table. Depending on the criteria, I will pull anywhere from a 100 K or so up to 5 million or more names into the order table. The order table is created on the fly in an order database created just for that order. The order table will be on rotating media. Or I might eventually go buy another SSD to use specifically for building these order databases. Then if the SSD wears out I can just replace it with another. I currently spend a lot of time, hours at a time building these orders, running the queries, and manipulating the results to get the final export file. I am hoping to radically reduce my time twiddling my thumbs waiting for SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:33:34 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:33:34 -0400 Subject: [dba-VB] Apples to oranges take 2a Message-ID: <4CAD317E.6040700@colbyconsulting.com> Same two files, rotating / SSD. I was just curious whether I had any HSIDAllAdult records no longer found in HSID. So this is an outer join where HSID is null, pulling the PK from HSIDAllAdult. The results BTW were an empty set (no records found). The query: SELECT dbo.tblAllAdultNameAddr.PK FROM dbo.tblAllAdultNameAddr LEFT OUTER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID WHERE (_DataHSID_OffLine.dbo.tblHSID.PKID IS NULL) and a similar one for SSD The SSD finished in 44 seconds. The rotating media in 1:42 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 7 14:53:12 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 07 Oct 2010 15:53:12 -0400 Subject: [dba-VB] Apples to Oranges - Take 3 Message-ID: <4CAE2528.9@colbyconsulting.com> One thing I do a lot is to export large csv files. Today I have to export ~51 million records to CSV, PK and email fields. I have a table which holds these and two other fields, with a clustered index on PK and a non-clustered index on the email. I exported from rotating media to rotating media and (very rough) got about 10 million records per 45 seconds. I then exported the same job from rotating media to SSD and got roughly the same performance. I then backed up and restored to the SSD (the log file to SSD as well). I then exported the same job from SSD to SSD and got roughly the same performance. I then exported SSD to rotating media and got roughly the same performance. So there ya have it, SSD apparently makes no difference no matter how you play it in this specific task. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 11 10:55:01 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 11 Oct 2010 19:55:01 +0400 Subject: [dba-VB] Installing MS SQL 2005 Express on a PC with MS SQL Server 2008 R2 (v.10.50.1600) Message-ID: Hi All -- Did you ever try to install MS SQL 2005 Express "in parallel" to an MS SQL 2008 R2 (v.10.50.1600) instance already installed on the same PC? It happened that my Windows hosting provider doesn't support MS SQL 2008 R2 (v.10.50.1600) backups' restore operations, and therefore I have to use MS SQL 2005 for some of my databases. Thank you. -- Shamil P.S. Another option could be to use MS Virtual PC with a test Windows XP instance and to install MS SQL 2005 on it but I wanted to avoid this "trouble" if MS SQL 2005 Express could install fine on a PC with MS SQL 2008.... From jwcolby at colbyconsulting.com Wed Oct 13 21:43:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 Oct 2010 22:43:15 -0400 Subject: [dba-VB] SSD, Raid 0 and (apparent) bandwidth Message-ID: <4CB66E43.3080505@colbyconsulting.com> I am pulling data out of HSID (the database from hell) on database _DataHSID and writing it into tblHSID in _DataMergePurge. Basically this is an inner join between a PK table in _DataMergePurge and HSID to select the records, then write them into the table in _DataMergePurge. I have both databases on the SSD, along with their respective log files. My temp files are on another 30g SSD. The database SSDs are a pair of disks, raid 0. I don't really have available separate SSDs for the log and data files, and I figured (though by no means certain) that the SSD would be faster even reading / writing both log and data than having the log on rotating media. Disk reads / writes are in Meg BYTES / minute (not second). My read volume is running pretty consistent between 400 and 450 mB/Minute out of _DataHSID and around 3 million bytes / minute out of _DataMergePurge. Response time 1 ms in both cases. All data from Resource Monitor. CPU is running around 25% average with most of that on the 6 cores dedicated to SQL Server. Suddenly a burst of writes to the log file at about 1.8 GBytes / min. 1 hard fault / minute every once in awhile, mostly 0. 14.8 Gig memory private to SQL Server's PID 37 minutes in and it hasn't even begun to write to the destination table. TempDb is up to about 5 gigs. MergePurge_Log about 1.1G atm. Another burst write to tempdb at around 1.8G / Min. Tempdb is a single SSD directly on an SATA port on the motherboard. At about 55 minutes in, data starts to write to the destination table. Fairly massive writes to both the log and data file for mergePurge - anywhere from 500 MBytes / minute up to 1 GByte / minute. Writing about 1.2 GBytes / minute between the log and the data file. Interestingly it is not *reading* at all (right now), it must be dumping from memory? About 930 MBytes / Minute to log, 333 MBytes / min to data. At 1 hour and 10 minutes it is finished. 4890683 row(s) affected (copied from the database from hell into the MP database). BTW the destination table has an existing clustered index (PK) on the People hash and PKID - two fields as the key. The MP data file is about 4.5 gb with 0 free. The MP log file is about 6 gigs with 1.6 gigs free. The tempdb file is about 5 gigs. That was interesting to watch. I sure wish I had more memory to see how that affects the system. ATM I am running 2 dims (channels) on a CPU socket that can use 4 channels, and "only" 16 gigs total available right now. I am supposed to get 64 gigs total and another CPU with 8 cores which would make it 4 dims of 8 gigs each per cpu (all 4 memory channels going). Who knows what that would do. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 14 15:03:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 Oct 2010 16:03:47 -0400 Subject: [dba-VB] The SSD I am using Message-ID: <4CB76223.2050202@colbyconsulting.com> The following is the link to the SSD on Newegg - the model I purchased for my SQl Server. http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 This is a review that pretty much says it all. This thing is *fast*. http://benchmarkreviews.com/index.php?option=com_content&task=view&id=585&Itemid=60&limit=1&limitstart=11 -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 06:48:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 15:48:18 +0400 Subject: [dba-VB] "Converting" graphic design to HTML static design... Message-ID: <264A9C92915D4F789575C7B2D4030B23@nant> Hi All -- It's a bit off topic but if you develop ASP.NET web apps or DotnetNuke-driven sites then you might need to solve the subjec task. Yes, there are graphic designers who can do the subject work professionally and with very good quality but for some simple designs I'd prefer to do that work by myself if possible but I do not know where to look for hints - best hints I mean as the one for DNN skinning I'm referring in this post P.S. (I've recently got this invaluable link from my colleague...) In general would that be a correct assumption that there should be automatic/automated development tools, which can "cut" graphic design into a set of CSS files and a master page HTML? I'd imagine that tool should allow to set a "cut net" on top of graphic design and then "just" cut that net into css + html. And that tool should also allow I expect to "steal/get" fonts' designs if a designer will put sample words on top layer over graphic design... Something like that? Of course there should be manual work done after that graphic design cut. Is MS Expression Web a tool, which could satisfy my web design needs: http://www.microsoft.com/expression/products/Web_WhatIsExpressionWeb.aspx Thank you. -- Shamil P.S. Joe Brinkmans: DotNetNuke Skinning 101 (Part 1-5) http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2671/DotNetNuke- Skinning-101-Part-1.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke- Skinning-101-Part-2.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2694/DotNetNuke- Skinning-101-Part-3.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2782/DotNetNuke- Skinning-101-Part-4.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2811/DotNetNuke- Skinning-101-Part-5.aspx From shamil at smsconsulting.spb.ru Sat Oct 16 07:06:59 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 16:06:59 +0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Message-ID: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? From jwcolby at colbyconsulting.com Sat Oct 16 07:35:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 08:35:49 -0400 Subject: [dba-VB] Visual studio auto-generated CRUD Message-ID: <4CB99C25.1010003@colbyconsulting.com> I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 08:43:19 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 17:43:19 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs Message-ID: <5D7D35075C4B41D9B56207D367DBB729@nant> Hi All -- I'm looking how to handle the subject task - below is the list of sources I have found. I have never written URL rewriting code, did you? Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module class library DLL, which will substitute "virtual URLs" with the real ones? If I install several such HTTP Modules in what sequence they will be called? Developing SEO friendly URLs with ASP NET 2.0 http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A SP_NET_2.0.asp Writing SEO friendly url using HttpHandlers in ASP.NET http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx URL Rewriting for IIS - SEO-Friendly URLS for ASP & .Net http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as p-net/ Search Engine Friendly URLs - URL Rewriting http://www.seoconsultants.com/articles/1000/urls SEO friendly URLs with ASP.NET http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html Friendly URLs and SEO http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- URLs-and-SEO.aspx SEO Friendly URL's with IIS 7 URL Rewriter http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe writer.aspx Generate SEO friendly URL at runtime in asp net http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a spx Seo-Friendly ???? ?? ASP NET (In Russian) http://www.sergeiantonov.com/2009/05/seo-asp-net.html SEO Friendly Improvements in ASP.Net 4.0 http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A SPNet_40.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Oct 16 08:47:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 09:47:33 -0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <5D7D35075C4B41D9B56207D367DBB729@nant> References: <5D7D35075C4B41D9B56207D367DBB729@nant> Message-ID: <4CB9ACF5.5090301@colbyconsulting.com> Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sat Oct 16 10:07:44 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 19:07:44 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <<>> Yes :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 16 ??????? 2010 ?. 17:48 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of > sources I have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > Module class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > endly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > 7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > -net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > s_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil From dbdoug at gmail.com Sat Oct 16 10:19:40 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 16 Oct 2010 08:19:40 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: Saturday is usually my most productive day - no client calls! Doug 2010/10/16 Shamil Salakhetdinov > <<>> > Yes :( > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 16 ??????? 2010 ?. 17:48 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs > > Working on a Saturday? > > Sorry I can't help, but I too am working on a Saturday. 8( > > John W. Colby > www.ColbyConsulting.com > > On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > > > I'm looking how to handle the subject task - below is the list of > > sources I have found. > > > > I have never written URL rewriting code, did you? > > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > > Module class library DLL, which will substitute "virtual URLs" with the > real ones? > > If I install several such HTTP Modules in what sequence they will be > called? > > > > Developing SEO friendly URLs with ASP NET 2.0 > > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > > with_A > > SP_NET_2.0.asp > > > > Writing SEO friendly url using HttpHandlers in ASP.NET > > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > > for-as > > p-net/ > > > > Search Engine Friendly URLs - URL Rewriting > > http://www.seoconsultants.com/articles/1000/urls > > > > SEO friendly URLs with ASP.NET > > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > > > Friendly URLs and SEO > > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > > endly- > > URLs-and-SEO.aspx > > > > SEO Friendly URL's with IIS 7 URL Rewriter > > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > > 7URLRe > > writer.aspx > > > > Generate SEO friendly URL at runtime in asp net > > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > > -net.a > > spx > > > > Seo-Friendly ???? ?? ASP NET (In Russian) > > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > > > SEO Friendly Improvements in ASP.Net 4.0 > > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > > s_in_A > > SPNet_40.aspx > > > > > > Thank you. > > > > -- > > Shamil > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 16 14:48:19 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 Oct 2010 12:48:19 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <7B8EEB0FA75D4937ACC920C468E99BF0@creativesystemdesigns.com> It should be something like; "What's wrong? So you are not working Saturday and Sunday?...are you not feeeling well?" Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, October 16, 2010 6:48 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Sun Oct 17 17:29:39 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 18 Oct 2010 09:29:39 +1100 Subject: [dba-VB] Visual studio auto-generated CRUD References: <4CB99C25.1010003@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B612C@ddi-01.DDI.local> Yikes! At least you don't have to write it out yourself J Is there a limit to SQL statement size? I would prefer the parameter version for 'normal' work, less issues with data. Is there a difference in performance? Cheers Michael M From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 16 October 2010 11:36 PM To: VBA Subject: [dba-VB] Visual studio auto-generated CRUD I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1136 / Virus Database: 422/3203 - Release Date: 10/17/10 From bheid at sc.rr.com Tue Oct 19 20:33:56 2010 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 19 Oct 2010 21:33:56 -0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 In-Reply-To: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> References: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Message-ID: <000f01cb6ff6$dcf0fd10$96d2f730$@rr.com> Shamil, We have run into this some also at work. Our solution has been script the schema changes with SQL Compare (by RedGate) and if data needs to be move, move it with SQL Data Compare (also RedGate). Bobby -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 16, 2010 8:07 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 19 21:13:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 Oct 2010 22:13:56 -0400 Subject: [dba-VB] Unraid Message-ID: <4CBE5064.502@colbyconsulting.com> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an UnRaid NAS. http://lime-technology.com/ I currently use Windows Home Server but have never been happy with all aspects of what it is and does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores work, I have had restores fail to work. When they refuse to restore I have just utterly failed to force that restore to ever work. I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other absolutely refuses to see the WHS server. Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you are rolling dice when you do your backups. WHS has never had that 100% reliability for me. So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. We shall see how this goes but it certainly looks promising. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Tue Oct 19 21:18:18 2010 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 19 Oct 2010 19:18:18 -0700 Subject: [dba-VB] Unraid In-Reply-To: <4CBE5064.502@colbyconsulting.com> References: <4CBE5064.502@colbyconsulting.com> Message-ID: Three 1GB drives? What did that set you back, $2.99? Sorry, I couldn't resist :) Doug On Tue, Oct 19, 2010 at 7:13 PM, jwcolby wrote: > I got a good deal on three 1GB Samsung drives the other day, and as a > result I am about to launch an > UnRaid NAS. > > http://lime-technology.com/ > > I currently use Windows Home Server but have never been happy with all > aspects of what it is and > does. I absolutely love the way that it backs up computers, with the > sector copy / compare. Cool > technology. Unfortunately my experience has seen an abysmal restore > scenario. I have had restores > work, I have had restores fail to work. When they refuse to restore I have > just utterly failed to > force that restore to ever work. > > I have the same experience with the backup. 9 of 10 of my machines restore > faithfully, the other > absolutely refuses to see the WHS server. > > Backups have to be 100% absolutely reliable and restores have to be 100% > absolutely reliable or you > are rolling dice when you do your backups. WHS has never had that 100% > reliability for me. > > So I am about to take down my WHS in favor of an UnRaid NAS and plain old > backup software. > > We shall see how this goes but it certainly looks promising. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Oct 20 05:11:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 06:11:49 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: <4CBE5064.502@colbyconsulting.com> Message-ID: <4CBEC065.5010106@colbyconsulting.com> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a >> result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all >> aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the >> sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore >> scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have >> just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore >> faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% >> absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% >> reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old >> backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 20 05:59:26 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 12:59:26 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: http://www.iscsicake.com/ Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 12:11 >>> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 20 07:07:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 08:07:11 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: Message-ID: <4CBEDB6F.8090105@colbyconsulting.com> Gustav, > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. UnRaid is not a simple file share, but rather simple file share on top of a fairly low cost storage pool based "raid like" NAS system. It is similar to WHS in that it allows you to just add any old drive and have it added to the storage pool, but unlike WHS it does not use 2X drives for X storage. Beyond that it is just a NAS. I have never used it but it gets good reviews. As you probably know, everybody does RAID, but every raid that I have ever seen (other than UnRaid) requires manually matching drives, manually setting them up etc. Unraid (and WHS) allow you to just drop in a new drive and it gets added to the storage pool automatically. You can have hot spares and all that. I have all of my family photos, music and videos as well as all of my software source disks on WHS at the moment. The problem is that I have 3 gigs of video that is unprotected and in order to protect it I would need to do a raid or throw up my hands and give WHS its 2X storage. Or just go build a NAS specifically designed to do this. The only NAS I have found that doesn't make you do the (learn-how-to) Build-a-raid shuffle is UnRaid. If there are others I am all ears. I am not a Linux geek, nor a NAS geek and I don't wanna have to be one. One of the promises of WHS was that you could just plug in a new drive when you need more storage. No thinking, no figuring out how it all works. Free is good, but any time I have to spend on it counts against the "free". > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. That sounds fascinating, but what I am doing now is just for my home stuff. Not to mention iSCSI appears to cost money plus tie up a windows license as the host. If I needed that stuff then fine, but I don't. John W. Colby www.ColbyConsulting.com On 10/20/2010 6:59 AM, Gustav Brock wrote: > Hi John > > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? > > Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. > > Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. > Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: > > http://www.iscsicake.com/ > > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. > > /gustav From Gustav at cactus.dk Wed Oct 20 07:41:02 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 14:41:02 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John OK, didn't realize this was home stuff only. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 14:07 >>> That sounds fascinating, but what I am doing now is just for my home stuff. From jwcolby at colbyconsulting.com Thu Oct 21 07:39:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 Oct 2010 08:39:55 -0400 Subject: [dba-VB] Unraid is (mostly) working Message-ID: <4CC0349B.3070701@colbyconsulting.com> Man Linux is *so* much fun. ;) UnRaid is a bare bones application that does exactly what it advertises. Getting the boot flash disk built and booting is a no brainer. For windows users, anything after that is not. But we persist and eventually get there. I now have a system with 4x 1 TB disks for storage and a 1.5TB disk for parity. Because the parity drive has to be as large as the largest data disk, and because I had two 1.5 TB disks and wanted to be able to use them in the UnRaid server, and because both were full of video, I had to figure out how to do things that you wouldn't normally have to do - run without parity long enough to empty one of the parity disks, then slide that (now empty) disk in as the parity disk. But in the end it worked and I now have 4x 1TB data disks and a 1.5Tb parity disk. There is data on one of the TB data disks unprotected until the parity build finishes in about 8 hours. Once the parity build finishes I will copy the data from the other 1.5 TB disk onto the UnRaid data disks and then drop that last 1.5 TB disk into the UnRaid. At that time I will have all 6 of my motherboard's SATA ports filled - Parity and 5 data drives. Beyond that I will need to find an add-in card with more SATA ports. It appears that the community uses this card: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101358&Tpk=Supermicro%20AOC-SASLP-MV8 which provides an additional 8 ports and apparently just works. I do have a ton of 640 GB drives which I could drop in if I need the storage but near term I do not. Long term I will probably use this as backup storage - backup of my computers around the house / office as well as near line backup for the SQL Server. So I am close to having a usable UnRaid NAS, just waiting for the parity calcs to finish. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Oct 22 15:36:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 Oct 2010 16:36:27 -0400 Subject: [dba-VB] New system building an order Message-ID: <4CC1F5CB.5050706@colbyconsulting.com> Today I received another 16 GB ram and put in the SQL server. I now have a single CPU / 8 cores and 32 gigs of memory. I assigned 27 Gigs to SQL Server and left 5 to the system. I decided to test the new server building a moderately complex order. This order pulls about 5 million OrderData records from a series of views. _DataAllAdults.tblAllAdultsNameAddr table has a clustered index on the PKID and an NameAddress cover index which covers all of the name / address fields as well as the gender and AddressValid flag. vAllAdults selects records from that table which have specific codes in the ValidAddr vield. vAllFemales selects records from vAllAdults where the gender is 'F'. _DataHSID holds the database from hell, the tblHSID with ~50 million records with ~600 fields. Ut has a variety of cover indexes on it which cover specific groups of fields. vHSIDOrderCriteria joins vAllFemales and the DataHSID.tblHSID on the PKHSID, and uses a where clause which selects specific values from specific fields. Under most circumstances I just edit and save vHSIDOrderCriteria to select the correct HSID fields / values to pull the desired records. I then run an external C# program which dynamically builds the tblOrderData using the field list from vHSIDOrderCriteria (which obviously changes from order to order) and then populates that temp table with the data pulled using vHSIDOrderCriteria. In this case, ~5 million records were selected and stored in tblOrderData. This is the first time ever that I have had more than 2 cores and about 12 gigs of memory to use to run the order. I do not have any timing information for past runs. However what I observed is that processing the order caused all 6 cores assigned to SQL Server to almost max out for the first part of the order process. It wasn't flat line at the top but it was in the 90+ % utilized for all 6 cores, for part of the time - perhaps 40% of the duration. The rest of the time it maxed out a single core. and partly used another. And it used 29+ gigs of memory during use. This order process is the first step in processing an order and takes awhile to complete. I now have _DataAllAdults and _DataHSID on SSD. This is the first time I have ever seen all six cores close to max. No promises, but just out of curiosity I am going to try and "recreate" the old system, with a copy of _DataAllAdults and _DataHSID on rotating media, assign 12 gigs of memory as in the "olden days" and then do a simple stopwatch timing of the two. It really won't be even close to the old system because the old CPU was a quad core at 3 GHZ and this one is 8 cores at 2 GHZ. In the old system I assigned 2 cores to SQL Server, and it would often max out both cores. This one I am assigning 6 cores and it runs about 9% of all six cores at times. None the less it should give a feeling for the relative speed with all the changes. Because of the way I layer the views it should be fairly easy to build a copy database and then modify two specific views to point to the copy of data on rotating media. After that it is really just a matter of running it twice, once for each order database copy. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Oct 23 10:35:44 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 23 Oct 2010 11:35:44 -0400 Subject: [dba-VB] Backing up Windows 2008 Message-ID: <4CC300D0.8060700@colbyconsulting.com> I need to do a system disk backup for Windows. I am probably going with Acronis home for all of my non-server machines, however they want something like $500 / machine for server licenses. While I am sure it is worth it, I just don't have that kind of cash just to get a backup. I have never used the Windows built-in backup but it seems that it does exist. Has anyone here used it? Restored from it? Easy / hard? Potential issues? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Thu Oct 28 09:20:03 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 18:20:03 +0400 Subject: [dba-VB] PDC10 Online Message-ID: Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Oct 28 11:09:45 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 20:09:45 +0400 Subject: [dba-VB] PDC10 Online In-Reply-To: References: Message-ID: <67CD8947AA5B409695739A715E287081@nant> It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 28 15:48:58 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 13:48:58 -0700 Subject: [dba-VB] PDC10 Online In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: Shamil: Took an hour out and the improvements and new features added to C# and VB.Net are impressive...asynchronization is assume for webaps and being able to effortlessly convert from VB.Net to C# and back a nice touch. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 28, 2010 9:10 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] PDC10 Online It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 29 00:20:46 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 22:20:46 -0700 Subject: [dba-VB] A simple colorative online editor In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: <8E5E797389694C0BA6FCA62D067ED8BD@creativesystemdesigns.com> Here is a simple online tool for a couple of people doing a real-time colabrative programming effort. There is nothing fancy, no IDE or compiling but it does do layout and editing and does support a number of languages. http://gigaom.com/collaboration/ethercodes-online-collaborative-code-editing / Have fun Jim From shamil at smsconsulting.spb.ru Fri Oct 29 04:05:14 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:05:14 +0400 Subject: [dba-VB] Unspecified Error Message-ID: <7F8D0C7655D5471EB95E936157B6DF29@nant> Hi All -- After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using .mdb files as backend I'm getting the following runtime error: Exception -> Unspecified error StackTrace -> at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OleDb.OleDbConnection.Open() at NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, Boolean filterOutUninitializedRows) It looks like this is an OleDbProvider bug. Have you seen/experienced something like that? Context: 1. I do exclusively use using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } 2. I do use IN clause in some select SQL expressions to point to external MDB tables. I guess the issues is caused by case (2). Although that's still a hypothesis here to check (some code fixes are needed in the core code of my application, and I'm considreing now will that be worth fixing, or I should better switch to MS SQL backend.) Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Oct 29 04:09:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:09:08 +0400 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Hi All -- Did you work with MS SQL Server 3.5 Compact edition? http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx Will that work with MS SQL Server 2008 R2 databases? How do you distribute your application using MS SQL Server 3.5 Compact edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is on Internet but I have never worked with it and I hope you have some hints to get up&running here ASAP) Thank you. -- Shamil From jwcolby at colbyconsulting.com Fri Oct 29 05:31:22 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 06:31:22 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <7F8D0C7655D5471EB95E936157B6DF29@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> Message-ID: <4CCAA27A.1090007@colbyconsulting.com> I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using > .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption > s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon > nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection > outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat > ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, > Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to external > MDB tables. > > I guess the issues is caused by case (2). Although that's still a hypothesis > here to check (some code fixes are needed in the core code of my > application, and I'm considreing now will that be worth fixing, or I should > better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 08:59:41 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 17:59:41 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAA27A.1090007@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> Message-ID: <719F586C923F4CAA86593EBD5183F34A@nant> Hi John -- Thank you for your reply. I guess "connections leaking" happens in my case because of the usage of IN clause and because of bug in OleDbProvider happening in that context: "automatic connection" opened somewhere inside OleDbProvider isn't getting closed - something like that.... In general when you use: using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } then there is no "connections leaking" - GC works well. The same is true for SQL Server data provider also. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 14:31 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application > using .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnection > Option s options, Object poolGroupProviderInfo, DbConnectionPool pool, > DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection > (DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnectio > n > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectio > n outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEn > umerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean > setupInProgress, Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to > external MDB tables. > > I guess the issues is caused by case (2). Although that's still a > hypothesis here to check (some code fixes are needed in the core code > of my application, and I'm considreing now will that be worth fixing, > or I should better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 09:23:08 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 10:23:08 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <719F586C923F4CAA86593EBD5183F34A@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> <719F586C923F4CAA86593EBD5183F34A@nant> Message-ID: <4CCAD8CC.1030005@colbyconsulting.com> Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage of IN > clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't getting > closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an issue > where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. Basically the > garbage collector runs when it thinks it needs to. If you don't force a > cleanup of non-native (to .Net) objects such as SQL Server connections, then > the GC doesn't know it needs to clean up and doesn't do so. I had to build > a dispose method for my classes and intentionally call that dispose method > as the class was closed, which forced the GC to release the non-native > objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Fri Oct 29 09:55:50 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 18:55:50 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAD8CC.1030005@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant> <4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi John -- Did you consistenly use the following code block when working with MS SQL Connections? using (SqlConnection cnn = new SqlConnection("{{mySQLBackendConnectionStringHere}}")) { cnn.Open(); ... } When such block is used then Dispose is called "automagically" AFAIK: I have developed a large ASP.NET application with MS SQL backend - and I have never had SQL connections leaks with it Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 18:23 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage > of IN clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't > getting closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an > issue where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. > Basically the garbage collector runs when it thinks it needs to. If > you don't force a cleanup of non-native (to .Net) objects such as SQL > Server connections, then the GC doesn't know it needs to clean up and > doesn't do so. I had to build a dispose method for my classes and > intentionally call that dispose method as the class was closed, which > forced the GC to release the non-native objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 12:43:38 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 21:43:38 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 12:55:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 13:55:55 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: <4CCB0AAB.400@colbyconsulting.com> Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName > FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId > ORDER BY Order.OrderDate DESC > - ************* TEST SQL **************** - > 29/10/2010 21:36:31: 1. ThreadCount = 9 > 29/10/2010 21:36:32: 2. ThreadCount = 18 > 29/10/2010 21:36:32: 3. ThreadCount = 21 > 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 > 29/10/2010 21:36:33: 6. ThreadCount = 33 > 29/10/2010 21:36:34: 7. ThreadCount = 36 > 29/10/2010 21:36:34: 8. ThreadCount = 38 > 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 > 29/10/2010 21:36:35: 11. ThreadCount = 36 > 29/10/2010 21:36:36: 12. ThreadCount = 40 > 29/10/2010 21:36:36: 13. ThreadCount = 44 > 29/10/2010 21:36:36: 14. ThreadCount = 46 > 29/10/2010 21:36:37: 15. ThreadCount = 45 > 29/10/2010 21:36:37: 16. ThreadCount = 52 > 29/10/2010 21:36:37: 17. ThreadCount = 57 > 29/10/2010 21:36:38: 18. ThreadCount = 61 > 29/10/2010 21:36:38: 19. ThreadCount = 60 > 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:39: 23. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:40: 26. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 > 29/10/2010 21:36:41: 28. ThreadCount = 64 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:42: 30. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 > StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 > OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 > Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:01:22 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:01:22 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <612CE7EB7DB648B3B81010F896E0CE3A@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is > on Internet but I have never worked with it and I hope you have some hints > to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 13:08:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:08:37 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCB0AAB.400@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> Message-ID: <811AE90316074521B84BCB781FD6BCC7@nant> Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 21:56 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId ORDER BY > Order.OrderDate DESC > - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. > ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 > 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. > ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 > 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. > ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 > 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = > 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. > ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 > 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = > 60 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. > ThreadCount = 64 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 > 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, > ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> From shamil at smsconsulting.spb.ru Fri Oct 29 13:13:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:13:18 +0400 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Thank you, David, But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or SQL Server CE 3.5 SP1 databases are just the ones created and managed within Visual Studio solutions and then distributed together with such a solution setup kit? (I have never used SQL Server CE) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 29 ??????? 2010 ?. 22:01 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SQL Server Compact 3.5 I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based > apps is on Internet but I have never worked with it and I hope you > have some hints to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 13:23:00 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:23:00 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <811AE90316074521B84BCB781FD6BCC7@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> <811AE90316074521B84BCB781FD6BCC7@nant> Message-ID: <2B3723BF3279424DB024D49342954CD5@nant> Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 13:30:50 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 14:30:50 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? Message-ID: <4CCB12DA.2090404@colbyconsulting.com> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture overruns. I need to know what is possible to do with EBay automation of: 1) Placing the listing 2) Monitoring the listing 3) Understanding if payment has been received (paypal only for now) 4) Tracking fees etc. 5) Everything I haven't even thought of. Is anyone in this group doing this? -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Fri Oct 29 13:53:15 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:53:15 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Message-ID: Yes, you can (and I do) use Click Once bootstrap to set up SQL CE. I like the one I wrote better than some of the ones that I found because it works with our users and business rules. I can send you the XML files off line if you want. You can make Bootstrappers to define prerequisites for your custom include files as well. If they don't exist, download and install them :) You can make bootstrappers for MSIs as well as for Click Once, if you prefer to create a MSI installer package. >From the Solution Explorer, go to your project's Setup Properties page, click on the "Prerequisites..." button and check the ones that you need. You obviously had to put your custom ones in the required path first to get them to display on this list. Copy Bootstrapper file(s) to: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages so Visual Studio 2008 can see them The thing that I still don't like about ClickOnce is if you put out an update and don't make it a required update and the user clicks "No" when prompted, they never get prompted again (it should have a choice for the prompt, like "not this time" or "Don't remind me"). I simply make every update required :). They are very quick. It is very similar to launching a batch file and copying over an mdb if needed. The other thing that I do is keep a copy of all of my MS required files on our servers and make our bootstrappers point to our servers rather than MS. I don't want MS changing a link on me, or replacing a file with a newer version (without us first testing it) then breaking my app. They tend to do that in the CE world. To tell you the truth I don't remember where I've created my SDFs from. I've converted older SDFs to the current format using this function: Private Sub UpdateSDF() UpDateCaption("Updating SDF: Converting SDF from SQL CE 3.0 to 3.5") 'Physically update the SDF from SQLCE3.0/3.1 to 3.5 Dim engine As SqlServerCe.SqlCeEngine = New SqlServerCe.SqlCeEngine("Data Source=" & MomsUpdPath & SDFfile) engine.Upgrade("Data Source=" & MomsUpdPath & SDFfile & ";") SdfHasBeenModified = True End Sub You won't be able to actually upload data, or get far in the app without an iPAQ device connected, but If you'd like to see how the app runs and sets up the prereqs, you can go here and run the setup.exe: http://momsupdate.mocproducts.com/MomsClickOnce/setup.exe Prior to finding out how to do all of this, we had several setup files. One for XP, One for 32bit Vista/7, another for 64 bit. Now everything is all done with one setup. So much more nicer. :) On Fri, Oct 29, 2010 at 11:13 AM, Shamil Salakhetdinov wrote: > Thank you, David, > > But for Click-Once is a PITA to have some custom files installed together > with application? (I have many such files). > > So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. > > Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or > SQL Server CE 3.5 SP1 databases are just the ones created and managed within > Visual Studio solutions and then distributed together with such a solution > setup kit? (I have never used SQL Server CE) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: 29 ??????? 2010 ?. 22:01 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] SQL Server Compact 3.5 > > I used it on Mobile devices. > > I developed a ClickOnce VB.Net Launcher app that our users run to copy the > SDF from the mobile device over to the PC. > > The VB app then pulls datasets (invoices) from the SDF using ADO.Net and > passes them to a web service. Different datasets (customer updates, New > "wishlist orders", Item updates) are also returned via the web service and > inserted into the SDF. The SDF is then copied back to the mobile device. > > Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly > via my app. > > I had to write some custom Bootstrappers to detect if the correct > prequisites were installed. > > The prerequisites are: > Windows Installer 3.1 > .Net Framework 3.5 SP1 > MS ActiveSync 4.5 (if using WinXP) > Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device > Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE > 3.5 SP1 (X64) > > I didn't like Click once at first as I thought it was very limited. > After finding out about writing Bootstrappers, I was much more happier with > it. > > > On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov > wrote: >> Hi All -- >> >> Did you work with MS SQL Server 3.5 Compact edition? >> http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx >> >> Will that work with MS SQL Server 2008 R2 databases? >> How do you distribute your application using MS SQL Server 3.5 Compact >> edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based >> apps is on Internet but I have never worked with it and I hope you >> have some hints to get up&running here ASAP) >> >> Thank you. >> >> -- >> Shamil >> >> >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:58:31 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:58:31 -0700 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB12DA.2090404@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: No, but I've been wanting to. Keep us/me updated on your findings ;) On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: > I live in the old "furniture center" of the US. ?I have a business opportunity to ebay furniture > overruns. ?I need to know what is possible to do with EBay automation of: > > 1) Placing the listing > 2) Monitoring the listing > 3) Understanding if payment has been received (paypal only for now) > 4) Tracking fees etc. > 5) Everything I haven't even thought of. > > Is anyone in this group doing this? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 14:08:47 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 23:08:47 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <2B3723BF3279424DB024D49342954CD5@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com><811AE90316074521B84BCB781FD6BCC7@nant> <2B3723BF3279424DB024D49342954CD5@nant> Message-ID: <1FDF1785FAC54A64A8FD9942E31699E8@nant> Hi All -- When no linked tables used then it still fails after 69633 runs :( TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7733. ThreadCount = 70 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7734. ThreadCount = 72 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7735. ThreadCount = 75 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:24: 7736. ThreadCount = 79 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:25: 7737. ThreadCount = 75 StartTime = 29/10/2010 21:59:33, EndTime = 29/10/2010 22:42:25 OK, TotalCount = 69633, ElapsedTime = 0.7142 hours, ErrCount = 32 Definitedly I have to switch this application to MS SQL CE backend... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:23 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 14:11:00 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 15:11:00 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: <4CCB1C44.9020708@colbyconsulting.com> As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From mikedorism at verizon.net Fri Oct 29 15:43:39 2010 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Oct 2010 16:43:39 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB1C44.9020708@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: Have you considered just using the Excel plug-in http://pages.ebay.com/Excel_Plugin/ Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, October 29, 2010 3:11 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 16:21:26 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:21:26 +0200 Subject: [dba-VB] Unspecified Error Message-ID: Hi Shamil Nasty. Does this happen as well if you use DataTable adapters? /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 19:43 >>> Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil From gustav at cactus.dk Fri Oct 29 16:23:52 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:23:52 +0200 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: Hi Shamil Yes. You can with a little efforts even install fonts - I have posted about this a couple of times. /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 20:13 >>> But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). From jwcolby at colbyconsulting.com Fri Oct 29 19:07:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 20:07:49 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: <4CCB61D5.8010703@colbyconsulting.com> Why did the "developer" develop his database in Excel? 'Cause he didn't know how to use Word. ;) John W. Colby www.ColbyConsulting.com On 10/29/2010 4:43 PM, Doris Manning wrote: > Have you considered just using the Excel plug-in > > http://pages.ebay.com/Excel_Plugin/ > > Doris Manning From Gustav at cactus.dk Fri Oct 1 11:47:04 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 18:47:04 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Composite C1 now open source In-Reply-To: References: Message-ID: <2D1FA6E3AFF048B5B1D788313F6F7E33@nant> Thank you, David :) No, I didn't get scared off that much from the subject source code - I just don't see why should I (and others) spend their time "digging through" such an advanced code... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, October 01, 2010 1:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Composite C1 now open source Wow, if Shamil is scared off, I don't think I want I'd want to take a look at it either! I didn't think there was any code to scare off Shamil. :) On Thu, Sep 30, 2010 at 1:53 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > I have got Composite C1 sources downloaded. > And I have got Composite C1 solution opened in VS2010. > And I have looked through the source code. > I must note it looks so advanced - I mean I can't get where to start > "digging through" this code to understand what it's doing. > And developer's docs are missing(?). > I suppose I should better stay away from this code - back to DNN: at least > when looking through DNN modules' code it's rather clear how they are > organized, what they do - and there is no need in almost any developer's > docs... > > -- Shamil > > P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? > As far as I have got from my experience during my short staying there this > summer Copenhagen should be called rainy not sunny? :) <<< skipped >>>> From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <253559A9FA124B0AB31408517EB1E461@nant> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 16:48:01 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 23:48:01 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav >>> shamil at smsconsulting.spb.ru 01-10-2010 23:12 >>> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 17:10:36 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:10:36 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> From hkotsch at arcor.de Fri Oct 1 17:19:58 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 00:19:58 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From shamil at smsconsulting.spb.ru Fri Oct 1 17:39:46 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:39:46 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From hkotsch at arcor.de Sat Oct 2 04:54:41 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 11:54:41 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Oct 2 06:56:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 15:56:08 +0400 Subject: [dba-VB] OT: Altweibersommer/Babje Leto/Indian Summer - Was: RE: CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <29A00FFD50A4409AA0DFA10A918EEF67@nant> Hi Helmut -- I have checked some Russian sources here: http://evolutsia.com/content/view/1194/26/ http://www.onlinedics.ru/slovar/brok/b/babje.html http://novaya.com.ua/?/articles/2009/09/15/140448-13 and I have found ???? they give several explanations of "Babje Leto" expression's etymology: the main one corresponds to yours - this season a lot of thin gossamers(?) are floating in the air here - like the hairs of an "old woman"... <<< do you have also an ancient word for weaving that translates into old women? >>> I have checked one of the main dictionaries here to get etymology of this expression: http://www.slova.ru/article/676.html No, there is no any relations to an ancient word for weaving: "Babje Leto: Indian Summer, Webspinner, web, flying in the autumn in the fields and forests; its abundance heralds dry autumn." (????? ????, ????????, ???????, ???????? ?????? ?? ????? ? ?????; ?????? ?? ?????????? ????? ?????.) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 1:55 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From accessd at shaw.ca Sat Oct 2 19:08:50 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 2 Oct 2010 17:08:50 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 23:27:52 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 00:27:52 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: <4CA80648.7050300@colbyconsulting.com> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:07:34 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:07:34 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA80648.7050300@colbyconsulting.com> References: <4CA80648.7050300@colbyconsulting.com> Message-ID: <1ACA585D67B947C486397FBD73F78470@nant> Hi John -- Maybe this tool http://www.starwindsoftware.com/converter mentioned here by Gustav in "Re: [dba-VB] Installing VS2010 on a PC with VS2008 SP1" thread will be helpful for you? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 8:28 AM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] running virtual machines in Windows 2008 I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:13:27 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:13:27 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> From gustav at cactus.dk Sun Oct 3 08:27:00 2010 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 03 Oct 2010 15:27:00 +0200 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: Hi John The converter which I and Shamil posted a link for should work. But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. /gustav >>> jwcolby at colbyconsulting.com 03-10-2010 06:27 >>> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 3 10:18:53 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 11:18:53 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: References: Message-ID: <4CA89EDD.5040403@colbyconsulting.com> Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From shamil at smsconsulting.spb.ru Sun Oct 3 11:19:57 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 20:19:57 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA89EDD.5040403@colbyconsulting.com> References: <4CA89EDD.5040403@colbyconsulting.com> Message-ID: John -- XenServer seems to be able to make VMWAre VM conversion to its VM format: How to Convert VMware Virtual Machines to XenServer Virtual Machines http://support.citrix.com/article/CTX116603 http://downloadns.citrix.com.edgesuite.net/akdlm/4814/XenConvertGuide.pdf I must note I have never used that XenConvert utility, nor did I use XenServer... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 7:19 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] running virtual machines in Windows 2008 Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From accessd at shaw.ca Mon Oct 4 11:56:25 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 4 Oct 2010 09:56:25 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 13:39:43 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 14:39:43 -0400 Subject: [dba-VB] New Server Message-ID: <4CAA1F6F.3070606@colbyconsulting.com> Last week late and over the weekend I brought up the new server. That is a *lot* of work! The server consists of: 1 Norco 4020 case http://www.newegg.com/Product/Product.aspx?Item=N82E16811219021 1 Corsair 750W modular PS http://www.newegg.com/Product/Product.aspx?Item=N82E16817139010 1 Asus KGPE-D16 Dual Socket G34 motherboard http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 1 AMD Opteron 6128 8 core processor http://www.newegg.com/Product/Product.aspx?Item=N82E16819105266 2 Kingston 8GB 240-Pin DDR3 SDRAM http://www.newegg.com/Product/Product.aspx?Item=N82E16820139140 3 OCZ Vertex 2 OCZSSD2-2VTXE120G SSD http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 Windows *Server* 2008 Enterprise ;) SQL Server 2008 Enterprise Visual Studio 2008 Visual SVN One of the SSD drives is the boot drive, the other two will be for specific database files (raid 0). So essentially ATM the server is 8 cores and 16 gigs of RAM. Coming next another 8 core processor and another 16 gigs of RAM, to be followed by a final 32 gigs of RAM. Of course in typical fashion, not thinking about what I was doing, I moved the RAID controller and the drives over to the new server only to discover that I had not detached the databases and they would not attach. So I had to bring the old server back up, move the database files back over, attach and detach them, then move the files back to the new server, whereupon they all attached as expected. So as of this AM, the new server is up and functioning, with my SVN server / repository, and all databases functioning. I am planning on moving a couple of my main databases to the SSDs Raid 0 array. These are read-only databases, I do not write to them under normal circumstances. I will keep a current backup in case the Raid 0 array fails, but will work with them from the Raid 0 array on a daily basis. Having the main working databases on SSDs in a Raid 0 configuration, as well as more cores and more memory should allow me to do some of what I do in a much faster time frame. I do a lot of PK (autonumber) joins between tables, pulling multi-million record sets with data from each of the tables. I am hoping that this kind of processing will be much faster than when the source disks were on rotating media. We shall see. I still have the old server and will use it to run the test on rotating media, while doing an identical test on SSD on the new server. Of course I will not be testing just the effect of the SSD but rather the total speed increase of the entire system. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 4 14:20:22 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 4 Oct 2010 23:20:22 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: <1562F91B71894A4CB3A370FBDA90BFAC@nant> Jim -- Was that DNN v.5.x? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, October 04, 2010 8:56 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 16:16:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:16:33 -0400 Subject: [dba-VB] Apples to Oranges Message-ID: <4CAA4431.5020903@colbyconsulting.com> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 drive) Raid 0. There is a clustered index on the PK as the index key. There is no index on the FieldX, forcing a field scan. I did a simple count PK Group By FieldX on both database files. The SSD returned the counts in 1:31 The rotating media returned the counts in 8:58 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Oct 4 16:36:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:36:49 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA4431.5020903@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> Message-ID: <4CAA48F1.20008@colbyconsulting.com> With an index, both databases took 2 seconds to return the results. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:16 PM, jwcolby wrote: > I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 > drive) Raid 0. > > There is a clustered index on the PK as the index key. > There is no index on the FieldX, forcing a field scan. > > I did a simple count PK Group By FieldX on both database files. > > The SSD returned the counts in 1:31 > The rotating media returned the counts in 8:58 > From jwcolby at colbyconsulting.com Mon Oct 4 17:05:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 18:05:13 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA48F1.20008@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> <4CAA48F1.20008@colbyconsulting.com> Message-ID: <4CAA4F99.8000805@colbyconsulting.com> One pass of the query that updates the ' ' (space) to null value takes about 5 minutes on the SSD, whereas it takes about 30 minutes minutes on rotating media. I am not pursuing actually doing this on the SSD over nagging concerns about hot spot wear. However a actually need to do this for about 540 fields. At 1/2 hour / field... this will be running for the next month. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:36 PM, jwcolby wrote: > With an index, both databases took 2 seconds to return the results. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:16 PM, jwcolby wrote: >> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 >> drive) Raid 0. >> >> There is a clustered index on the PK as the index key. >> There is no index on the FieldX, forcing a field scan. >> >> I did a simple count PK Group By FieldX on both database files. >> >> The SSD returned the counts in 1:31 >> The rotating media returned the counts in 8:58 >> From stuart at lexacorp.com.pg Mon Oct 4 17:39:23 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Oct 2010 08:39:23 +1000 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA4F99.8000805@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> Message-ID: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> At 1/2 hour / field, it should only take about 11.25 days :-) But my question is, do you have to do it a single field at a time? can't you update all the fields in a single pass? Something like: Update mytable set field1 = case field1 when " " then Null else field1 end, field2 = case field2 when " " then Null else field2 end, field3 = case field3 when " " then Null else field3 end, ... -- Stuart On 4 Oct 2010 at 18:05, jwcolby wrote: > One pass of the query that updates the ' ' (space) to null value takes > about 5 minutes on the SSD, whereas it takes about 30 minutes minutes > on rotating media. > > I am not pursuing actually doing this on the SSD over nagging concerns > about hot spot wear. > > However a actually need to do this for about 540 fields. At 1/2 hour > / field... this will be running for the next month. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:36 PM, jwcolby wrote: > > With an index, both databases took 2 seconds to return the results. > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 10/4/2010 5:16 PM, jwcolby wrote: > >> I On the new server, have the same database on my SSD (two drive) > >> raid 0 and a rotating media (2 drive) Raid 0. > >> > >> There is a clustered index on the PK as the index key. > >> There is no index on the FieldX, forcing a field scan. > >> > >> I did a simple count PK Group By FieldX on both database files. > >> > >> The SSD returned the counts in 1:31 > >> The rotating media returned the counts in 8:58 > >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Mon Oct 4 19:07:39 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 20:07:39 -0400 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> Message-ID: <4CAA6C4B.8060901@colbyconsulting.com> Uhh... I don't know. But I am guessing it would take me about 11.25 days to write the sql statement. ;) John W. Colby www.ColbyConsulting.com On 10/4/2010 6:39 PM, Stuart McLachlan wrote: > At 1/2 hour / field, it should only take about 11.25 days :-) > > But my question is, do you have to do it a single field at a time? can't you > update all the fields in a single pass? Something like: > > Update mytable set > field1 = case field1 > when " " then Null > else field1 > end, > field2 = case field2 > when " " then Null > else field2 > end, > field3 = case field3 > when " " then Null > else field3 > end, > ... > From mikedorism at verizon.net Tue Oct 5 08:00:04 2010 From: mikedorism at verizon.net (Doris Manning) Date: Tue, 05 Oct 2010 09:00:04 -0400 Subject: [dba-VB] Contract Management template Message-ID: Please forgive the cross post but.Does anyone happen to have a basic Contract Management template that they wouldn't mind sharing or know of a good low cost source for one? We need to be able to track Expiration date, Service Level, Terms, Contacts, Options on renewal, and Cost. Being able to handle or track Document Storage would also be a big plus. I would design it myself but I'm swamped with more requests than I can handle and am just looking for something I can put in place quickly and fix as we go. Back end needs to be SQL Server 2000. Front end can be either desktop or web-based. Thanks, Doris Manning Sr. Developer/Database Administrator Hargrove Inc. www.hargroveinc.com From Johncliviger at aol.com Wed Oct 6 11:17:45 2010 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 6 Oct 2010 12:17:45 EDT Subject: [dba-VB] Control handles Message-ID: <67a8a.5045b1a1.39ddfb29@aol.com> Hi all I'm using vb2005 win forms and I have around 30 command buttons on a form (where else). I use the Click event to fire a procedure. Rather that have the code for each command button, I've added to the end of the first command button click event multiple handles, one for each cmd button. so I have Private Sub Button1_Click(sender etc., e etc.,) Handles Button1.click, Button2.click and so on... End Sub I think this is a bit clunky. Is there a better way? TIA john cliviger From jwcolby at colbyconsulting.com Wed Oct 6 11:23:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 12:23:28 -0400 Subject: [dba-VB] Multi-core madness Message-ID: <4CACA280.9070302@colbyconsulting.com> I have never had more than 4 cores at my disposal. On the old (SQL) server I had two cores dedicated to SQL Server. On the new system I currently have 8 cores total and 6 of those dedicated to SQL Server. In the past I would do things like build a multi-field index on a 50 million record table and it would max out the two cores. I pretty much couldn't do anything else. Today I am building multi-field indexes on an "off-line" copy of my database from hell. Task manager tells me it is using about 40% of the total processor power, however the two cores dedicated to the system are not doing much. The other 6 cores are chugging away somewhere (visually) just under 50%. I needed to BCP (using the internal export wizard) about 30 million PKs and email addresses to a csv file. When I started that running, Task manager informed me that I was using just under 60% of the available processor power, but the first two cores (dedicated to Windows) started chugging away, presumably doing file IO and the like. My 6 SQL Server cores jumped up to around 65%. BTW, the export process ripped it out pretty darned fast. I didn't time it but the total took a minute or so. So I was able to get two tasks going, and still had plenty of horsepower left over. I then installed the 64 bit WinRar, which can use multiple threads, and had it compress the resulting text file as SQL Server continued building indexes. All very smooth. If I get no "bandwidth complaints", I will continue to post occasional emails regarding how long it takes to do stuff vs the old server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:20:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:20:14 -0400 Subject: [dba-VB] Apples to oranges - take 2 Message-ID: <4CAD2E5E.20101@colbyconsulting.com> OK, so I have two databases, each with a single table. BTW, these are two of my main tables, used all of the time in orders. HSID - otherwise known as the database from hell, 51157068 records, ~560 fields. HSIDAllAdults is a database where up to three adult names were lifted out of fields in HSID and placed in a table with a PK_HSID field pointing back to the HSID record from which the information came. Thus HSIDAllAdults is child to HSID in a manner of speaking (has a FK back to the PKID from HSID). HSIDAllAdults has about 67564677 million records, 27 fields. Each table has a PKID which is autonumber and a unique clustered index on the PKID. HSID is demographic information such as income bracket, ChildInAgeGroup_XXX, HasDog etc. and has a handful of indexes on the most commonly used demographics fields. HSIAllAdults has name / address / gender / position (in HSID) fields and has three indexes on it - NameAddr, Hash and one other. So... I have a copy of each of these databases on rotating media. I then backed up the rotating media file and restored on the SSD, so I have a copy of each database in two places. I do this BTW because the SSD is a Raid 0 as well as SSD, and I am worried that if I do too much writing on the SSD I will wear it out - as in hot spot updates due to index updates etc. Thus I will be doing maintenance on the rotating media and just copying the resulting db out to SSD for every day use. Anyway, this allows me to do A/B comparisons of common queries. For the purpose of this test / email, I joined HSID to HSIDAllAdults on the FK in HSIDAllAdults, then did a count of the PK in HSIDAllAdults Group By MOB (mail order buyer, one of the demographics fields in HSID). So the SSD query looks like: SELECT _DataHSID.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID.dbo.tblHSID.PKID GROUP BY _DataHSID.dbo.tblHSID.Mail_Order_BUYER And runs in 30 seconds, producing the following results: NULL 19702461 1 19422841 2 28439375 The rotating media query looks as follows: SELECT _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID GROUP BY _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER And runs in 1:50, producing the following results: NULL 19702461 1 19422841 2 28439375 The resulting count is identical (as expected), with rotating media taking almost 4 times as long to complete as the SSD. I will be storing these two queries in their respective databases (rotating / SSD) so that I can use them to test again when I add the second physical CPU chip and additional memory. BTW this was a pretty simple query as things go. A more normal query is to pull Name / address and a ValidAddress field out of HSIDAllAdults, filter the ValidAddr using something like In('V','E'), joining that to HSID and pulling out typically 4 to 6 fields from HSID to use in where clauses. So I am typically joining two tables of 50 million and 65 million records and then filtering on 4-8 fields, then actually capturing the resulting names / addresses and writing these into an order table. Depending on the criteria, I will pull anywhere from a 100 K or so up to 5 million or more names into the order table. The order table is created on the fly in an order database created just for that order. The order table will be on rotating media. Or I might eventually go buy another SSD to use specifically for building these order databases. Then if the SSD wears out I can just replace it with another. I currently spend a lot of time, hours at a time building these orders, running the queries, and manipulating the results to get the final export file. I am hoping to radically reduce my time twiddling my thumbs waiting for SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:33:34 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:33:34 -0400 Subject: [dba-VB] Apples to oranges take 2a Message-ID: <4CAD317E.6040700@colbyconsulting.com> Same two files, rotating / SSD. I was just curious whether I had any HSIDAllAdult records no longer found in HSID. So this is an outer join where HSID is null, pulling the PK from HSIDAllAdult. The results BTW were an empty set (no records found). The query: SELECT dbo.tblAllAdultNameAddr.PK FROM dbo.tblAllAdultNameAddr LEFT OUTER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID WHERE (_DataHSID_OffLine.dbo.tblHSID.PKID IS NULL) and a similar one for SSD The SSD finished in 44 seconds. The rotating media in 1:42 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 7 14:53:12 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 07 Oct 2010 15:53:12 -0400 Subject: [dba-VB] Apples to Oranges - Take 3 Message-ID: <4CAE2528.9@colbyconsulting.com> One thing I do a lot is to export large csv files. Today I have to export ~51 million records to CSV, PK and email fields. I have a table which holds these and two other fields, with a clustered index on PK and a non-clustered index on the email. I exported from rotating media to rotating media and (very rough) got about 10 million records per 45 seconds. I then exported the same job from rotating media to SSD and got roughly the same performance. I then backed up and restored to the SSD (the log file to SSD as well). I then exported the same job from SSD to SSD and got roughly the same performance. I then exported SSD to rotating media and got roughly the same performance. So there ya have it, SSD apparently makes no difference no matter how you play it in this specific task. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 11 10:55:01 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 11 Oct 2010 19:55:01 +0400 Subject: [dba-VB] Installing MS SQL 2005 Express on a PC with MS SQL Server 2008 R2 (v.10.50.1600) Message-ID: Hi All -- Did you ever try to install MS SQL 2005 Express "in parallel" to an MS SQL 2008 R2 (v.10.50.1600) instance already installed on the same PC? It happened that my Windows hosting provider doesn't support MS SQL 2008 R2 (v.10.50.1600) backups' restore operations, and therefore I have to use MS SQL 2005 for some of my databases. Thank you. -- Shamil P.S. Another option could be to use MS Virtual PC with a test Windows XP instance and to install MS SQL 2005 on it but I wanted to avoid this "trouble" if MS SQL 2005 Express could install fine on a PC with MS SQL 2008.... From jwcolby at colbyconsulting.com Wed Oct 13 21:43:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 Oct 2010 22:43:15 -0400 Subject: [dba-VB] SSD, Raid 0 and (apparent) bandwidth Message-ID: <4CB66E43.3080505@colbyconsulting.com> I am pulling data out of HSID (the database from hell) on database _DataHSID and writing it into tblHSID in _DataMergePurge. Basically this is an inner join between a PK table in _DataMergePurge and HSID to select the records, then write them into the table in _DataMergePurge. I have both databases on the SSD, along with their respective log files. My temp files are on another 30g SSD. The database SSDs are a pair of disks, raid 0. I don't really have available separate SSDs for the log and data files, and I figured (though by no means certain) that the SSD would be faster even reading / writing both log and data than having the log on rotating media. Disk reads / writes are in Meg BYTES / minute (not second). My read volume is running pretty consistent between 400 and 450 mB/Minute out of _DataHSID and around 3 million bytes / minute out of _DataMergePurge. Response time 1 ms in both cases. All data from Resource Monitor. CPU is running around 25% average with most of that on the 6 cores dedicated to SQL Server. Suddenly a burst of writes to the log file at about 1.8 GBytes / min. 1 hard fault / minute every once in awhile, mostly 0. 14.8 Gig memory private to SQL Server's PID 37 minutes in and it hasn't even begun to write to the destination table. TempDb is up to about 5 gigs. MergePurge_Log about 1.1G atm. Another burst write to tempdb at around 1.8G / Min. Tempdb is a single SSD directly on an SATA port on the motherboard. At about 55 minutes in, data starts to write to the destination table. Fairly massive writes to both the log and data file for mergePurge - anywhere from 500 MBytes / minute up to 1 GByte / minute. Writing about 1.2 GBytes / minute between the log and the data file. Interestingly it is not *reading* at all (right now), it must be dumping from memory? About 930 MBytes / Minute to log, 333 MBytes / min to data. At 1 hour and 10 minutes it is finished. 4890683 row(s) affected (copied from the database from hell into the MP database). BTW the destination table has an existing clustered index (PK) on the People hash and PKID - two fields as the key. The MP data file is about 4.5 gb with 0 free. The MP log file is about 6 gigs with 1.6 gigs free. The tempdb file is about 5 gigs. That was interesting to watch. I sure wish I had more memory to see how that affects the system. ATM I am running 2 dims (channels) on a CPU socket that can use 4 channels, and "only" 16 gigs total available right now. I am supposed to get 64 gigs total and another CPU with 8 cores which would make it 4 dims of 8 gigs each per cpu (all 4 memory channels going). Who knows what that would do. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 14 15:03:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 Oct 2010 16:03:47 -0400 Subject: [dba-VB] The SSD I am using Message-ID: <4CB76223.2050202@colbyconsulting.com> The following is the link to the SSD on Newegg - the model I purchased for my SQl Server. http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 This is a review that pretty much says it all. This thing is *fast*. http://benchmarkreviews.com/index.php?option=com_content&task=view&id=585&Itemid=60&limit=1&limitstart=11 -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 06:48:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 15:48:18 +0400 Subject: [dba-VB] "Converting" graphic design to HTML static design... Message-ID: <264A9C92915D4F789575C7B2D4030B23@nant> Hi All -- It's a bit off topic but if you develop ASP.NET web apps or DotnetNuke-driven sites then you might need to solve the subjec task. Yes, there are graphic designers who can do the subject work professionally and with very good quality but for some simple designs I'd prefer to do that work by myself if possible but I do not know where to look for hints - best hints I mean as the one for DNN skinning I'm referring in this post P.S. (I've recently got this invaluable link from my colleague...) In general would that be a correct assumption that there should be automatic/automated development tools, which can "cut" graphic design into a set of CSS files and a master page HTML? I'd imagine that tool should allow to set a "cut net" on top of graphic design and then "just" cut that net into css + html. And that tool should also allow I expect to "steal/get" fonts' designs if a designer will put sample words on top layer over graphic design... Something like that? Of course there should be manual work done after that graphic design cut. Is MS Expression Web a tool, which could satisfy my web design needs: http://www.microsoft.com/expression/products/Web_WhatIsExpressionWeb.aspx Thank you. -- Shamil P.S. Joe Brinkmans: DotNetNuke Skinning 101 (Part 1-5) http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2671/DotNetNuke- Skinning-101-Part-1.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke- Skinning-101-Part-2.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2694/DotNetNuke- Skinning-101-Part-3.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2782/DotNetNuke- Skinning-101-Part-4.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2811/DotNetNuke- Skinning-101-Part-5.aspx From shamil at smsconsulting.spb.ru Sat Oct 16 07:06:59 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 16:06:59 +0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Message-ID: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? From jwcolby at colbyconsulting.com Sat Oct 16 07:35:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 08:35:49 -0400 Subject: [dba-VB] Visual studio auto-generated CRUD Message-ID: <4CB99C25.1010003@colbyconsulting.com> I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 08:43:19 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 17:43:19 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs Message-ID: <5D7D35075C4B41D9B56207D367DBB729@nant> Hi All -- I'm looking how to handle the subject task - below is the list of sources I have found. I have never written URL rewriting code, did you? Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module class library DLL, which will substitute "virtual URLs" with the real ones? If I install several such HTTP Modules in what sequence they will be called? Developing SEO friendly URLs with ASP NET 2.0 http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A SP_NET_2.0.asp Writing SEO friendly url using HttpHandlers in ASP.NET http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx URL Rewriting for IIS - SEO-Friendly URLS for ASP & .Net http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as p-net/ Search Engine Friendly URLs - URL Rewriting http://www.seoconsultants.com/articles/1000/urls SEO friendly URLs with ASP.NET http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html Friendly URLs and SEO http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- URLs-and-SEO.aspx SEO Friendly URL's with IIS 7 URL Rewriter http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe writer.aspx Generate SEO friendly URL at runtime in asp net http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a spx Seo-Friendly ???? ?? ASP NET (In Russian) http://www.sergeiantonov.com/2009/05/seo-asp-net.html SEO Friendly Improvements in ASP.Net 4.0 http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A SPNet_40.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Oct 16 08:47:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 09:47:33 -0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <5D7D35075C4B41D9B56207D367DBB729@nant> References: <5D7D35075C4B41D9B56207D367DBB729@nant> Message-ID: <4CB9ACF5.5090301@colbyconsulting.com> Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sat Oct 16 10:07:44 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 19:07:44 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <<>> Yes :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 16 ??????? 2010 ?. 17:48 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of > sources I have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > Module class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > endly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > 7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > -net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > s_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil From dbdoug at gmail.com Sat Oct 16 10:19:40 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 16 Oct 2010 08:19:40 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: Saturday is usually my most productive day - no client calls! Doug 2010/10/16 Shamil Salakhetdinov > <<>> > Yes :( > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 16 ??????? 2010 ?. 17:48 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs > > Working on a Saturday? > > Sorry I can't help, but I too am working on a Saturday. 8( > > John W. Colby > www.ColbyConsulting.com > > On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > > > I'm looking how to handle the subject task - below is the list of > > sources I have found. > > > > I have never written URL rewriting code, did you? > > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > > Module class library DLL, which will substitute "virtual URLs" with the > real ones? > > If I install several such HTTP Modules in what sequence they will be > called? > > > > Developing SEO friendly URLs with ASP NET 2.0 > > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > > with_A > > SP_NET_2.0.asp > > > > Writing SEO friendly url using HttpHandlers in ASP.NET > > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > > for-as > > p-net/ > > > > Search Engine Friendly URLs - URL Rewriting > > http://www.seoconsultants.com/articles/1000/urls > > > > SEO friendly URLs with ASP.NET > > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > > > Friendly URLs and SEO > > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > > endly- > > URLs-and-SEO.aspx > > > > SEO Friendly URL's with IIS 7 URL Rewriter > > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > > 7URLRe > > writer.aspx > > > > Generate SEO friendly URL at runtime in asp net > > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > > -net.a > > spx > > > > Seo-Friendly ???? ?? ASP NET (In Russian) > > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > > > SEO Friendly Improvements in ASP.Net 4.0 > > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > > s_in_A > > SPNet_40.aspx > > > > > > Thank you. > > > > -- > > Shamil > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 16 14:48:19 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 Oct 2010 12:48:19 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <7B8EEB0FA75D4937ACC920C468E99BF0@creativesystemdesigns.com> It should be something like; "What's wrong? So you are not working Saturday and Sunday?...are you not feeeling well?" Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, October 16, 2010 6:48 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Sun Oct 17 17:29:39 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 18 Oct 2010 09:29:39 +1100 Subject: [dba-VB] Visual studio auto-generated CRUD References: <4CB99C25.1010003@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B612C@ddi-01.DDI.local> Yikes! At least you don't have to write it out yourself J Is there a limit to SQL statement size? I would prefer the parameter version for 'normal' work, less issues with data. Is there a difference in performance? Cheers Michael M From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 16 October 2010 11:36 PM To: VBA Subject: [dba-VB] Visual studio auto-generated CRUD I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1136 / Virus Database: 422/3203 - Release Date: 10/17/10 From bheid at sc.rr.com Tue Oct 19 20:33:56 2010 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 19 Oct 2010 21:33:56 -0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 In-Reply-To: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> References: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Message-ID: <000f01cb6ff6$dcf0fd10$96d2f730$@rr.com> Shamil, We have run into this some also at work. Our solution has been script the schema changes with SQL Compare (by RedGate) and if data needs to be move, move it with SQL Data Compare (also RedGate). Bobby -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 16, 2010 8:07 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 19 21:13:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 Oct 2010 22:13:56 -0400 Subject: [dba-VB] Unraid Message-ID: <4CBE5064.502@colbyconsulting.com> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an UnRaid NAS. http://lime-technology.com/ I currently use Windows Home Server but have never been happy with all aspects of what it is and does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores work, I have had restores fail to work. When they refuse to restore I have just utterly failed to force that restore to ever work. I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other absolutely refuses to see the WHS server. Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you are rolling dice when you do your backups. WHS has never had that 100% reliability for me. So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. We shall see how this goes but it certainly looks promising. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Tue Oct 19 21:18:18 2010 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 19 Oct 2010 19:18:18 -0700 Subject: [dba-VB] Unraid In-Reply-To: <4CBE5064.502@colbyconsulting.com> References: <4CBE5064.502@colbyconsulting.com> Message-ID: Three 1GB drives? What did that set you back, $2.99? Sorry, I couldn't resist :) Doug On Tue, Oct 19, 2010 at 7:13 PM, jwcolby wrote: > I got a good deal on three 1GB Samsung drives the other day, and as a > result I am about to launch an > UnRaid NAS. > > http://lime-technology.com/ > > I currently use Windows Home Server but have never been happy with all > aspects of what it is and > does. I absolutely love the way that it backs up computers, with the > sector copy / compare. Cool > technology. Unfortunately my experience has seen an abysmal restore > scenario. I have had restores > work, I have had restores fail to work. When they refuse to restore I have > just utterly failed to > force that restore to ever work. > > I have the same experience with the backup. 9 of 10 of my machines restore > faithfully, the other > absolutely refuses to see the WHS server. > > Backups have to be 100% absolutely reliable and restores have to be 100% > absolutely reliable or you > are rolling dice when you do your backups. WHS has never had that 100% > reliability for me. > > So I am about to take down my WHS in favor of an UnRaid NAS and plain old > backup software. > > We shall see how this goes but it certainly looks promising. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Oct 20 05:11:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 06:11:49 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: <4CBE5064.502@colbyconsulting.com> Message-ID: <4CBEC065.5010106@colbyconsulting.com> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a >> result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all >> aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the >> sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore >> scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have >> just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore >> faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% >> absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% >> reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old >> backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 20 05:59:26 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 12:59:26 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: http://www.iscsicake.com/ Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 12:11 >>> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 20 07:07:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 08:07:11 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: Message-ID: <4CBEDB6F.8090105@colbyconsulting.com> Gustav, > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. UnRaid is not a simple file share, but rather simple file share on top of a fairly low cost storage pool based "raid like" NAS system. It is similar to WHS in that it allows you to just add any old drive and have it added to the storage pool, but unlike WHS it does not use 2X drives for X storage. Beyond that it is just a NAS. I have never used it but it gets good reviews. As you probably know, everybody does RAID, but every raid that I have ever seen (other than UnRaid) requires manually matching drives, manually setting them up etc. Unraid (and WHS) allow you to just drop in a new drive and it gets added to the storage pool automatically. You can have hot spares and all that. I have all of my family photos, music and videos as well as all of my software source disks on WHS at the moment. The problem is that I have 3 gigs of video that is unprotected and in order to protect it I would need to do a raid or throw up my hands and give WHS its 2X storage. Or just go build a NAS specifically designed to do this. The only NAS I have found that doesn't make you do the (learn-how-to) Build-a-raid shuffle is UnRaid. If there are others I am all ears. I am not a Linux geek, nor a NAS geek and I don't wanna have to be one. One of the promises of WHS was that you could just plug in a new drive when you need more storage. No thinking, no figuring out how it all works. Free is good, but any time I have to spend on it counts against the "free". > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. That sounds fascinating, but what I am doing now is just for my home stuff. Not to mention iSCSI appears to cost money plus tie up a windows license as the host. If I needed that stuff then fine, but I don't. John W. Colby www.ColbyConsulting.com On 10/20/2010 6:59 AM, Gustav Brock wrote: > Hi John > > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? > > Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. > > Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. > Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: > > http://www.iscsicake.com/ > > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. > > /gustav From Gustav at cactus.dk Wed Oct 20 07:41:02 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 14:41:02 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John OK, didn't realize this was home stuff only. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 14:07 >>> That sounds fascinating, but what I am doing now is just for my home stuff. From jwcolby at colbyconsulting.com Thu Oct 21 07:39:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 Oct 2010 08:39:55 -0400 Subject: [dba-VB] Unraid is (mostly) working Message-ID: <4CC0349B.3070701@colbyconsulting.com> Man Linux is *so* much fun. ;) UnRaid is a bare bones application that does exactly what it advertises. Getting the boot flash disk built and booting is a no brainer. For windows users, anything after that is not. But we persist and eventually get there. I now have a system with 4x 1 TB disks for storage and a 1.5TB disk for parity. Because the parity drive has to be as large as the largest data disk, and because I had two 1.5 TB disks and wanted to be able to use them in the UnRaid server, and because both were full of video, I had to figure out how to do things that you wouldn't normally have to do - run without parity long enough to empty one of the parity disks, then slide that (now empty) disk in as the parity disk. But in the end it worked and I now have 4x 1TB data disks and a 1.5Tb parity disk. There is data on one of the TB data disks unprotected until the parity build finishes in about 8 hours. Once the parity build finishes I will copy the data from the other 1.5 TB disk onto the UnRaid data disks and then drop that last 1.5 TB disk into the UnRaid. At that time I will have all 6 of my motherboard's SATA ports filled - Parity and 5 data drives. Beyond that I will need to find an add-in card with more SATA ports. It appears that the community uses this card: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101358&Tpk=Supermicro%20AOC-SASLP-MV8 which provides an additional 8 ports and apparently just works. I do have a ton of 640 GB drives which I could drop in if I need the storage but near term I do not. Long term I will probably use this as backup storage - backup of my computers around the house / office as well as near line backup for the SQL Server. So I am close to having a usable UnRaid NAS, just waiting for the parity calcs to finish. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Oct 22 15:36:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 Oct 2010 16:36:27 -0400 Subject: [dba-VB] New system building an order Message-ID: <4CC1F5CB.5050706@colbyconsulting.com> Today I received another 16 GB ram and put in the SQL server. I now have a single CPU / 8 cores and 32 gigs of memory. I assigned 27 Gigs to SQL Server and left 5 to the system. I decided to test the new server building a moderately complex order. This order pulls about 5 million OrderData records from a series of views. _DataAllAdults.tblAllAdultsNameAddr table has a clustered index on the PKID and an NameAddress cover index which covers all of the name / address fields as well as the gender and AddressValid flag. vAllAdults selects records from that table which have specific codes in the ValidAddr vield. vAllFemales selects records from vAllAdults where the gender is 'F'. _DataHSID holds the database from hell, the tblHSID with ~50 million records with ~600 fields. Ut has a variety of cover indexes on it which cover specific groups of fields. vHSIDOrderCriteria joins vAllFemales and the DataHSID.tblHSID on the PKHSID, and uses a where clause which selects specific values from specific fields. Under most circumstances I just edit and save vHSIDOrderCriteria to select the correct HSID fields / values to pull the desired records. I then run an external C# program which dynamically builds the tblOrderData using the field list from vHSIDOrderCriteria (which obviously changes from order to order) and then populates that temp table with the data pulled using vHSIDOrderCriteria. In this case, ~5 million records were selected and stored in tblOrderData. This is the first time ever that I have had more than 2 cores and about 12 gigs of memory to use to run the order. I do not have any timing information for past runs. However what I observed is that processing the order caused all 6 cores assigned to SQL Server to almost max out for the first part of the order process. It wasn't flat line at the top but it was in the 90+ % utilized for all 6 cores, for part of the time - perhaps 40% of the duration. The rest of the time it maxed out a single core. and partly used another. And it used 29+ gigs of memory during use. This order process is the first step in processing an order and takes awhile to complete. I now have _DataAllAdults and _DataHSID on SSD. This is the first time I have ever seen all six cores close to max. No promises, but just out of curiosity I am going to try and "recreate" the old system, with a copy of _DataAllAdults and _DataHSID on rotating media, assign 12 gigs of memory as in the "olden days" and then do a simple stopwatch timing of the two. It really won't be even close to the old system because the old CPU was a quad core at 3 GHZ and this one is 8 cores at 2 GHZ. In the old system I assigned 2 cores to SQL Server, and it would often max out both cores. This one I am assigning 6 cores and it runs about 9% of all six cores at times. None the less it should give a feeling for the relative speed with all the changes. Because of the way I layer the views it should be fairly easy to build a copy database and then modify two specific views to point to the copy of data on rotating media. After that it is really just a matter of running it twice, once for each order database copy. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Oct 23 10:35:44 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 23 Oct 2010 11:35:44 -0400 Subject: [dba-VB] Backing up Windows 2008 Message-ID: <4CC300D0.8060700@colbyconsulting.com> I need to do a system disk backup for Windows. I am probably going with Acronis home for all of my non-server machines, however they want something like $500 / machine for server licenses. While I am sure it is worth it, I just don't have that kind of cash just to get a backup. I have never used the Windows built-in backup but it seems that it does exist. Has anyone here used it? Restored from it? Easy / hard? Potential issues? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Thu Oct 28 09:20:03 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 18:20:03 +0400 Subject: [dba-VB] PDC10 Online Message-ID: Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Oct 28 11:09:45 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 20:09:45 +0400 Subject: [dba-VB] PDC10 Online In-Reply-To: References: Message-ID: <67CD8947AA5B409695739A715E287081@nant> It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 28 15:48:58 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 13:48:58 -0700 Subject: [dba-VB] PDC10 Online In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: Shamil: Took an hour out and the improvements and new features added to C# and VB.Net are impressive...asynchronization is assume for webaps and being able to effortlessly convert from VB.Net to C# and back a nice touch. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 28, 2010 9:10 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] PDC10 Online It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 29 00:20:46 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 22:20:46 -0700 Subject: [dba-VB] A simple colorative online editor In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: <8E5E797389694C0BA6FCA62D067ED8BD@creativesystemdesigns.com> Here is a simple online tool for a couple of people doing a real-time colabrative programming effort. There is nothing fancy, no IDE or compiling but it does do layout and editing and does support a number of languages. http://gigaom.com/collaboration/ethercodes-online-collaborative-code-editing / Have fun Jim From shamil at smsconsulting.spb.ru Fri Oct 29 04:05:14 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:05:14 +0400 Subject: [dba-VB] Unspecified Error Message-ID: <7F8D0C7655D5471EB95E936157B6DF29@nant> Hi All -- After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using .mdb files as backend I'm getting the following runtime error: Exception -> Unspecified error StackTrace -> at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OleDb.OleDbConnection.Open() at NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, Boolean filterOutUninitializedRows) It looks like this is an OleDbProvider bug. Have you seen/experienced something like that? Context: 1. I do exclusively use using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } 2. I do use IN clause in some select SQL expressions to point to external MDB tables. I guess the issues is caused by case (2). Although that's still a hypothesis here to check (some code fixes are needed in the core code of my application, and I'm considreing now will that be worth fixing, or I should better switch to MS SQL backend.) Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Oct 29 04:09:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:09:08 +0400 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Hi All -- Did you work with MS SQL Server 3.5 Compact edition? http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx Will that work with MS SQL Server 2008 R2 databases? How do you distribute your application using MS SQL Server 3.5 Compact edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is on Internet but I have never worked with it and I hope you have some hints to get up&running here ASAP) Thank you. -- Shamil From jwcolby at colbyconsulting.com Fri Oct 29 05:31:22 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 06:31:22 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <7F8D0C7655D5471EB95E936157B6DF29@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> Message-ID: <4CCAA27A.1090007@colbyconsulting.com> I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using > .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption > s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon > nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection > outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat > ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, > Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to external > MDB tables. > > I guess the issues is caused by case (2). Although that's still a hypothesis > here to check (some code fixes are needed in the core code of my > application, and I'm considreing now will that be worth fixing, or I should > better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 08:59:41 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 17:59:41 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAA27A.1090007@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> Message-ID: <719F586C923F4CAA86593EBD5183F34A@nant> Hi John -- Thank you for your reply. I guess "connections leaking" happens in my case because of the usage of IN clause and because of bug in OleDbProvider happening in that context: "automatic connection" opened somewhere inside OleDbProvider isn't getting closed - something like that.... In general when you use: using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } then there is no "connections leaking" - GC works well. The same is true for SQL Server data provider also. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 14:31 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application > using .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnection > Option s options, Object poolGroupProviderInfo, DbConnectionPool pool, > DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection > (DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnectio > n > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectio > n outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEn > umerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean > setupInProgress, Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to > external MDB tables. > > I guess the issues is caused by case (2). Although that's still a > hypothesis here to check (some code fixes are needed in the core code > of my application, and I'm considreing now will that be worth fixing, > or I should better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 09:23:08 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 10:23:08 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <719F586C923F4CAA86593EBD5183F34A@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> <719F586C923F4CAA86593EBD5183F34A@nant> Message-ID: <4CCAD8CC.1030005@colbyconsulting.com> Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage of IN > clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't getting > closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an issue > where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. Basically the > garbage collector runs when it thinks it needs to. If you don't force a > cleanup of non-native (to .Net) objects such as SQL Server connections, then > the GC doesn't know it needs to clean up and doesn't do so. I had to build > a dispose method for my classes and intentionally call that dispose method > as the class was closed, which forced the GC to release the non-native > objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Fri Oct 29 09:55:50 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 18:55:50 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAD8CC.1030005@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant> <4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi John -- Did you consistenly use the following code block when working with MS SQL Connections? using (SqlConnection cnn = new SqlConnection("{{mySQLBackendConnectionStringHere}}")) { cnn.Open(); ... } When such block is used then Dispose is called "automagically" AFAIK: I have developed a large ASP.NET application with MS SQL backend - and I have never had SQL connections leaks with it Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 18:23 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage > of IN clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't > getting closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an > issue where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. > Basically the garbage collector runs when it thinks it needs to. If > you don't force a cleanup of non-native (to .Net) objects such as SQL > Server connections, then the GC doesn't know it needs to clean up and > doesn't do so. I had to build a dispose method for my classes and > intentionally call that dispose method as the class was closed, which > forced the GC to release the non-native objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 12:43:38 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 21:43:38 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 12:55:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 13:55:55 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: <4CCB0AAB.400@colbyconsulting.com> Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName > FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId > ORDER BY Order.OrderDate DESC > - ************* TEST SQL **************** - > 29/10/2010 21:36:31: 1. ThreadCount = 9 > 29/10/2010 21:36:32: 2. ThreadCount = 18 > 29/10/2010 21:36:32: 3. ThreadCount = 21 > 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 > 29/10/2010 21:36:33: 6. ThreadCount = 33 > 29/10/2010 21:36:34: 7. ThreadCount = 36 > 29/10/2010 21:36:34: 8. ThreadCount = 38 > 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 > 29/10/2010 21:36:35: 11. ThreadCount = 36 > 29/10/2010 21:36:36: 12. ThreadCount = 40 > 29/10/2010 21:36:36: 13. ThreadCount = 44 > 29/10/2010 21:36:36: 14. ThreadCount = 46 > 29/10/2010 21:36:37: 15. ThreadCount = 45 > 29/10/2010 21:36:37: 16. ThreadCount = 52 > 29/10/2010 21:36:37: 17. ThreadCount = 57 > 29/10/2010 21:36:38: 18. ThreadCount = 61 > 29/10/2010 21:36:38: 19. ThreadCount = 60 > 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:39: 23. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:40: 26. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 > 29/10/2010 21:36:41: 28. ThreadCount = 64 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:42: 30. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 > StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 > OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 > Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:01:22 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:01:22 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <612CE7EB7DB648B3B81010F896E0CE3A@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is > on Internet but I have never worked with it and I hope you have some hints > to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 13:08:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:08:37 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCB0AAB.400@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> Message-ID: <811AE90316074521B84BCB781FD6BCC7@nant> Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 21:56 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId ORDER BY > Order.OrderDate DESC > - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. > ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 > 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. > ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 > 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. > ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 > 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = > 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. > ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 > 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = > 60 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. > ThreadCount = 64 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 > 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, > ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> From shamil at smsconsulting.spb.ru Fri Oct 29 13:13:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:13:18 +0400 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Thank you, David, But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or SQL Server CE 3.5 SP1 databases are just the ones created and managed within Visual Studio solutions and then distributed together with such a solution setup kit? (I have never used SQL Server CE) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 29 ??????? 2010 ?. 22:01 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SQL Server Compact 3.5 I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based > apps is on Internet but I have never worked with it and I hope you > have some hints to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 13:23:00 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:23:00 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <811AE90316074521B84BCB781FD6BCC7@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> <811AE90316074521B84BCB781FD6BCC7@nant> Message-ID: <2B3723BF3279424DB024D49342954CD5@nant> Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 13:30:50 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 14:30:50 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? Message-ID: <4CCB12DA.2090404@colbyconsulting.com> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture overruns. I need to know what is possible to do with EBay automation of: 1) Placing the listing 2) Monitoring the listing 3) Understanding if payment has been received (paypal only for now) 4) Tracking fees etc. 5) Everything I haven't even thought of. Is anyone in this group doing this? -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Fri Oct 29 13:53:15 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:53:15 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Message-ID: Yes, you can (and I do) use Click Once bootstrap to set up SQL CE. I like the one I wrote better than some of the ones that I found because it works with our users and business rules. I can send you the XML files off line if you want. You can make Bootstrappers to define prerequisites for your custom include files as well. If they don't exist, download and install them :) You can make bootstrappers for MSIs as well as for Click Once, if you prefer to create a MSI installer package. >From the Solution Explorer, go to your project's Setup Properties page, click on the "Prerequisites..." button and check the ones that you need. You obviously had to put your custom ones in the required path first to get them to display on this list. Copy Bootstrapper file(s) to: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages so Visual Studio 2008 can see them The thing that I still don't like about ClickOnce is if you put out an update and don't make it a required update and the user clicks "No" when prompted, they never get prompted again (it should have a choice for the prompt, like "not this time" or "Don't remind me"). I simply make every update required :). They are very quick. It is very similar to launching a batch file and copying over an mdb if needed. The other thing that I do is keep a copy of all of my MS required files on our servers and make our bootstrappers point to our servers rather than MS. I don't want MS changing a link on me, or replacing a file with a newer version (without us first testing it) then breaking my app. They tend to do that in the CE world. To tell you the truth I don't remember where I've created my SDFs from. I've converted older SDFs to the current format using this function: Private Sub UpdateSDF() UpDateCaption("Updating SDF: Converting SDF from SQL CE 3.0 to 3.5") 'Physically update the SDF from SQLCE3.0/3.1 to 3.5 Dim engine As SqlServerCe.SqlCeEngine = New SqlServerCe.SqlCeEngine("Data Source=" & MomsUpdPath & SDFfile) engine.Upgrade("Data Source=" & MomsUpdPath & SDFfile & ";") SdfHasBeenModified = True End Sub You won't be able to actually upload data, or get far in the app without an iPAQ device connected, but If you'd like to see how the app runs and sets up the prereqs, you can go here and run the setup.exe: http://momsupdate.mocproducts.com/MomsClickOnce/setup.exe Prior to finding out how to do all of this, we had several setup files. One for XP, One for 32bit Vista/7, another for 64 bit. Now everything is all done with one setup. So much more nicer. :) On Fri, Oct 29, 2010 at 11:13 AM, Shamil Salakhetdinov wrote: > Thank you, David, > > But for Click-Once is a PITA to have some custom files installed together > with application? (I have many such files). > > So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. > > Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or > SQL Server CE 3.5 SP1 databases are just the ones created and managed within > Visual Studio solutions and then distributed together with such a solution > setup kit? (I have never used SQL Server CE) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: 29 ??????? 2010 ?. 22:01 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] SQL Server Compact 3.5 > > I used it on Mobile devices. > > I developed a ClickOnce VB.Net Launcher app that our users run to copy the > SDF from the mobile device over to the PC. > > The VB app then pulls datasets (invoices) from the SDF using ADO.Net and > passes them to a web service. Different datasets (customer updates, New > "wishlist orders", Item updates) are also returned via the web service and > inserted into the SDF. The SDF is then copied back to the mobile device. > > Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly > via my app. > > I had to write some custom Bootstrappers to detect if the correct > prequisites were installed. > > The prerequisites are: > Windows Installer 3.1 > .Net Framework 3.5 SP1 > MS ActiveSync 4.5 (if using WinXP) > Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device > Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE > 3.5 SP1 (X64) > > I didn't like Click once at first as I thought it was very limited. > After finding out about writing Bootstrappers, I was much more happier with > it. > > > On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov > wrote: >> Hi All -- >> >> Did you work with MS SQL Server 3.5 Compact edition? >> http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx >> >> Will that work with MS SQL Server 2008 R2 databases? >> How do you distribute your application using MS SQL Server 3.5 Compact >> edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based >> apps is on Internet but I have never worked with it and I hope you >> have some hints to get up&running here ASAP) >> >> Thank you. >> >> -- >> Shamil >> >> >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:58:31 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:58:31 -0700 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB12DA.2090404@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: No, but I've been wanting to. Keep us/me updated on your findings ;) On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: > I live in the old "furniture center" of the US. ?I have a business opportunity to ebay furniture > overruns. ?I need to know what is possible to do with EBay automation of: > > 1) Placing the listing > 2) Monitoring the listing > 3) Understanding if payment has been received (paypal only for now) > 4) Tracking fees etc. > 5) Everything I haven't even thought of. > > Is anyone in this group doing this? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 14:08:47 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 23:08:47 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <2B3723BF3279424DB024D49342954CD5@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com><811AE90316074521B84BCB781FD6BCC7@nant> <2B3723BF3279424DB024D49342954CD5@nant> Message-ID: <1FDF1785FAC54A64A8FD9942E31699E8@nant> Hi All -- When no linked tables used then it still fails after 69633 runs :( TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7733. ThreadCount = 70 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7734. ThreadCount = 72 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7735. ThreadCount = 75 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:24: 7736. ThreadCount = 79 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:25: 7737. ThreadCount = 75 StartTime = 29/10/2010 21:59:33, EndTime = 29/10/2010 22:42:25 OK, TotalCount = 69633, ElapsedTime = 0.7142 hours, ErrCount = 32 Definitedly I have to switch this application to MS SQL CE backend... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:23 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 14:11:00 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 15:11:00 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: <4CCB1C44.9020708@colbyconsulting.com> As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From mikedorism at verizon.net Fri Oct 29 15:43:39 2010 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Oct 2010 16:43:39 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB1C44.9020708@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: Have you considered just using the Excel plug-in http://pages.ebay.com/Excel_Plugin/ Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, October 29, 2010 3:11 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 16:21:26 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:21:26 +0200 Subject: [dba-VB] Unspecified Error Message-ID: Hi Shamil Nasty. Does this happen as well if you use DataTable adapters? /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 19:43 >>> Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil From gustav at cactus.dk Fri Oct 29 16:23:52 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:23:52 +0200 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: Hi Shamil Yes. You can with a little efforts even install fonts - I have posted about this a couple of times. /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 20:13 >>> But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). From jwcolby at colbyconsulting.com Fri Oct 29 19:07:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 20:07:49 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: <4CCB61D5.8010703@colbyconsulting.com> Why did the "developer" develop his database in Excel? 'Cause he didn't know how to use Word. ;) John W. Colby www.ColbyConsulting.com On 10/29/2010 4:43 PM, Doris Manning wrote: > Have you considered just using the Excel plug-in > > http://pages.ebay.com/Excel_Plugin/ > > Doris Manning From Gustav at cactus.dk Fri Oct 1 11:47:04 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 18:47:04 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Composite C1 now open source In-Reply-To: References: Message-ID: <2D1FA6E3AFF048B5B1D788313F6F7E33@nant> Thank you, David :) No, I didn't get scared off that much from the subject source code - I just don't see why should I (and others) spend their time "digging through" such an advanced code... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Friday, October 01, 2010 1:06 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Composite C1 now open source Wow, if Shamil is scared off, I don't think I want I'd want to take a look at it either! I didn't think there was any code to scare off Shamil. :) On Thu, Sep 30, 2010 at 1:53 PM, Shamil Salakhetdinov wrote: > Hi Gustav -- > > I have got Composite C1 sources downloaded. > And I have got Composite C1 solution opened in VS2010. > And I have looked through the source code. > I must note it looks so advanced - I mean I can't get where to start > "digging through" this code to understand what it's doing. > And developer's docs are missing(?). > I suppose I should better stay away from this code - back to DNN: at least > when looking through DNN modules' code it's rather clear how they are > organized, what they do - and there is no need in almost any developer's > docs... > > -- Shamil > > P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? > As far as I have got from my experience during my short staying there this > summer Copenhagen should be called rainy not sunny? :) <<< skipped >>>> From shamil at smsconsulting.spb.ru Fri Oct 1 16:12:24 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 01:12:24 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <253559A9FA124B0AB31408517EB1E461@nant> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav >>> shamil at smsconsulting.spb.ru 30-09-2010 22:53 >>> Hi Gustav -- I have got Composite C1 sources downloaded. And I have got Composite C1 solution opened in VS2010. And I have looked through the source code. I must note it looks so advanced - I mean I can't get where to start "digging through" this code to understand what it's doing. And developer's docs are missing(?). I suppose I should better stay away from this code - back to DNN: at least when looking through DNN modules' code it's rather clear how they are organized, what they do - and there is no need in almost any developer's docs... -- Shamil P.S. Sunny Copenhagen? Are you kidding? Or do you mean it's sunny there now? As far as I have got from my experience during my short staying there this summer Copenhagen should be called rainy not sunny? :) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 29, 2010 8:54 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Composite C1 now open source Hi Shamil I just checked the download links and they seem to work, but I cannot locate the link you mention. As for some real life implementations, check at menu References: http://www.composite.net/C1/References.aspx And right, the Composite guys are located in sunny but not-so-hot Copenhagen. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 16:48:01 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Oct 2010 23:48:01 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Message-ID: Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav >>> shamil at smsconsulting.spb.ru 01-10-2010 23:12 >>> Hi Gustav -- Thank you for the link. I have got downloaded and I have looked through Umbraco 5.0 sources. This CMS seems to be MS ASP.NET MVC + NHibernate based, and both of them are not the frameworks/tools I wanted to learn and to use first place. I can be wrong. But I'd avoid learning and using Umbraco 5.0 for the time being, and I'll keep tryng to find good CMS projects using DNN. <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil P.S. "... c'etait l'automne, un automne ou il faisait beau une saison qui n'existe que dans le Nord de l'Amerique La-bas on l'appelle l'ete indien..." Joe Dassin -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2010 8:47 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil Oh, if you cannot find your way through the code, I wouldn't even attempt to try ... Another option is available as open-source as well, Umbraco: http://umbraco.org/ This was recently chosen by MS to power nothing less than the ASP.NET site itself: http://www.asp.net/ Today they released the alpha-version 4.6 named JUNO which now also will run off the tiny Microsoft SQL CE 4: http://umbraco.org/blog It _is_ in fact quite sunny here, indeed for the season. /gustav From shamil at smsconsulting.spb.ru Fri Oct 1 17:10:36 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:10:36 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> From hkotsch at arcor.de Fri Oct 1 17:19:58 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 00:19:58 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From shamil at smsconsulting.spb.ru Fri Oct 1 17:39:46 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 02:39:46 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From hkotsch at arcor.de Sat Oct 2 04:54:41 2010 From: hkotsch at arcor.de (Helmut Kotsch) Date: Sat, 2 Oct 2010 11:54:41 +0200 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: Message-ID: Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Oct 2 06:56:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Oct 2010 15:56:08 +0400 Subject: [dba-VB] OT: Altweibersommer/Babje Leto/Indian Summer - Was: RE: CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <29A00FFD50A4409AA0DFA10A918EEF67@nant> Hi Helmut -- I have checked some Russian sources here: http://evolutsia.com/content/view/1194/26/ http://www.onlinedics.ru/slovar/brok/b/babje.html http://novaya.com.ua/?/articles/2009/09/15/140448-13 and I have found ???? they give several explanations of "Babje Leto" expression's etymology: the main one corresponds to yours - this season a lot of thin gossamers(?) are floating in the air here - like the hairs of an "old woman"... <<< do you have also an ancient word for weaving that translates into old women? >>> I have checked one of the main dictionaries here to get etymology of this expression: http://www.slova.ru/article/676.html No, there is no any relations to an ancient word for weaving: "Babje Leto: Indian Summer, Webspinner, web, flying in the autumn in the fields and forests; its abundance heralds dry autumn." (????? ????, ????????, ???????, ???????? ?????? ?? ????? ? ?????; ?????? ?? ?????????? ????? ?????.) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 1:55 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil, now it gets very confusing. According to the following link: http://tinyurl.com/2caudvv Altweibersommer has nothing to do with old women but got the name from this sort of spider. The above link says: *********************************** Allegedly, this is because of the spider webs floating on the air or more visible due to dew and light frost - they are said to resemble long gray hair. Their web can be seen in early autumn. Let's agree to disagree; I found a fairly compreshensive site in German explaining about the origin of the term. It had to do with spiders, as both of us said, but their silk is said to resemble the threads spun by old ladies on their spinning wheels. "Weiben" is an older version of "weben" or "knupfen" - to weave. ************************************ My question now is: How derived the Russian language to the expression "Old Women Summer". Did they translate / steal it from the false German word or do you have also an ancient word for weaving that translates into old women???? Helmut -----Ursprungliche Nachricht----- Von: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]Im Auftrag von Shamil Salakhetdinov Gesendet: Samstag, 2. Oktober 2010 00:40 An: 'Discussion concerning Visual Basic and related programming issues.' Betreff: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Helmut -- <<>> That's funny :) - this season called the same way here in Russia - "Old Women Summer" or "Ba'bye Le'to" in Russian where "Baba" - "Old Woman" and "Leto" - Summer. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Saturday, October 02, 2010 2:20 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) <<< It _is_ in fact quite sunny here, indeed for the season. >>> That should be what is called "L'ete Indien" (fr.) season there now? (http://fr.wikipedia.org/wiki/%C3%89t%C3%A9_indien ) -- Shamil In North America they call it "Indian Summer" and in Germany it is "Altweibersommer" = "Old Women Summer". Helmut From accessd at shaw.ca Sat Oct 2 19:08:50 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 2 Oct 2010 17:08:50 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: Message-ID: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 02, 2010 1:48 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil OK, that leaves you with DNN. But didn't you have an issue or some trouble with this? Yes, it's that kind of weather - you can enjoy the afternoon sun but the temperature drops during the evening and night because of the clear sky. /gustav <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 23:27:52 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 00:27:52 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: <4CA80648.7050300@colbyconsulting.com> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:07:34 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:07:34 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA80648.7050300@colbyconsulting.com> References: <4CA80648.7050300@colbyconsulting.com> Message-ID: <1ACA585D67B947C486397FBD73F78470@nant> Hi John -- Maybe this tool http://www.starwindsoftware.com/converter mentioned here by Gustav in "Re: [dba-VB] Installing VS2010 on a PC with VS2008 SP1" thread will be helpful for you? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 8:28 AM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] running virtual machines in Windows 2008 I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sun Oct 3 03:13:27 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 12:13:27 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> From gustav at cactus.dk Sun Oct 3 08:27:00 2010 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 03 Oct 2010 15:27:00 +0200 Subject: [dba-VB] running virtual machines in Windows 2008 Message-ID: Hi John The converter which I and Shamil posted a link for should work. But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. /gustav >>> jwcolby at colbyconsulting.com 03-10-2010 06:27 >>> I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 server. The core service fails to install. Sigh. I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor built-in so here we go. I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out of VMWare into ? in MS land. I still have my old server up and will likely keep it around for awhile so I can continue to run the old VMWare VMs until I manage to convert. Any comments or words of wisdom? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 3 10:18:53 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 Oct 2010 11:18:53 -0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: References: Message-ID: <4CA89EDD.5040403@colbyconsulting.com> Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From shamil at smsconsulting.spb.ru Sun Oct 3 11:19:57 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 3 Oct 2010 20:19:57 +0400 Subject: [dba-VB] running virtual machines in Windows 2008 In-Reply-To: <4CA89EDD.5040403@colbyconsulting.com> References: <4CA89EDD.5040403@colbyconsulting.com> Message-ID: John -- XenServer seems to be able to make VMWAre VM conversion to its VM format: How to Convert VMware Virtual Machines to XenServer Virtual Machines http://support.citrix.com/article/CTX116603 http://downloadns.citrix.com.edgesuite.net/akdlm/4814/XenConvertGuide.pdf I must note I have never used that XenConvert utility, nor did I use XenServer... -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, October 03, 2010 7:19 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] running virtual machines in Windows 2008 Gustav, I tried the first versions of the browser based server and could not for the life of me figure out how to do ANYTHING!!!. So I stubbornly stuck with the last version of the windows app. That version failed to install correctly. This is a brand new Windows 2008 install and who knows where the issue lies. I am going to try the MS product if I can do the VM conversion. John W. Colby www.ColbyConsulting.com On 10/3/2010 9:27 AM, Gustav Brock wrote: > Hi John > > The converter which I and Shamil posted a link for should work. > But nothing stops you from bringing your old VMs to Win2008. Just install the current version of VMware Server and bring in and launch your VMs. The first release of its browser-based console was clumsy and slow but the current works like a dream and makes management extremely flexible. > > This is not to say that you should refrain from using the MS hypervisor. My impression is that this is a mature product as well, and so are XenServer of Citrix and Oracle/Sun VirtualBox. > > /gustav > > >>>> jwcolby at colbyconsulting.com 03-10-2010 06:27>>> > I have always used VMWare VMs. Free, easy. Now the old 1.10 won't install in my new Windows 2008 > server. The core service fails to install. Sigh. > > I have been considering moving to Microsoft's equivelent, and Windows 2008 has the hypervisor > built-in so here we go. > > I am looking at WinImage as a conversion tool. No idea what is involved. I need to get my VMs out > of VMWare into ? in MS land. > > I still have my old server up and will likely keep it around for awhile so I can continue to run the > old VMWare VMs until I manage to convert. > > Any comments or words of wisdom? > From accessd at shaw.ca Mon Oct 4 11:56:25 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 4 Oct 2010 09:56:25 -0700 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 13:39:43 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 14:39:43 -0400 Subject: [dba-VB] New Server Message-ID: <4CAA1F6F.3070606@colbyconsulting.com> Last week late and over the weekend I brought up the new server. That is a *lot* of work! The server consists of: 1 Norco 4020 case http://www.newegg.com/Product/Product.aspx?Item=N82E16811219021 1 Corsair 750W modular PS http://www.newegg.com/Product/Product.aspx?Item=N82E16817139010 1 Asus KGPE-D16 Dual Socket G34 motherboard http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 1 AMD Opteron 6128 8 core processor http://www.newegg.com/Product/Product.aspx?Item=N82E16819105266 2 Kingston 8GB 240-Pin DDR3 SDRAM http://www.newegg.com/Product/Product.aspx?Item=N82E16820139140 3 OCZ Vertex 2 OCZSSD2-2VTXE120G SSD http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 Windows *Server* 2008 Enterprise ;) SQL Server 2008 Enterprise Visual Studio 2008 Visual SVN One of the SSD drives is the boot drive, the other two will be for specific database files (raid 0). So essentially ATM the server is 8 cores and 16 gigs of RAM. Coming next another 8 core processor and another 16 gigs of RAM, to be followed by a final 32 gigs of RAM. Of course in typical fashion, not thinking about what I was doing, I moved the RAID controller and the drives over to the new server only to discover that I had not detached the databases and they would not attach. So I had to bring the old server back up, move the database files back over, attach and detach them, then move the files back to the new server, whereupon they all attached as expected. So as of this AM, the new server is up and functioning, with my SVN server / repository, and all databases functioning. I am planning on moving a couple of my main databases to the SSDs Raid 0 array. These are read-only databases, I do not write to them under normal circumstances. I will keep a current backup in case the Raid 0 array fails, but will work with them from the Raid 0 array on a daily basis. Having the main working databases on SSDs in a Raid 0 configuration, as well as more cores and more memory should allow me to do some of what I do in a much faster time frame. I do a lot of PK (autonumber) joins between tables, pulling multi-million record sets with data from each of the tables. I am hoping that this kind of processing will be much faster than when the source disks were on rotating media. We shall see. I still have the old server and will use it to run the test on rotating media, while doing an identical test on SSD on the new server. Of course I will not be testing just the effect of the SSD but rather the total speed increase of the entire system. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 4 14:20:22 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 4 Oct 2010 23:20:22 +0400 Subject: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) In-Reply-To: References: <90E0C5BF1FD24BA6B67AB80E08654EE4@creativesystemdesigns.com> Message-ID: <1562F91B71894A4CB3A370FBDA90BFAC@nant> Jim -- Was that DNN v.5.x? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Monday, October 04, 2010 8:56 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: Most of my experience is also third party but what I have been told is if you are going to work extensively with DNN be really careful with plug-ins and getting too carried away with inserting code. One friend likes it for straight forward sites but has had major crashes when he has wandered off the straight and narrow. On one occasion, he spent close to two weeks before he fixed a problem that he had caused. He found the many dependencies upon dependencies were not easy to follow and fix. That may not be your experience of course. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 03, 2010 1:13 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Jim -- What "certain unforeseen class errors" do you mean? As far as I see from my experience with DNN 4.x and now a bit of experience with DNN 5.x this CMS is very mature; and I know developers who make good business using DNN - I haven't heard from them on "unforeseen class errors"... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Sunday, October 03, 2010 4:09 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Shamil: You can add, depending on how you wish to deploy it (DNN), certain unforeseen class errors. If you want it clean and simple, community web base database system, no problem but anything fancy be careful and realize that it may take a bit of time to resolve some of the errors... ;-) Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 01, 2010 3:11 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] CMS: Umbraco (was: Composite C1 now open source) Hi Gustav -- I have had three main issues with DNN: - slow start-up; - limited built-in localization features; - the need to develop a DNN module for every subject area object (not a big issue to develop a DNN module per se but I thought that many custom modules influence badly start-up time. Also navigation between custom modules was an issue for me when I did learn DNN last year...) But it looks like most of the issues I was concerned about have now a good workarounds with DNN 5.x - and DNN web site can be made speedy enough even when running on a hosted web site - here are a few good examples: http://www.jackandjillholidays.com http://www.apronstagerestaurant.co.uk/Home.aspx http://www.thenewdesigner.co.uk/ The above DNN web sites are running on http://www.pipeten.com (89.248.50.*) Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 4 16:16:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:16:33 -0400 Subject: [dba-VB] Apples to Oranges Message-ID: <4CAA4431.5020903@colbyconsulting.com> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 drive) Raid 0. There is a clustered index on the PK as the index key. There is no index on the FieldX, forcing a field scan. I did a simple count PK Group By FieldX on both database files. The SSD returned the counts in 1:31 The rotating media returned the counts in 8:58 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Oct 4 16:36:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 17:36:49 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA4431.5020903@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> Message-ID: <4CAA48F1.20008@colbyconsulting.com> With an index, both databases took 2 seconds to return the results. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:16 PM, jwcolby wrote: > I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 > drive) Raid 0. > > There is a clustered index on the PK as the index key. > There is no index on the FieldX, forcing a field scan. > > I did a simple count PK Group By FieldX on both database files. > > The SSD returned the counts in 1:31 > The rotating media returned the counts in 8:58 > From jwcolby at colbyconsulting.com Mon Oct 4 17:05:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 18:05:13 -0400 Subject: [dba-VB] [AccessD] Apples to Oranges In-Reply-To: <4CAA48F1.20008@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com> <4CAA48F1.20008@colbyconsulting.com> Message-ID: <4CAA4F99.8000805@colbyconsulting.com> One pass of the query that updates the ' ' (space) to null value takes about 5 minutes on the SSD, whereas it takes about 30 minutes minutes on rotating media. I am not pursuing actually doing this on the SSD over nagging concerns about hot spot wear. However a actually need to do this for about 540 fields. At 1/2 hour / field... this will be running for the next month. John W. Colby www.ColbyConsulting.com On 10/4/2010 5:36 PM, jwcolby wrote: > With an index, both databases took 2 seconds to return the results. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:16 PM, jwcolby wrote: >> I On the new server, have the same database on my SSD (two drive) raid 0 and a rotating media (2 >> drive) Raid 0. >> >> There is a clustered index on the PK as the index key. >> There is no index on the FieldX, forcing a field scan. >> >> I did a simple count PK Group By FieldX on both database files. >> >> The SSD returned the counts in 1:31 >> The rotating media returned the counts in 8:58 >> From stuart at lexacorp.com.pg Mon Oct 4 17:39:23 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Oct 2010 08:39:23 +1000 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA4F99.8000805@colbyconsulting.com> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> Message-ID: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> At 1/2 hour / field, it should only take about 11.25 days :-) But my question is, do you have to do it a single field at a time? can't you update all the fields in a single pass? Something like: Update mytable set field1 = case field1 when " " then Null else field1 end, field2 = case field2 when " " then Null else field2 end, field3 = case field3 when " " then Null else field3 end, ... -- Stuart On 4 Oct 2010 at 18:05, jwcolby wrote: > One pass of the query that updates the ' ' (space) to null value takes > about 5 minutes on the SSD, whereas it takes about 30 minutes minutes > on rotating media. > > I am not pursuing actually doing this on the SSD over nagging concerns > about hot spot wear. > > However a actually need to do this for about 540 fields. At 1/2 hour > / field... this will be running for the next month. > > John W. Colby > www.ColbyConsulting.com > > On 10/4/2010 5:36 PM, jwcolby wrote: > > With an index, both databases took 2 seconds to return the results. > > > > John W. Colby > > www.ColbyConsulting.com > > > > On 10/4/2010 5:16 PM, jwcolby wrote: > >> I On the new server, have the same database on my SSD (two drive) > >> raid 0 and a rotating media (2 drive) Raid 0. > >> > >> There is a clustered index on the PK as the index key. > >> There is no index on the FieldX, forcing a field scan. > >> > >> I did a simple count PK Group By FieldX on both database files. > >> > >> The SSD returned the counts in 1:31 > >> The rotating media returned the counts in 8:58 > >> > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Mon Oct 4 19:07:39 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 Oct 2010 20:07:39 -0400 Subject: [dba-VB] [dba-SQLServer] [AccessD] Apples to Oranges In-Reply-To: <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> References: <4CAA4431.5020903@colbyconsulting.com>, <4CAA48F1.20008@colbyconsulting.com>, <4CAA4F99.8000805@colbyconsulting.com> <4CAA579B.32740.219869F9@stuart.lexacorp.com.pg> Message-ID: <4CAA6C4B.8060901@colbyconsulting.com> Uhh... I don't know. But I am guessing it would take me about 11.25 days to write the sql statement. ;) John W. Colby www.ColbyConsulting.com On 10/4/2010 6:39 PM, Stuart McLachlan wrote: > At 1/2 hour / field, it should only take about 11.25 days :-) > > But my question is, do you have to do it a single field at a time? can't you > update all the fields in a single pass? Something like: > > Update mytable set > field1 = case field1 > when " " then Null > else field1 > end, > field2 = case field2 > when " " then Null > else field2 > end, > field3 = case field3 > when " " then Null > else field3 > end, > ... > From mikedorism at verizon.net Tue Oct 5 08:00:04 2010 From: mikedorism at verizon.net (Doris Manning) Date: Tue, 05 Oct 2010 09:00:04 -0400 Subject: [dba-VB] Contract Management template Message-ID: Please forgive the cross post but.Does anyone happen to have a basic Contract Management template that they wouldn't mind sharing or know of a good low cost source for one? We need to be able to track Expiration date, Service Level, Terms, Contacts, Options on renewal, and Cost. Being able to handle or track Document Storage would also be a big plus. I would design it myself but I'm swamped with more requests than I can handle and am just looking for something I can put in place quickly and fix as we go. Back end needs to be SQL Server 2000. Front end can be either desktop or web-based. Thanks, Doris Manning Sr. Developer/Database Administrator Hargrove Inc. www.hargroveinc.com From Johncliviger at aol.com Wed Oct 6 11:17:45 2010 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 6 Oct 2010 12:17:45 EDT Subject: [dba-VB] Control handles Message-ID: <67a8a.5045b1a1.39ddfb29@aol.com> Hi all I'm using vb2005 win forms and I have around 30 command buttons on a form (where else). I use the Click event to fire a procedure. Rather that have the code for each command button, I've added to the end of the first command button click event multiple handles, one for each cmd button. so I have Private Sub Button1_Click(sender etc., e etc.,) Handles Button1.click, Button2.click and so on... End Sub I think this is a bit clunky. Is there a better way? TIA john cliviger From jwcolby at colbyconsulting.com Wed Oct 6 11:23:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 12:23:28 -0400 Subject: [dba-VB] Multi-core madness Message-ID: <4CACA280.9070302@colbyconsulting.com> I have never had more than 4 cores at my disposal. On the old (SQL) server I had two cores dedicated to SQL Server. On the new system I currently have 8 cores total and 6 of those dedicated to SQL Server. In the past I would do things like build a multi-field index on a 50 million record table and it would max out the two cores. I pretty much couldn't do anything else. Today I am building multi-field indexes on an "off-line" copy of my database from hell. Task manager tells me it is using about 40% of the total processor power, however the two cores dedicated to the system are not doing much. The other 6 cores are chugging away somewhere (visually) just under 50%. I needed to BCP (using the internal export wizard) about 30 million PKs and email addresses to a csv file. When I started that running, Task manager informed me that I was using just under 60% of the available processor power, but the first two cores (dedicated to Windows) started chugging away, presumably doing file IO and the like. My 6 SQL Server cores jumped up to around 65%. BTW, the export process ripped it out pretty darned fast. I didn't time it but the total took a minute or so. So I was able to get two tasks going, and still had plenty of horsepower left over. I then installed the 64 bit WinRar, which can use multiple threads, and had it compress the resulting text file as SQL Server continued building indexes. All very smooth. If I get no "bandwidth complaints", I will continue to post occasional emails regarding how long it takes to do stuff vs the old server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:20:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:20:14 -0400 Subject: [dba-VB] Apples to oranges - take 2 Message-ID: <4CAD2E5E.20101@colbyconsulting.com> OK, so I have two databases, each with a single table. BTW, these are two of my main tables, used all of the time in orders. HSID - otherwise known as the database from hell, 51157068 records, ~560 fields. HSIDAllAdults is a database where up to three adult names were lifted out of fields in HSID and placed in a table with a PK_HSID field pointing back to the HSID record from which the information came. Thus HSIDAllAdults is child to HSID in a manner of speaking (has a FK back to the PKID from HSID). HSIDAllAdults has about 67564677 million records, 27 fields. Each table has a PKID which is autonumber and a unique clustered index on the PKID. HSID is demographic information such as income bracket, ChildInAgeGroup_XXX, HasDog etc. and has a handful of indexes on the most commonly used demographics fields. HSIAllAdults has name / address / gender / position (in HSID) fields and has three indexes on it - NameAddr, Hash and one other. So... I have a copy of each of these databases on rotating media. I then backed up the rotating media file and restored on the SSD, so I have a copy of each database in two places. I do this BTW because the SSD is a Raid 0 as well as SSD, and I am worried that if I do too much writing on the SSD I will wear it out - as in hot spot updates due to index updates etc. Thus I will be doing maintenance on the rotating media and just copying the resulting db out to SSD for every day use. Anyway, this allows me to do A/B comparisons of common queries. For the purpose of this test / email, I joined HSID to HSIDAllAdults on the FK in HSIDAllAdults, then did a count of the PK in HSIDAllAdults Group By MOB (mail order buyer, one of the demographics fields in HSID). So the SSD query looks like: SELECT _DataHSID.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID.dbo.tblHSID.PKID GROUP BY _DataHSID.dbo.tblHSID.Mail_Order_BUYER And runs in 30 seconds, producing the following results: NULL 19702461 1 19422841 2 28439375 The rotating media query looks as follows: SELECT _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER, COUNT(dbo.tblAllAdultNameAddr.PK) AS Cnt FROM dbo.tblAllAdultNameAddr INNER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID GROUP BY _DataHSID_OffLine.dbo.tblHSID.Mail_Order_BUYER And runs in 1:50, producing the following results: NULL 19702461 1 19422841 2 28439375 The resulting count is identical (as expected), with rotating media taking almost 4 times as long to complete as the SSD. I will be storing these two queries in their respective databases (rotating / SSD) so that I can use them to test again when I add the second physical CPU chip and additional memory. BTW this was a pretty simple query as things go. A more normal query is to pull Name / address and a ValidAddress field out of HSIDAllAdults, filter the ValidAddr using something like In('V','E'), joining that to HSID and pulling out typically 4 to 6 fields from HSID to use in where clauses. So I am typically joining two tables of 50 million and 65 million records and then filtering on 4-8 fields, then actually capturing the resulting names / addresses and writing these into an order table. Depending on the criteria, I will pull anywhere from a 100 K or so up to 5 million or more names into the order table. The order table is created on the fly in an order database created just for that order. The order table will be on rotating media. Or I might eventually go buy another SSD to use specifically for building these order databases. Then if the SSD wears out I can just replace it with another. I currently spend a lot of time, hours at a time building these orders, running the queries, and manipulating the results to get the final export file. I am hoping to radically reduce my time twiddling my thumbs waiting for SQL Server. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 6 21:33:34 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 Oct 2010 22:33:34 -0400 Subject: [dba-VB] Apples to oranges take 2a Message-ID: <4CAD317E.6040700@colbyconsulting.com> Same two files, rotating / SSD. I was just curious whether I had any HSIDAllAdult records no longer found in HSID. So this is an outer join where HSID is null, pulling the PK from HSIDAllAdult. The results BTW were an empty set (no records found). The query: SELECT dbo.tblAllAdultNameAddr.PK FROM dbo.tblAllAdultNameAddr LEFT OUTER JOIN _DataHSID_OffLine.dbo.tblHSID ON dbo.tblAllAdultNameAddr.PKHSID = _DataHSID_OffLine.dbo.tblHSID.PKID WHERE (_DataHSID_OffLine.dbo.tblHSID.PKID IS NULL) and a similar one for SSD The SSD finished in 44 seconds. The rotating media in 1:42 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 7 14:53:12 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 07 Oct 2010 15:53:12 -0400 Subject: [dba-VB] Apples to Oranges - Take 3 Message-ID: <4CAE2528.9@colbyconsulting.com> One thing I do a lot is to export large csv files. Today I have to export ~51 million records to CSV, PK and email fields. I have a table which holds these and two other fields, with a clustered index on PK and a non-clustered index on the email. I exported from rotating media to rotating media and (very rough) got about 10 million records per 45 seconds. I then exported the same job from rotating media to SSD and got roughly the same performance. I then backed up and restored to the SSD (the log file to SSD as well). I then exported the same job from SSD to SSD and got roughly the same performance. I then exported SSD to rotating media and got roughly the same performance. So there ya have it, SSD apparently makes no difference no matter how you play it in this specific task. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Mon Oct 11 10:55:01 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 11 Oct 2010 19:55:01 +0400 Subject: [dba-VB] Installing MS SQL 2005 Express on a PC with MS SQL Server 2008 R2 (v.10.50.1600) Message-ID: Hi All -- Did you ever try to install MS SQL 2005 Express "in parallel" to an MS SQL 2008 R2 (v.10.50.1600) instance already installed on the same PC? It happened that my Windows hosting provider doesn't support MS SQL 2008 R2 (v.10.50.1600) backups' restore operations, and therefore I have to use MS SQL 2005 for some of my databases. Thank you. -- Shamil P.S. Another option could be to use MS Virtual PC with a test Windows XP instance and to install MS SQL 2005 on it but I wanted to avoid this "trouble" if MS SQL 2005 Express could install fine on a PC with MS SQL 2008.... From jwcolby at colbyconsulting.com Wed Oct 13 21:43:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 Oct 2010 22:43:15 -0400 Subject: [dba-VB] SSD, Raid 0 and (apparent) bandwidth Message-ID: <4CB66E43.3080505@colbyconsulting.com> I am pulling data out of HSID (the database from hell) on database _DataHSID and writing it into tblHSID in _DataMergePurge. Basically this is an inner join between a PK table in _DataMergePurge and HSID to select the records, then write them into the table in _DataMergePurge. I have both databases on the SSD, along with their respective log files. My temp files are on another 30g SSD. The database SSDs are a pair of disks, raid 0. I don't really have available separate SSDs for the log and data files, and I figured (though by no means certain) that the SSD would be faster even reading / writing both log and data than having the log on rotating media. Disk reads / writes are in Meg BYTES / minute (not second). My read volume is running pretty consistent between 400 and 450 mB/Minute out of _DataHSID and around 3 million bytes / minute out of _DataMergePurge. Response time 1 ms in both cases. All data from Resource Monitor. CPU is running around 25% average with most of that on the 6 cores dedicated to SQL Server. Suddenly a burst of writes to the log file at about 1.8 GBytes / min. 1 hard fault / minute every once in awhile, mostly 0. 14.8 Gig memory private to SQL Server's PID 37 minutes in and it hasn't even begun to write to the destination table. TempDb is up to about 5 gigs. MergePurge_Log about 1.1G atm. Another burst write to tempdb at around 1.8G / Min. Tempdb is a single SSD directly on an SATA port on the motherboard. At about 55 minutes in, data starts to write to the destination table. Fairly massive writes to both the log and data file for mergePurge - anywhere from 500 MBytes / minute up to 1 GByte / minute. Writing about 1.2 GBytes / minute between the log and the data file. Interestingly it is not *reading* at all (right now), it must be dumping from memory? About 930 MBytes / Minute to log, 333 MBytes / min to data. At 1 hour and 10 minutes it is finished. 4890683 row(s) affected (copied from the database from hell into the MP database). BTW the destination table has an existing clustered index (PK) on the People hash and PKID - two fields as the key. The MP data file is about 4.5 gb with 0 free. The MP log file is about 6 gigs with 1.6 gigs free. The tempdb file is about 5 gigs. That was interesting to watch. I sure wish I had more memory to see how that affects the system. ATM I am running 2 dims (channels) on a CPU socket that can use 4 channels, and "only" 16 gigs total available right now. I am supposed to get 64 gigs total and another CPU with 8 cores which would make it 4 dims of 8 gigs each per cpu (all 4 memory channels going). Who knows what that would do. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Oct 14 15:03:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 Oct 2010 16:03:47 -0400 Subject: [dba-VB] The SSD I am using Message-ID: <4CB76223.2050202@colbyconsulting.com> The following is the link to the SSD on Newegg - the model I purchased for my SQl Server. http://www.newegg.com/Product/Product.aspx?Item=N82E16820227551 This is a review that pretty much says it all. This thing is *fast*. http://benchmarkreviews.com/index.php?option=com_content&task=view&id=585&Itemid=60&limit=1&limitstart=11 -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 06:48:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 15:48:18 +0400 Subject: [dba-VB] "Converting" graphic design to HTML static design... Message-ID: <264A9C92915D4F789575C7B2D4030B23@nant> Hi All -- It's a bit off topic but if you develop ASP.NET web apps or DotnetNuke-driven sites then you might need to solve the subjec task. Yes, there are graphic designers who can do the subject work professionally and with very good quality but for some simple designs I'd prefer to do that work by myself if possible but I do not know where to look for hints - best hints I mean as the one for DNN skinning I'm referring in this post P.S. (I've recently got this invaluable link from my colleague...) In general would that be a correct assumption that there should be automatic/automated development tools, which can "cut" graphic design into a set of CSS files and a master page HTML? I'd imagine that tool should allow to set a "cut net" on top of graphic design and then "just" cut that net into css + html. And that tool should also allow I expect to "steal/get" fonts' designs if a designer will put sample words on top layer over graphic design... Something like that? Of course there should be manual work done after that graphic design cut. Is MS Expression Web a tool, which could satisfy my web design needs: http://www.microsoft.com/expression/products/Web_WhatIsExpressionWeb.aspx Thank you. -- Shamil P.S. Joe Brinkmans: DotNetNuke Skinning 101 (Part 1-5) http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2671/DotNetNuke- Skinning-101-Part-1.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke- Skinning-101-Part-2.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2694/DotNetNuke- Skinning-101-Part-3.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2782/DotNetNuke- Skinning-101-Part-4.aspx http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2811/DotNetNuke- Skinning-101-Part-5.aspx From shamil at smsconsulting.spb.ru Sat Oct 16 07:06:59 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 16:06:59 +0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Message-ID: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? From jwcolby at colbyconsulting.com Sat Oct 16 07:35:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 08:35:49 -0400 Subject: [dba-VB] Visual studio auto-generated CRUD Message-ID: <4CB99C25.1010003@colbyconsulting.com> I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Oct 16 08:43:19 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 17:43:19 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs Message-ID: <5D7D35075C4B41D9B56207D367DBB729@nant> Hi All -- I'm looking how to handle the subject task - below is the list of sources I have found. I have never written URL rewriting code, did you? Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module class library DLL, which will substitute "virtual URLs" with the real ones? If I install several such HTTP Modules in what sequence they will be called? Developing SEO friendly URLs with ASP NET 2.0 http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A SP_NET_2.0.asp Writing SEO friendly url using HttpHandlers in ASP.NET http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx URL Rewriting for IIS - SEO-Friendly URLS for ASP & .Net http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as p-net/ Search Engine Friendly URLs - URL Rewriting http://www.seoconsultants.com/articles/1000/urls SEO friendly URLs with ASP.NET http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html Friendly URLs and SEO http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- URLs-and-SEO.aspx SEO Friendly URL's with IIS 7 URL Rewriter http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe writer.aspx Generate SEO friendly URL at runtime in asp net http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a spx Seo-Friendly ???? ?? ASP NET (In Russian) http://www.sergeiantonov.com/2009/05/seo-asp-net.html SEO Friendly Improvements in ASP.Net 4.0 http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A SPNet_40.aspx Thank you. -- Shamil From jwcolby at colbyconsulting.com Sat Oct 16 08:47:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 Oct 2010 09:47:33 -0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <5D7D35075C4B41D9B56207D367DBB729@nant> References: <5D7D35075C4B41D9B56207D367DBB729@nant> Message-ID: <4CB9ACF5.5090301@colbyconsulting.com> Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From shamil at smsconsulting.spb.ru Sat Oct 16 10:07:44 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 16 Oct 2010 19:07:44 +0400 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <<>> Yes :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 16 ??????? 2010 ?. 17:48 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of > sources I have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > Module class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > endly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > 7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > -net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > s_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil From dbdoug at gmail.com Sat Oct 16 10:19:40 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 16 Oct 2010 08:19:40 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: Saturday is usually my most productive day - no client calls! Doug 2010/10/16 Shamil Salakhetdinov > <<>> > Yes :( > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 16 ??????? 2010 ?. 17:48 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs > > Working on a Saturday? > > Sorry I can't help, but I too am working on a Saturday. 8( > > John W. Colby > www.ColbyConsulting.com > > On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > > Hi All -- > > > > I'm looking how to handle the subject task - below is the list of > > sources I have found. > > > > I have never written URL rewriting code, did you? > > Is that "as simple as" making developed and setup and C#/VB.NET HTTP > > Module class library DLL, which will substitute "virtual URLs" with the > real ones? > > If I install several such HTTP Modules in what sequence they will be > called? > > > > Developing SEO friendly URLs with ASP NET 2.0 > > http://www.macronimous.com/resources/developing_SEO_friendly_websites_ > > with_A > > SP_NET_2.0.asp > > > > Writing SEO friendly url using HttpHandlers in ASP.NET > > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls- > > for-as > > p-net/ > > > > Search Engine Friendly URLs - URL Rewriting > > http://www.seoconsultants.com/articles/1000/urls > > > > SEO friendly URLs with ASP.NET > > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > > > Friendly URLs and SEO > > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Fri > > endly- > > URLs-and-SEO.aspx > > > > SEO Friendly URL's with IIS 7 URL Rewriter > > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS > > 7URLRe > > writer.aspx > > > > Generate SEO friendly URL at runtime in asp net > > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp > > -net.a > > spx > > > > Seo-Friendly ???? ?? ASP NET (In Russian) > > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > > > SEO Friendly Improvements in ASP.Net 4.0 > > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvement > > s_in_A > > SPNet_40.aspx > > > > > > Thank you. > > > > -- > > Shamil > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 16 14:48:19 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 Oct 2010 12:48:19 -0700 Subject: [dba-VB] URL-rewriting/SEO Friendly URLs In-Reply-To: <4CB9ACF5.5090301@colbyconsulting.com> References: <5D7D35075C4B41D9B56207D367DBB729@nant> <4CB9ACF5.5090301@colbyconsulting.com> Message-ID: <7B8EEB0FA75D4937ACC920C468E99BF0@creativesystemdesigns.com> It should be something like; "What's wrong? So you are not working Saturday and Sunday?...are you not feeeling well?" Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, October 16, 2010 6:48 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] URL-rewriting/SEO Friendly URLs Working on a Saturday? Sorry I can't help, but I too am working on a Saturday. 8( John W. Colby www.ColbyConsulting.com On 10/16/2010 9:43 AM, Shamil Salakhetdinov wrote: > Hi All -- > > I'm looking how to handle the subject task - below is the list of sources I > have found. > > I have never written URL rewriting code, did you? > Is that "as simple as" making developed and setup and C#/VB.NET HTTP Module > class library DLL, which will substitute "virtual URLs" with the real ones? > If I install several such HTTP Modules in what sequence they will be called? > > Developing SEO friendly URLs with ASP NET 2.0 > http://www.macronimous.com/resources/developing_SEO_friendly_websites_with_A > SP_NET_2.0.asp > > Writing SEO friendly url using HttpHandlers in ASP.NET > http://www.codeproject.com/KB/aspnet/SEO_url_in_asp_net.aspx > > URL Rewriting for IIS - SEO-Friendly URLS for ASP& .Net > http://www.bigoakinc.com/blog/url-rewriting-for-iis-seo-friendly-urls-for-as > p-net/ > > Search Engine Friendly URLs - URL Rewriting > http://www.seoconsultants.com/articles/1000/urls > > SEO friendly URLs with ASP.NET > http://blog.jitbit.com/2007/12/seo-friendly-urls-with-aspnet.html > > Friendly URLs and SEO > http://www.kentico.com/getdoc/32a58a34-7ccf-405b-9683-c2d77ba217f5/Friendly- > URLs-and-SEO.aspx > > SEO Friendly URL's with IIS 7 URL Rewriter > http://davidhayden.com/blog/dave/archive/2010/04/01/SEOFriendlyURLSIIS7URLRe > writer.aspx > > Generate SEO friendly URL at runtime in asp net > http://www.dotnetspark.com/kb/85-generate-seo-friendly-url-runtime-asp-net.a > spx > > Seo-Friendly ???? ?? ASP NET (In Russian) > http://www.sergeiantonov.com/2009/05/seo-asp-net.html > > SEO Friendly Improvements in ASP.Net 4.0 > http://www.codedigest.com/Articles/ASPNET/311_SEO_Friendly_Improvements_in_A > SPNet_40.aspx > > > Thank you. > > -- > Shamil > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Sun Oct 17 17:29:39 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 18 Oct 2010 09:29:39 +1100 Subject: [dba-VB] Visual studio auto-generated CRUD References: <4CB99C25.1010003@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D016B612C@ddi-01.DDI.local> Yikes! At least you don't have to write it out yourself J Is there a limit to SQL statement size? I would prefer the parameter version for 'normal' work, less issues with data. Is there a difference in performance? Cheers Michael M From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 16 October 2010 11:36 PM To: VBA Subject: [dba-VB] Visual studio auto-generated CRUD I am working on code to merge two records into one and update the merged record back into sql server. Visual studio builds crud statements automatically behind the scenes. The following is (part of) the update crud statement. This is for the database from hell with ~580 fields. AFAICT VS builds up a parameter for each field, then fills those parameters, then passes the lot back to SQL Server. Can you say Ick? Anyway, I thought I'd let you see what robo-code looks like behind the scenes. I clipped it down severely because the whole thing was too big to get into our forum email limits. There was SEVENTY SEVEN THOUSAND + characters in the original SQL statement. SEVENTY SEVEN THOUSAND. UPDATE [_DataHSIDMergePurge].[dbo].[tblHSID] SET [HashPerson] = @p1, [PKID] = @p2, [UpdCount] = @p3, [FieldsUpd] = @p4, [MergedRec] = @p5, [Household_Occupation_code] = @p6, [Presence_of_Adults_Unknown_Age] = @p7, [Presence_of_adults_age_75_specific] = @p8, [Presence_of_adults_age_65_74_specific] = @p9, [Presence_of_adults_age_55_64_specific] = @p10, [Presence_of_adults_age_45_54_specific] = @p11, [Presence_of_adults_age_35_44_specific] = @p12, [Presence_of_adults_age_25_34_specific] = @p13, [Presence_of_adults_age_18_24_specific] = @p14, [Presence_of_children_unknown_gender_00_17] = @p15, [Presence_of_Children_Age_00_02] = @p16, [Presence_of_Children_Age_03_05] = @p17, [Presence_of_Children_Age_06_10] = @p18, [Presence_of_Children_Age11_15] = @p19, [Presence_of_Children_Age_16_17] = @p20, [Number_of_Persons] = @p21, [Number_of_Children] = @p22, [Family_composition] = @p23, [Marital_Status] = @p24, [Match_File_Indicator] = @p25, [Household_Age_Indicator] = @p26, [Household_Age_Code] = @p27, [Number_of_adults_in_household] = @p28, [Narrow_Income_Band] = @p29, [Speaks_Spanish_at_Home_Self_Reported] = @p30, [SOHO_Indicator] = @p31, [Expand_Initial_to_Name_Match_Indicator] = @p32, [Second_Name_of_Opposite_Gender_Match_Indicator] = @p33, [Middle_Initial] = @p34, [Surname_Suffix] = @p35, [Gender_code] = @p36, [Title_code] = @p37, [Marital_Status_code] = @p38, [Age_In_2_Yr_Ranges] = @p39, [Member_code_of_person] = @p40, [Occupation_code_of_person] = @p41, [Verification_date_of_person] = @p42, [Given_name_of_person] = @p43, [Responder_Education] = @p44, [Spouse_Occupation] = @p45, [Spouse_Education] = @p46, [Spouse_Gender] = @p47, [Middle_Initial_for_opposite_gender] = @p48, Another piece: [Pct_SOME_OTHER_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_SOME_OTHER_RACE_HOUSEHOLDER] = @p1489)) AND ((@p1490 = 1 AND [Pct_2_RACE_HOUSEHOLDER] IS NULL) OR ([Pct_2_RACE_HOUSEHOLDER] = @p1491)) AND ((@p1492 = 1 AND [Pct_HISPANIC_or_LATINO_HOUSEHOLDER] IS NULL) OR ([Pct_HISPANIC_or_LATINO_HOUSEHOLDER] = @p1493)) AND ((@p1494 = 1 AND [Pct_HISPANIC_U15] IS NULL) OR ([Pct_HISPANIC_U15] = @p1495)) AND ((@p1496 = 1 AND [Pct_HISPANIC_15_59_YEARS_OF_AGE] IS NULL) OR ([Pct_HISPANIC_15_59_YEARS_OF_AGE] = @p1497)) AND ((@p1498 = 1 AND [Pct_HISPANIC_60_Plus] IS NULL) OR ([Pct_HISPANIC_60_Plus] = @p1499)) AND ((@p1500 = 1 AND [DMA_CODE] IS NULL) OR ([DMA_CODE] = @p1501)) AND ((@p1502 = 1 AND [MSA_CODE] IS NULL) OR ([MSA_CODE] = @p1503)) AND ((@p1504 = 1 AND [Heartburn_Acid_Indigestion_in_HH] IS NULL) OR ([Heartburn_Acid_Indigestion_in_HH] = @p1505)) AND ((@p1506 = 1 AND [HH_ACNE] IS John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1136 / Virus Database: 422/3203 - Release Date: 10/17/10 From bheid at sc.rr.com Tue Oct 19 20:33:56 2010 From: bheid at sc.rr.com (Bobby Heid) Date: Tue, 19 Oct 2010 21:33:56 -0400 Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 In-Reply-To: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> References: <3AB0F809FFEC4C46B1D2A1C7B1F53E38@nant> Message-ID: <000f01cb6ff6$dcf0fd10$96d2f730$@rr.com> Shamil, We have run into this some also at work. Our solution has been script the schema changes with SQL Compare (by RedGate) and if data needs to be move, move it with SQL Data Compare (also RedGate). Bobby -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 16, 2010 8:07 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] MS SQL 2008 and MS SQL 2008 R2 Hi All -- It happens that MS SQL 2008 and MS SQL 2008 R2 have incompatible backup format - the ones created by MS SQL 2008 R2 can't be used to restore MS SQL 2008 databases. This issue is a RPITA here now as I have got upgraded both my development PCs to MS SQL 208 R2 and my Windows Hosting provider has MS SQL 2008 only and no near future plans to upgrage to MS SQL 2008 R2. BTW, I have checked several well known Windows Hosting providers - they do not have MS SQL 2008 R2 installed, and also no near future plans to upgrade to MS SQL 2008 R2. Or it there a feature which I'm currently missing which will allow to make MS SQL 2008 R2 DB's backup in MS SQL 2008 format? What happens is that if I setup a MS SQL 2008 db on my Web hosting, then work with it (e.g. via DNN), and then I get its backup downloaded and installed locally on MS SQL 2008 R2 - that goes smoothly but I then will not be able to make local backup using MS SQL 2008 R2 to uploaded it and restore on my web hosting site :( Thank you. -- Shamil P.S. Yes, I can setup MS SQL 2005 Express in parallel to MS SQL 2008 R2 - that works OK, but I didn't try to install MS SQL 2008 - would that work? _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 19 21:13:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 Oct 2010 22:13:56 -0400 Subject: [dba-VB] Unraid Message-ID: <4CBE5064.502@colbyconsulting.com> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an UnRaid NAS. http://lime-technology.com/ I currently use Windows Home Server but have never been happy with all aspects of what it is and does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores work, I have had restores fail to work. When they refuse to restore I have just utterly failed to force that restore to ever work. I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other absolutely refuses to see the WHS server. Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you are rolling dice when you do your backups. WHS has never had that 100% reliability for me. So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. We shall see how this goes but it certainly looks promising. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Tue Oct 19 21:18:18 2010 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 19 Oct 2010 19:18:18 -0700 Subject: [dba-VB] Unraid In-Reply-To: <4CBE5064.502@colbyconsulting.com> References: <4CBE5064.502@colbyconsulting.com> Message-ID: Three 1GB drives? What did that set you back, $2.99? Sorry, I couldn't resist :) Doug On Tue, Oct 19, 2010 at 7:13 PM, jwcolby wrote: > I got a good deal on three 1GB Samsung drives the other day, and as a > result I am about to launch an > UnRaid NAS. > > http://lime-technology.com/ > > I currently use Windows Home Server but have never been happy with all > aspects of what it is and > does. I absolutely love the way that it backs up computers, with the > sector copy / compare. Cool > technology. Unfortunately my experience has seen an abysmal restore > scenario. I have had restores > work, I have had restores fail to work. When they refuse to restore I have > just utterly failed to > force that restore to ever work. > > I have the same experience with the backup. 9 of 10 of my machines restore > faithfully, the other > absolutely refuses to see the WHS server. > > Backups have to be 100% absolutely reliable and restores have to be 100% > absolutely reliable or you > are rolling dice when you do your backups. WHS has never had that 100% > reliability for me. > > So I am about to take down my WHS in favor of an UnRaid NAS and plain old > backup software. > > We shall see how this goes but it certainly looks promising. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Wed Oct 20 05:11:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 06:11:49 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: <4CBE5064.502@colbyconsulting.com> Message-ID: <4CBEC065.5010106@colbyconsulting.com> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a >> result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all >> aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the >> sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore >> scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have >> just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore >> faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% >> absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% >> reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old >> backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 20 05:59:26 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 12:59:26 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: http://www.iscsicake.com/ Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 12:11 >>> NewEgg had them on sale for $55, maximum of 3 per customer. That makes a good start for a NAS. I have pieces and parts laying around the office so the rest of the box will just be spare parts. I do have to buy the UnRaid license though. John W. Colby www.ColbyConsulting.com On 10/19/2010 10:18 PM, Doug Steele wrote: > Three 1GB drives? What did that set you back, $2.99? > > Sorry, I couldn't resist :) > > Doug > > On Tue, Oct 19, 2010 at 7:13 PM, jwcolbywrote: > >> I got a good deal on three 1GB Samsung drives the other day, and as a result I am about to launch an >> UnRaid NAS. >> >> http://lime-technology.com/ >> >> I currently use Windows Home Server but have never been happy with all aspects of what it is and >> does. I absolutely love the way that it backs up computers, with the sector copy / compare. Cool >> technology. Unfortunately my experience has seen an abysmal restore scenario. I have had restores >> work, I have had restores fail to work. When they refuse to restore I have just utterly failed to >> force that restore to ever work. >> >> I have the same experience with the backup. 9 of 10 of my machines restore faithfully, the other >> absolutely refuses to see the WHS server. >> >> Backups have to be 100% absolutely reliable and restores have to be 100% absolutely reliable or you >> are rolling dice when you do your backups. WHS has never had that 100% reliability for me. >> >> So I am about to take down my WHS in favor of an UnRaid NAS and plain old backup software. >> >> We shall see how this goes but it certainly looks promising. >> >> -- >> John W. Colby >> www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Oct 20 07:07:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 Oct 2010 08:07:11 -0400 Subject: [dba-VB] Unraid In-Reply-To: References: Message-ID: <4CBEDB6F.8090105@colbyconsulting.com> Gustav, > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. UnRaid is not a simple file share, but rather simple file share on top of a fairly low cost storage pool based "raid like" NAS system. It is similar to WHS in that it allows you to just add any old drive and have it added to the storage pool, but unlike WHS it does not use 2X drives for X storage. Beyond that it is just a NAS. I have never used it but it gets good reviews. As you probably know, everybody does RAID, but every raid that I have ever seen (other than UnRaid) requires manually matching drives, manually setting them up etc. Unraid (and WHS) allow you to just drop in a new drive and it gets added to the storage pool automatically. You can have hot spares and all that. I have all of my family photos, music and videos as well as all of my software source disks on WHS at the moment. The problem is that I have 3 gigs of video that is unprotected and in order to protect it I would need to do a raid or throw up my hands and give WHS its 2X storage. Or just go build a NAS specifically designed to do this. The only NAS I have found that doesn't make you do the (learn-how-to) Build-a-raid shuffle is UnRaid. If there are others I am all ears. I am not a Linux geek, nor a NAS geek and I don't wanna have to be one. One of the promises of WHS was that you could just plug in a new drive when you need more storage. No thinking, no figuring out how it all works. Free is good, but any time I have to spend on it counts against the "free". > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. That sounds fascinating, but what I am doing now is just for my home stuff. Not to mention iSCSI appears to cost money plus tie up a windows license as the host. If I needed that stuff then fine, but I don't. John W. Colby www.ColbyConsulting.com On 10/20/2010 6:59 AM, Gustav Brock wrote: > Hi John > > For what it is - a simple fileshare (CIFS/SMB) only - the unRaid seems pretty expensive. Did you study the free alternatives like FreeNAS? > > Also, don't you subscribe to the Action Pack? If so you should have plenty of server licenses to set up a straight Windows file share with or without AD - or even the Small Business Server. Or you could pick an old Windows 2000 license. > > Have you considered iSCSI for sharing and to set up a SAN? That is extremely flexible and much better if your task is not so much file sharing but rather allocating of disc space. On your server you allocate some disk space (a target) and from your client you address this (using the Microsoft iSCSI Initiator) and that disk space pops up as a local disk. > Free options are again FreeNAS (which I haven't tested) but should be somewhat limited. Or OpenFiler (Linux based) or OpenSolaris which runs its impressive ZFS filesystem. However, for a Windows guy and speaking of experience, these represent a learning curve which you may not be tempted to pass; but Windows options are available at a cost. StarWindSoftware used to have a free entry-level version but that has been taken off-line - quite a pity as it is excellent software. Thus, the only offer at a friendly cost, I can locate, is iSCSI Cake: > > http://www.iscsicake.com/ > > Using iSCSI you can set up a network connection with multiple port truncated NICs and set these to use Jumbo frames to obtain transfer speeds comparable to local disks. > > /gustav From Gustav at cactus.dk Wed Oct 20 07:41:02 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Oct 2010 14:41:02 +0200 Subject: [dba-VB] Unraid Message-ID: Hi John OK, didn't realize this was home stuff only. /gustav >>> jwcolby at colbyconsulting.com 20-10-2010 14:07 >>> That sounds fascinating, but what I am doing now is just for my home stuff. From jwcolby at colbyconsulting.com Thu Oct 21 07:39:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 Oct 2010 08:39:55 -0400 Subject: [dba-VB] Unraid is (mostly) working Message-ID: <4CC0349B.3070701@colbyconsulting.com> Man Linux is *so* much fun. ;) UnRaid is a bare bones application that does exactly what it advertises. Getting the boot flash disk built and booting is a no brainer. For windows users, anything after that is not. But we persist and eventually get there. I now have a system with 4x 1 TB disks for storage and a 1.5TB disk for parity. Because the parity drive has to be as large as the largest data disk, and because I had two 1.5 TB disks and wanted to be able to use them in the UnRaid server, and because both were full of video, I had to figure out how to do things that you wouldn't normally have to do - run without parity long enough to empty one of the parity disks, then slide that (now empty) disk in as the parity disk. But in the end it worked and I now have 4x 1TB data disks and a 1.5Tb parity disk. There is data on one of the TB data disks unprotected until the parity build finishes in about 8 hours. Once the parity build finishes I will copy the data from the other 1.5 TB disk onto the UnRaid data disks and then drop that last 1.5 TB disk into the UnRaid. At that time I will have all 6 of my motherboard's SATA ports filled - Parity and 5 data drives. Beyond that I will need to find an add-in card with more SATA ports. It appears that the community uses this card: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101358&Tpk=Supermicro%20AOC-SASLP-MV8 which provides an additional 8 ports and apparently just works. I do have a ton of 640 GB drives which I could drop in if I need the storage but near term I do not. Long term I will probably use this as backup storage - backup of my computers around the house / office as well as near line backup for the SQL Server. So I am close to having a usable UnRaid NAS, just waiting for the parity calcs to finish. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Oct 22 15:36:27 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 Oct 2010 16:36:27 -0400 Subject: [dba-VB] New system building an order Message-ID: <4CC1F5CB.5050706@colbyconsulting.com> Today I received another 16 GB ram and put in the SQL server. I now have a single CPU / 8 cores and 32 gigs of memory. I assigned 27 Gigs to SQL Server and left 5 to the system. I decided to test the new server building a moderately complex order. This order pulls about 5 million OrderData records from a series of views. _DataAllAdults.tblAllAdultsNameAddr table has a clustered index on the PKID and an NameAddress cover index which covers all of the name / address fields as well as the gender and AddressValid flag. vAllAdults selects records from that table which have specific codes in the ValidAddr vield. vAllFemales selects records from vAllAdults where the gender is 'F'. _DataHSID holds the database from hell, the tblHSID with ~50 million records with ~600 fields. Ut has a variety of cover indexes on it which cover specific groups of fields. vHSIDOrderCriteria joins vAllFemales and the DataHSID.tblHSID on the PKHSID, and uses a where clause which selects specific values from specific fields. Under most circumstances I just edit and save vHSIDOrderCriteria to select the correct HSID fields / values to pull the desired records. I then run an external C# program which dynamically builds the tblOrderData using the field list from vHSIDOrderCriteria (which obviously changes from order to order) and then populates that temp table with the data pulled using vHSIDOrderCriteria. In this case, ~5 million records were selected and stored in tblOrderData. This is the first time ever that I have had more than 2 cores and about 12 gigs of memory to use to run the order. I do not have any timing information for past runs. However what I observed is that processing the order caused all 6 cores assigned to SQL Server to almost max out for the first part of the order process. It wasn't flat line at the top but it was in the 90+ % utilized for all 6 cores, for part of the time - perhaps 40% of the duration. The rest of the time it maxed out a single core. and partly used another. And it used 29+ gigs of memory during use. This order process is the first step in processing an order and takes awhile to complete. I now have _DataAllAdults and _DataHSID on SSD. This is the first time I have ever seen all six cores close to max. No promises, but just out of curiosity I am going to try and "recreate" the old system, with a copy of _DataAllAdults and _DataHSID on rotating media, assign 12 gigs of memory as in the "olden days" and then do a simple stopwatch timing of the two. It really won't be even close to the old system because the old CPU was a quad core at 3 GHZ and this one is 8 cores at 2 GHZ. In the old system I assigned 2 cores to SQL Server, and it would often max out both cores. This one I am assigning 6 cores and it runs about 9% of all six cores at times. None the less it should give a feeling for the relative speed with all the changes. Because of the way I layer the views it should be fairly easy to build a copy database and then modify two specific views to point to the copy of data on rotating media. After that it is really just a matter of running it twice, once for each order database copy. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Oct 23 10:35:44 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 23 Oct 2010 11:35:44 -0400 Subject: [dba-VB] Backing up Windows 2008 Message-ID: <4CC300D0.8060700@colbyconsulting.com> I need to do a system disk backup for Windows. I am probably going with Acronis home for all of my non-server machines, however they want something like $500 / machine for server licenses. While I am sure it is worth it, I just don't have that kind of cash just to get a backup. I have never used the Windows built-in backup but it seems that it does exist. Has anyone here used it? Restored from it? Easy / hard? Potential issues? -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Thu Oct 28 09:20:03 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 18:20:03 +0400 Subject: [dba-VB] PDC10 Online Message-ID: Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil From shamil at smsconsulting.spb.ru Thu Oct 28 11:09:45 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 28 Oct 2010 20:09:45 +0400 Subject: [dba-VB] PDC10 Online In-Reply-To: References: Message-ID: <67CD8947AA5B409695739A715E287081@nant> It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 28 15:48:58 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 13:48:58 -0700 Subject: [dba-VB] PDC10 Online In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: Shamil: Took an hour out and the improvements and new features added to C# and VB.Net are impressive...asynchronization is assume for webaps and being able to effortlessly convert from VB.Net to C# and back a nice touch. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 28, 2010 9:10 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] PDC10 Online It has been started at http://player.microsoftpdc.com/session Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 28 ??????? 2010 ?. 18:20 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] PDC10 Online Hi All, FYI: PDC10 Online - http://player.microsoftpdc.com/ It starts today, 28-OCT-2010, at 17:00 GMT. It's free. Thank you. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 29 00:20:46 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 28 Oct 2010 22:20:46 -0700 Subject: [dba-VB] A simple colorative online editor In-Reply-To: <67CD8947AA5B409695739A715E287081@nant> References: <67CD8947AA5B409695739A715E287081@nant> Message-ID: <8E5E797389694C0BA6FCA62D067ED8BD@creativesystemdesigns.com> Here is a simple online tool for a couple of people doing a real-time colabrative programming effort. There is nothing fancy, no IDE or compiling but it does do layout and editing and does support a number of languages. http://gigaom.com/collaboration/ethercodes-online-collaborative-code-editing / Have fun Jim From shamil at smsconsulting.spb.ru Fri Oct 29 04:05:14 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:05:14 +0400 Subject: [dba-VB] Unspecified Error Message-ID: <7F8D0C7655D5471EB95E936157B6DF29@nant> Hi All -- After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using .mdb files as backend I'm getting the following runtime error: Exception -> Unspecified error StackTrace -> at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OleDb.OleDbConnection.Open() at NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, Boolean filterOutUninitializedRows) It looks like this is an OleDbProvider bug. Have you seen/experienced something like that? Context: 1. I do exclusively use using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } 2. I do use IN clause in some select SQL expressions to point to external MDB tables. I guess the issues is caused by case (2). Although that's still a hypothesis here to check (some code fixes are needed in the core code of my application, and I'm considreing now will that be worth fixing, or I should better switch to MS SQL backend.) Thank you. -- Shamil From shamil at smsconsulting.spb.ru Fri Oct 29 04:09:08 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 13:09:08 +0400 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Hi All -- Did you work with MS SQL Server 3.5 Compact edition? http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx Will that work with MS SQL Server 2008 R2 databases? How do you distribute your application using MS SQL Server 3.5 Compact edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is on Internet but I have never worked with it and I hope you have some hints to get up&running here ASAP) Thank you. -- Shamil From jwcolby at colbyconsulting.com Fri Oct 29 05:31:22 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 06:31:22 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <7F8D0C7655D5471EB95E936157B6DF29@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> Message-ID: <4CCAA27A.1090007@colbyconsulting.com> I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application using > .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOption > s options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbCon > nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection > outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEnumerat > ion programType, Int32 startRowNum, Int32 rowsQty, Boolean setupInProgress, > Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to external > MDB tables. > > I guess the issues is caused by case (2). Although that's still a hypothesis > here to check (some code fixes are needed in the core code of my > application, and I'm considreing now will that be worth fixing, or I should > better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 08:59:41 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 17:59:41 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAA27A.1090007@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> Message-ID: <719F586C923F4CAA86593EBD5183F34A@nant> Hi John -- Thank you for your reply. I guess "connections leaking" happens in my case because of the usage of IN clause and because of bug in OleDbProvider happening in that context: "automatic connection" opened somewhere inside OleDbProvider isn't getting closed - something like that.... In general when you use: using (OleDbConnection cnn = new OleDbConnection("{{mymdbConnectionStringHere}}")) { cnn.Open(); ... } then there is no "connections leaking" - GC works well. The same is true for SQL Server data provider also. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 14:31 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error I've never programmed against an MDB. Are you opening and closing the connection repeatedly? I did have an issue where I was "leaking" connections (kinda) and ran out of connections to SQL Server. Basically the garbage collector runs when it thinks it needs to. If you don't force a cleanup of non-native (to .Net) objects such as SQL Server connections, then the GC doesn't know it needs to clean up and doesn't do so. I had to build a dispose method for my classes and intentionally call that dispose method as the class was closed, which forced the GC to release the non-native objects immediately instead of whenever it decided to. John W. Colby www.ColbyConsulting.com On 10/29/2010 5:05 AM, Shamil Salakhetdinov wrote: > Hi All -- > > After several hours (~6 hours Win7 64bit, ~24hours WinXP) of running > multi-threaded (.NET Framework 3.5 SP1 WinForms) desktop application > using .mdb files as backend I'm getting the following runtime error: > > Exception -> Unspecified error > > StackTrace -> at > System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString > constr, OleDbConnection connection) > at > System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnection > Option s options, Object poolGroupProviderInfo, DbConnectionPool pool, > DbConnection > owningObject) > at > System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection > (DbCon nection owningConnection, DbConnectionPoolGroup poolGroup) > at > System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnectio > n > owningConnection) > at > System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectio > n outerConnection, DbConnectionFactory connectionFactory) > at System.Data.OleDb.OleDbConnection.Open() > at > NetworkManager.SearchInputFileHandler.GetInputRows(SearchProgramTypeEn > umerat ion programType, Int32 startRowNum, Int32 rowsQty, Boolean > setupInProgress, Boolean filterOutUninitializedRows) > > It looks like this is an OleDbProvider bug. > > Have you seen/experienced something like that? > > Context: > > 1. I do exclusively use > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > 2. I do use IN clause in some select SQL expressions to point to > external MDB tables. > > I guess the issues is caused by case (2). Although that's still a > hypothesis here to check (some code fixes are needed in the core code > of my application, and I'm considreing now will that be worth fixing, > or I should better switch to MS SQL backend.) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 09:23:08 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 10:23:08 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <719F586C923F4CAA86593EBD5183F34A@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com> <719F586C923F4CAA86593EBD5183F34A@nant> Message-ID: <4CCAD8CC.1030005@colbyconsulting.com> Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage of IN > clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't getting > closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an issue > where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. Basically the > garbage collector runs when it thinks it needs to. If you don't force a > cleanup of non-native (to .Net) objects such as SQL Server connections, then > the GC doesn't know it needs to clean up and doesn't do so. I had to build > a dispose method for my classes and intentionally call that dispose method > as the class was closed, which forced the GC to release the non-native > objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Fri Oct 29 09:55:50 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 18:55:50 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCAD8CC.1030005@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant> <4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi John -- Did you consistenly use the following code block when working with MS SQL Connections? using (SqlConnection cnn = new SqlConnection("{{mySQLBackendConnectionStringHere}}")) { cnn.Open(); ... } When such block is used then Dispose is called "automagically" AFAIK: I have developed a large ASP.NET application with MS SQL backend - and I have never had SQL connections leaks with it Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 18:23 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Shamil, When I say "connection leak", the leak wasn't permanent. IOW I would eventually get them back, but not until GC finally cleaned up the dereferenced class instances. It seems that there is a finite and surprisingly small quantity of SQL Server connections available. My problem was that I would instantiate a class. Inside of that class I would dimension a connection, open it, use it, and close it. The problem was that I would terminate the class and dereference it, so that the GC could clean it up. However the GC cleans up when it determines that it needs *memory*. It knows nothing about external objects such as connections. Until the GC cleaned up the class the connection object was still referenced and the connection object's dispose is not called until GC cleans up. Whenever the GC finally cleaned up the class, then the dispose of the connection was finally being called. Apparently because I have a lot of memory, GC gets "lazy" and doesn't cleanup all that often. I was getting all kinds of bizarre behavior around working with SQL Server. Once I researched the problem and created a dispose in every class that used connections (which called the dispose of the connection), and manually called my class' dispose before dereferencing the class that used the connection, then my "connection leak" went away along with all the bizarre behavior. True story, really happened, really went away when I did this. I am not saying this is necessarily your problem. John W. Colby www.ColbyConsulting.com On 10/29/2010 9:59 AM, Shamil Salakhetdinov wrote: > Hi John -- > > Thank you for your reply. > > I guess "connections leaking" happens in my case because of the usage > of IN clause and because of bug in OleDbProvider happening in that context: > "automatic connection" opened somewhere inside OleDbProvider isn't > getting closed - something like that.... > > In general when you use: > > using (OleDbConnection cnn = new > OleDbConnection("{{mymdbConnectionStringHere}}")) > { > cnn.Open(); > ... > } > > then there is no "connections leaking" - GC works well. > The same is true for SQL Server data provider also. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 29 ??????? 2010 ?. 14:31 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Unspecified Error > > I've never programmed against an MDB. > > Are you opening and closing the connection repeatedly? I did have an > issue where I was "leaking" > connections (kinda) and ran out of connections to SQL Server. > Basically the garbage collector runs when it thinks it needs to. If > you don't force a cleanup of non-native (to .Net) objects such as SQL > Server connections, then the GC doesn't know it needs to clean up and > doesn't do so. I had to build a dispose method for my classes and > intentionally call that dispose method as the class was closed, which > forced the GC to release the non-native objects immediately instead of whenever it decided to. > > John W. Colby > www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 12:43:38 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 21:43:38 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 12:55:55 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 13:55:55 -0400 Subject: [dba-VB] Unspecified Error In-Reply-To: References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> Message-ID: <4CCB0AAB.400@colbyconsulting.com> Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName > FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId > ORDER BY Order.OrderDate DESC > - ************* TEST SQL **************** - > 29/10/2010 21:36:31: 1. ThreadCount = 9 > 29/10/2010 21:36:32: 2. ThreadCount = 18 > 29/10/2010 21:36:32: 3. ThreadCount = 21 > 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 > 29/10/2010 21:36:33: 6. ThreadCount = 33 > 29/10/2010 21:36:34: 7. ThreadCount = 36 > 29/10/2010 21:36:34: 8. ThreadCount = 38 > 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 > 29/10/2010 21:36:35: 11. ThreadCount = 36 > 29/10/2010 21:36:36: 12. ThreadCount = 40 > 29/10/2010 21:36:36: 13. ThreadCount = 44 > 29/10/2010 21:36:36: 14. ThreadCount = 46 > 29/10/2010 21:36:37: 15. ThreadCount = 45 > 29/10/2010 21:36:37: 16. ThreadCount = 52 > 29/10/2010 21:36:37: 17. ThreadCount = 57 > 29/10/2010 21:36:38: 18. ThreadCount = 61 > 29/10/2010 21:36:38: 19. ThreadCount = 60 > 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:39: 23. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:40: 26. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 > 29/10/2010 21:36:41: 28. ThreadCount = 64 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error > 29/10/2010 21:36:42: 30. ThreadCount = 63 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 > StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 > OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 > Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:01:22 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:01:22 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <612CE7EB7DB648B3B81010F896E0CE3A@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based apps is > on Internet but I have never worked with it and I hope you have some hints > to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 13:08:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:08:37 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <4CCB0AAB.400@colbyconsulting.com> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> Message-ID: <811AE90316074521B84BCB781FD6BCC7@nant> Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 29 ??????? 2010 ?. 21:56 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Unspecified Error Glad you figured it out! John W. Colby www.ColbyConsulting.com On 10/29/2010 1:43 PM, Shamil Salakhetdinov wrote: > Hi All, > > Yes, the issue was with IN clause - here is the test solution: > > http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 > > It has tow tests of the same join SQL with and without using IN clause. > Below is the sample output of the test case using IN clause - it fails. > When IN clause isn't used then it works OK. > > F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 > + ******** OleDbConnection Test ********* + > 1st arg = 1 - test case > 2nd arg = 100 max cycles qty > Test case #1: use IN '' clause > Test case #2: DO NOT use IN '' clause > + ************* TEST SQL **************** + > SELECT > Order.OrderID, Order.OrderDate, > Customer.CompanyName, Employee.FirstName, > Employee.LastName, Product.ProductName, > OrderDetail.Quantity, Category.CategoryName FROM Customer > INNER JOIN ((select * from Employee IN '' > [;Database=F:\Temp6\OleDbProvider > Test\Bin\Northwind.NET.mdb]) as Employee > INNER JOIN (((select * from Category IN '' > [;Database=F:\Temp6\OleDbProvide > rTest\Bin\Northwind.NET.mdb]) as Category > INNER JOIN (select * from Product IN '' > [;Database=F:\Temp6\OleDbProviderTes > t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = > Product.CategoryID > ) > INNER JOIN ((select * from [Order] IN '' > [;Database=F:\Temp6\OleDbProviderTe > st\Bin\Northwind.NET.mdb]) as [Order] > INNER JOIN (select * from OrderDetail IN '' > [;Database=F:\Temp6\OleDbProvid > erTest\Bin\Northwind.NET.mdb]) as OrderDetail > ON Order.OrderID = OrderDetail.OrderID) > ON Product.ProductID = OrderDetail.ProductID) > ON Employee.EmployeeID = Order.EmployeeID) > ON Customer.CustomerId = Order.CustomerId ORDER BY > Order.OrderDate DESC > - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. > ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 > 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 > 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. > ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 > 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 > 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. > ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 > 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = > 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. > ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 > 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = > 60 29/10/2010 21:36:38: 20. ThreadCount = 65 > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:39: 22. ThreadCount = 63 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Cannot open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. > ThreadCount = 64 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > TestConnection.ERROR:Cannot open any more databases. > 29/10/2010 21:36:41: 29. ThreadCount = 62 > TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. > ThreadCount = 63 TestConnection.ERROR:Unspecified error > TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot > open any more databases. > 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 > 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, > ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... > TestConnection.ERROR:Cannot open any more databases. > > > Thank you. > > -- > Shamil > > > <<< snip>>> From shamil at smsconsulting.spb.ru Fri Oct 29 13:13:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:13:18 +0400 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> Message-ID: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Thank you, David, But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or SQL Server CE 3.5 SP1 databases are just the ones created and managed within Visual Studio solutions and then distributed together with such a solution setup kit? (I have never used SQL Server CE) Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: 29 ??????? 2010 ?. 22:01 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SQL Server Compact 3.5 I used it on Mobile devices. I developed a ClickOnce VB.Net Launcher app that our users run to copy the SDF from the mobile device over to the PC. The VB app then pulls datasets (invoices) from the SDF using ADO.Net and passes them to a web service. Different datasets (customer updates, New "wishlist orders", Item updates) are also returned via the web service and inserted into the SDF. The SDF is then copied back to the mobile device. Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly via my app. I had to write some custom Bootstrappers to detect if the correct prequisites were installed. The prerequisites are: Windows Installer 3.1 .Net Framework 3.5 SP1 MS ActiveSync 4.5 (if using WinXP) Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE 3.5 SP1 (X64) I didn't like Click once at first as I thought it was very limited. After finding out about writing Bootstrappers, I was much more happier with it. On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov wrote: > Hi All -- > > Did you work with MS SQL Server 3.5 Compact edition? > http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx > > Will that work with MS SQL Server 2008 R2 databases? > How do you distribute your application using MS SQL Server 3.5 Compact > edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based > apps is on Internet but I have never worked with it and I hope you > have some hints to get up&running here ASAP) > > Thank you. > > -- > Shamil > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Oct 29 13:23:00 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 22:23:00 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <811AE90316074521B84BCB781FD6BCC7@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com> <811AE90316074521B84BCB781FD6BCC7@nant> Message-ID: <2B3723BF3279424DB024D49342954CD5@nant> Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> From jwcolby at colbyconsulting.com Fri Oct 29 13:30:50 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 14:30:50 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? Message-ID: <4CCB12DA.2090404@colbyconsulting.com> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture overruns. I need to know what is possible to do with EBay automation of: 1) Placing the listing 2) Monitoring the listing 3) Understanding if payment has been received (paypal only for now) 4) Tracking fees etc. 5) Everything I haven't even thought of. Is anyone in this group doing this? -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Fri Oct 29 13:53:15 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:53:15 -0700 Subject: [dba-VB] SQL Server Compact 3.5 In-Reply-To: <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> References: <612CE7EB7DB648B3B81010F896E0CE3A@nant> <097A39E0EDFD4528AFC6A1A6AEDE0F43@nant> Message-ID: Yes, you can (and I do) use Click Once bootstrap to set up SQL CE. I like the one I wrote better than some of the ones that I found because it works with our users and business rules. I can send you the XML files off line if you want. You can make Bootstrappers to define prerequisites for your custom include files as well. If they don't exist, download and install them :) You can make bootstrappers for MSIs as well as for Click Once, if you prefer to create a MSI installer package. >From the Solution Explorer, go to your project's Setup Properties page, click on the "Prerequisites..." button and check the ones that you need. You obviously had to put your custom ones in the required path first to get them to display on this list. Copy Bootstrapper file(s) to: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages so Visual Studio 2008 can see them The thing that I still don't like about ClickOnce is if you put out an update and don't make it a required update and the user clicks "No" when prompted, they never get prompted again (it should have a choice for the prompt, like "not this time" or "Don't remind me"). I simply make every update required :). They are very quick. It is very similar to launching a batch file and copying over an mdb if needed. The other thing that I do is keep a copy of all of my MS required files on our servers and make our bootstrappers point to our servers rather than MS. I don't want MS changing a link on me, or replacing a file with a newer version (without us first testing it) then breaking my app. They tend to do that in the CE world. To tell you the truth I don't remember where I've created my SDFs from. I've converted older SDFs to the current format using this function: Private Sub UpdateSDF() UpDateCaption("Updating SDF: Converting SDF from SQL CE 3.0 to 3.5") 'Physically update the SDF from SQLCE3.0/3.1 to 3.5 Dim engine As SqlServerCe.SqlCeEngine = New SqlServerCe.SqlCeEngine("Data Source=" & MomsUpdPath & SDFfile) engine.Upgrade("Data Source=" & MomsUpdPath & SDFfile & ";") SdfHasBeenModified = True End Sub You won't be able to actually upload data, or get far in the app without an iPAQ device connected, but If you'd like to see how the app runs and sets up the prereqs, you can go here and run the setup.exe: http://momsupdate.mocproducts.com/MomsClickOnce/setup.exe Prior to finding out how to do all of this, we had several setup files. One for XP, One for 32bit Vista/7, another for 64 bit. Now everything is all done with one setup. So much more nicer. :) On Fri, Oct 29, 2010 at 11:13 AM, Shamil Salakhetdinov wrote: > Thank you, David, > > But for Click-Once is a PITA to have some custom files installed together > with application? (I have many such files). > > So, I can just use Click-Once bootstrapping to setup SQL Server CE 3.5 SP1. > > Did you try to use MS SQL 2008 R2 databases with SQL Server CE 3.5 SP1, or > SQL Server CE 3.5 SP1 databases are just the ones created and managed within > Visual Studio solutions and then distributed together with such a solution > setup kit? (I have never used SQL Server CE) > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of David McAfee > Sent: 29 ??????? 2010 ?. 22:01 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] SQL Server Compact 3.5 > > I used it on Mobile devices. > > I developed a ClickOnce VB.Net Launcher app that our users run to copy the > SDF from the mobile device over to the PC. > > The VB app then pulls datasets (invoices) from the SDF using ADO.Net and > passes them to a web service. Different datasets (customer updates, New > "wishlist orders", Item updates) are also returned via the web service and > inserted into the SDF. The SDF is then copied back to the mobile device. > > Users of older versions (CF 2.0, 3.0) are also converted to 3.5 on the fly > via my app. > > I had to write some custom Bootstrappers to detect if the correct > prequisites were installed. > > The prerequisites are: > Windows Installer 3.1 > .Net Framework 3.5 SP1 > MS ActiveSync 4.5 (if using WinXP) > Windows Mobile Device Center (If Vista/7, 32 bit) Windows Mobile Device > Center x64 (If Vista/7, 64 bit) SQL Server CE 3.5 SP1 (X86) SQL Server CE > 3.5 SP1 (X64) > > I didn't like Click once at first as I thought it was very limited. > After finding out about writing Bootstrappers, I was much more happier with > it. > > > On Fri, Oct 29, 2010 at 2:09 AM, Shamil Salakhetdinov > wrote: >> Hi All -- >> >> Did you work with MS SQL Server 3.5 Compact edition? >> http://www.microsoft.com/sqlserver/2008/en/us/compact.aspx >> >> Will that work with MS SQL Server 2008 R2 databases? >> How do you distribute your application using MS SQL Server 3.5 Compact >> edition? (Yes, all the info on distrobuting MS SQL Server 3.5 based >> apps is on Internet but I have never worked with it and I hope you >> have some hints to get up&running here ASAP) >> >> Thank you. >> >> -- >> Shamil >> >> >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From davidmcafee at gmail.com Fri Oct 29 13:58:31 2010 From: davidmcafee at gmail.com (David McAfee) Date: Fri, 29 Oct 2010 11:58:31 -0700 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB12DA.2090404@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: No, but I've been wanting to. Keep us/me updated on your findings ;) On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: > I live in the old "furniture center" of the US. ?I have a business opportunity to ebay furniture > overruns. ?I need to know what is possible to do with EBay automation of: > > 1) Placing the listing > 2) Monitoring the listing > 3) Understanding if payment has been received (paypal only for now) > 4) Tracking fees etc. > 5) Everything I haven't even thought of. > > Is anyone in this group doing this? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From shamil at smsconsulting.spb.ru Fri Oct 29 14:08:47 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 29 Oct 2010 23:08:47 +0400 Subject: [dba-VB] Unspecified Error In-Reply-To: <2B3723BF3279424DB024D49342954CD5@nant> References: <7F8D0C7655D5471EB95E936157B6DF29@nant> <4CCAA27A.1090007@colbyconsulting.com><719F586C923F4CAA86593EBD5183F34A@nant><4CCAD8CC.1030005@colbyconsulting.com> <4CCB0AAB.400@colbyconsulting.com><811AE90316074521B84BCB781FD6BCC7@nant> <2B3723BF3279424DB024D49342954CD5@nant> Message-ID: <1FDF1785FAC54A64A8FD9942E31699E8@nant> Hi All -- When no linked tables used then it still fails after 69633 runs :( TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7733. ThreadCount = 70 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7734. ThreadCount = 72 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:23: 7735. ThreadCount = 75 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:24: 7736. ThreadCount = 79 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error 29/10/2010 22:42:25: 7737. ThreadCount = 75 StartTime = 29/10/2010 21:59:33, EndTime = 29/10/2010 22:42:25 OK, TotalCount = 69633, ElapsedTime = 0.7142 hours, ErrCount = 32 Definitedly I have to switch this application to MS SQL CE backend... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:23 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Hi All -- As expected linked tables fail with the same error as the case when IN clause is used. FullStop. I have to reprogram my solution now :( Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: 29 ??????? 2010 ?. 22:09 To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] Unspecified Error Thank you, John, Yes, I'm glad too but that still means some reprogramming because I used IN clause in several places in one custom application... Well, first of all I will try to use linked tables instead of IN clause. If that works (I doubt it will) then it will be the most easy solution. Although then I will have to find a way how to reattach linked tables from .NET C# code without using DAO - using OleDB preferably. Is it possible at all? Anybody here knows how to do such reattachment? If linked tables will not work then I will have to reprogram even more... Thank you. -- Shamil <<< snip >>> _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Oct 29 14:11:00 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 15:11:00 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> Message-ID: <4CCB1C44.9020708@colbyconsulting.com> As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From mikedorism at verizon.net Fri Oct 29 15:43:39 2010 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 29 Oct 2010 16:43:39 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: <4CCB1C44.9020708@colbyconsulting.com> References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: Have you considered just using the Excel plug-in http://pages.ebay.com/Excel_Plugin/ Doris Manning -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, October 29, 2010 3:11 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? As if I don't already have enough to do eh? ;) I have a friend that has been in the business forever, his dad was doing this back when we were in high school. I did say forever right? He is not computer savey but he sells to people doing the EBay thing. They don't sell a huge number of items it seems, but turn a huge profit on the pieces they do sell. If I could automate the whole thing so that my time is minimum, then it could be a nice little business, maybe for my wife. John W. Colby www.ColbyConsulting.com On 10/29/2010 2:58 PM, David McAfee wrote: > No, but I've been wanting to. > > Keep us/me updated on your findings ;) > > On Fri, Oct 29, 2010 at 11:30 AM, jwcolby wrote: >> I live in the old "furniture center" of the US. I have a business opportunity to ebay furniture >> overruns. I need to know what is possible to do with EBay automation of: >> >> 1) Placing the listing >> 2) Monitoring the listing >> 3) Understanding if payment has been received (paypal only for now) >> 4) Tracking fees etc. >> 5) Everything I haven't even thought of. >> >> Is anyone in this group doing this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 16:21:26 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:21:26 +0200 Subject: [dba-VB] Unspecified Error Message-ID: Hi Shamil Nasty. Does this happen as well if you use DataTable adapters? /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 19:43 >>> Hi All, Yes, the issue was with IN clause - here is the test solution: http://northwind.codeplex.com/releases/view/26600#DownloadId=162049 It has tow tests of the same join SQL with and without using IN clause. Below is the sample output of the test case using IN clause - it fails. When IN clause isn't used then it works OK. F:\Temp6\OleDbProviderTest\Bin>OleDbProviderTest.exe 1 + ******** OleDbConnection Test ********* + 1st arg = 1 - test case 2nd arg = 100 max cycles qty Test case #1: use IN '' clause Test case #2: DO NOT use IN '' clause + ************* TEST SQL **************** + SELECT Order.OrderID, Order.OrderDate, Customer.CompanyName, Employee.FirstName, Employee.LastName, Product.ProductName, OrderDetail.Quantity, Category.CategoryName FROM Customer INNER JOIN ((select * from Employee IN '' [;Database=F:\Temp6\OleDbProvider Test\Bin\Northwind.NET.mdb]) as Employee INNER JOIN (((select * from Category IN '' [;Database=F:\Temp6\OleDbProvide rTest\Bin\Northwind.NET.mdb]) as Category INNER JOIN (select * from Product IN '' [;Database=F:\Temp6\OleDbProviderTes t\Bin\Northwind.NET.mdb]) as Product ON Category.CategoryID = Product.CategoryID ) INNER JOIN ((select * from [Order] IN '' [;Database=F:\Temp6\OleDbProviderTe st\Bin\Northwind.NET.mdb]) as [Order] INNER JOIN (select * from OrderDetail IN '' [;Database=F:\Temp6\OleDbProvid erTest\Bin\Northwind.NET.mdb]) as OrderDetail ON Order.OrderID = OrderDetail.OrderID) ON Product.ProductID = OrderDetail.ProductID) ON Employee.EmployeeID = Order.EmployeeID) ON Customer.CustomerId = Order.CustomerId ORDER BY Order.OrderDate DESC - ************* TEST SQL **************** - 29/10/2010 21:36:31: 1. ThreadCount = 9 29/10/2010 21:36:32: 2. ThreadCount = 18 29/10/2010 21:36:32: 3. ThreadCount = 21 29/10/2010 21:36:33: 4. ThreadCount = 26 29/10/2010 21:36:33: 5. ThreadCount = 31 29/10/2010 21:36:33: 6. ThreadCount = 33 29/10/2010 21:36:34: 7. ThreadCount = 36 29/10/2010 21:36:34: 8. ThreadCount = 38 29/10/2010 21:36:34: 9. ThreadCount = 37 29/10/2010 21:36:35: 10. ThreadCount = 33 29/10/2010 21:36:35: 11. ThreadCount = 36 29/10/2010 21:36:36: 12. ThreadCount = 40 29/10/2010 21:36:36: 13. ThreadCount = 44 29/10/2010 21:36:36: 14. ThreadCount = 46 29/10/2010 21:36:37: 15. ThreadCount = 45 29/10/2010 21:36:37: 16. ThreadCount = 52 29/10/2010 21:36:37: 17. ThreadCount = 57 29/10/2010 21:36:38: 18. ThreadCount = 61 29/10/2010 21:36:38: 19. ThreadCount = 60 29/10/2010 21:36:38: 20. ThreadCount = 65 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 21. ThreadCount = 61 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:39: 22. ThreadCount = 63 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:39: 23. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 24. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:40: 25. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Unspecified error 29/10/2010 21:36:40: 26. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 27. ThreadCount = 61 29/10/2010 21:36:41: 28. ThreadCount = 64 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:41: 29. ThreadCount = 62 TestConnection.ERROR:Unspecified error 29/10/2010 21:36:42: 30. ThreadCount = 63 TestConnection.ERROR:Unspecified error TestConnection.ERROR:Unspecified error TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 31. ThreadCount = 62 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:42: 32. ThreadCount = 55 TestConnection.ERROR:Cannot open any more databases. 29/10/2010 21:36:43: 33. ThreadCount = 56 StartTime = 29/10/2010 21:36:31, EndTime = 29/10/2010 21:36:43 OK, TotalCount = 297, ElapsedTime = 0.0032 hours, ErrCount = 31 Press any key to quit... TestConnection.ERROR:Cannot open any more databases. Thank you. -- Shamil From gustav at cactus.dk Fri Oct 29 16:23:52 2010 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2010 23:23:52 +0200 Subject: [dba-VB] SQL Server Compact 3.5 Message-ID: Hi Shamil Yes. You can with a little efforts even install fonts - I have posted about this a couple of times. /gustav >>> shamil at smsconsulting.spb.ru 29-10-2010 20:13 >>> But for Click-Once is a PITA to have some custom files installed together with application? (I have many such files). From jwcolby at colbyconsulting.com Fri Oct 29 19:07:49 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 29 Oct 2010 20:07:49 -0400 Subject: [dba-VB] C# / SQL Server - Is anyone doing ebay programming? In-Reply-To: References: <4CCB12DA.2090404@colbyconsulting.com> <4CCB1C44.9020708@colbyconsulting.com> Message-ID: <4CCB61D5.8010703@colbyconsulting.com> Why did the "developer" develop his database in Excel? 'Cause he didn't know how to use Word. ;) John W. Colby www.ColbyConsulting.com On 10/29/2010 4:43 PM, Doris Manning wrote: > Have you considered just using the Excel plug-in > > http://pages.ebay.com/Excel_Plugin/ > > Doris Manning