</amaiera>
Ekainaren 2008 SUGDC Conference — Hori Wrap bat
Nire lehen joan naiz inoiz SharePoint hitzaldia this past weekend and it was a blast.
Ostegun arratsaldean, Behera gidatzen dut Virginia, nire berriki erosi gidatuta $50 GPS appliance plug-in thing to my phone. The device was flawless. After the five hour drive, Energia run polit bat egin errodadura errota gainean izan nuen eta, ondoren,, are gehiago, harrigarriro, had the energy to head to the lobby for an advertised speaker’s cocktail hour. Conference n00b that I am, it turned out that the cocktail hour was really a ruse to get speakers to show up and help stuff papers and swag into shoulder bags for conference attendees 🙂
Had a hard time sleeping because I was speaking first thing Friday AM. Nervousness, a nagging feeling that I needed to add a slide to my presentation and a very disturbing cat show on Animal Planet kept me up late. Since I went to sleep late, I naturally got up early. I did add a fairly detailed technical architecture slide. It was well worth the effort because the 25 minutes of Q&A would have been very awkward without it. I was lucky to get the first slot in the technical track. Sahil Malik was originally going to speak Friday AM and I was going to speak Saturday but he needed to swap times. This allowed me to do my presentation and then sit back and enjoy everything going forward Friday and Saturday.
The presentation went OK. I definitely have room to improve it. I spoke about how we can access and use web services from a SharePoint Designer workflow using a custom action. Denborarekin, I will tie this information into my series over at EUSP.com for End Users trying to get the most use out of that tool. I blew through my slides and demo in 35 minutu, to my dismay at the time. Zorionez, Q&A was lively, no doubt helped by the fact that it was early morning before lunch. Q&A is my favorite part of any presentation.
There were many interesting subjects and I hope to blog about them in greater detail this week (time permitting, as always). A fellow from CMS Watch provided a highly critical yet very hopeful review of SharePoint’s position in the market. A different discussion focused on the paucity of SharePoint resources and the difficulty that recruiters have finding good talent that is also "affordable" in this very tight market. The CMS Watch guy referred to the SharePoint human resources pool as being like a "guild." I’m mainly familiar with that term in MMORPG terms and it gave me a little thrill, to be honest 🙂
The highlight of the conference was just meeting and catching up with people I’ve "known" online for a while. The best was sitting at the bar with Becky Isserman (MossLover) for 3 edo 4 ordu (eta hori, nuen amaitu ondoren gauean edateko). I don’t often get to talk about Farscape edo Babilonia 5 Kansas City egoiliarren batekin.
Bob Fox izan zen han, eta beti bezala, introak zurrunbiloan da, chats and just plain frenetic energy. He invited me to Saturday breakfast with Sahil Malik and that was great.
Larunbata (egun 2), Mike Lotter dragged himself to the conference to speak about InfoPath and then he joined Becky at the end of the day to do a sort of general Q&A session for about 30 to 45 minutes mainly focused on InfoPath (Mike) and AJAX (Becky). I wish Becky had been able to go through her full/formal presentation but I’m sure I’ll get a chance to see that one of these days. I have a feeling she’ll be "hitting the circuit" going forward.
I could go on and on. Two last points — the financial purpose of the conference was to raise money for the Children’s Miracle Network and it raised $5,000. That was awesome. Azkenik, I want to publicly thank Gary Blatt, Gary Vaughn and Bob Fox for alerting me to and allowing me to speak at the conference. Jakina, the two Gary’s had a team of people supporting and organizing and all of you were awesome. I had high expectations before I went and it was better than I had hoped for.
Keep on the alert for the next conference scheduled for November 7th and 8th. Aside from some great content, emanaldirik da sortu bilera pertsonalitate horiek guztiak konektatuta blogen bidez duzun ezaguna duten, twitter, foroak, etc.
</amaiera>
FBA eta SQL Server: Maitasun istorio bat
My colleague has been working on a web part in an FBA environment. Among other things, the web part pulls some data from SQL server. The grand plan for this project dictates that a DBA configures data level security in SQL (baita SQL kontsulta batean erabiltzaile-identifikazio bat edo beste hurbilketa batzuk txertatzea aurka).
The problem is that SQL server doesn’t know anything about our FBA environment so it can’t trust us. We solved this problem by, hobea hitza eza, manually impersonating an AD user so that we could connect to SQL such that SQL data level security works.
Nahiz FBA ASP.NET film luzea da, dugu SharePoint Nation pertsona irakasten hainbat bilatzaileak zaren FBA bada neurketako duten, you must mean you want know how to configure FBA in SharePoint. I failed to find find any information on how to enable an FBA oriented ASP.NET application to communicate with SQL in the way we needed.
Hau ikertzen ditu, dugu berriro irakurri artikulu hau: ASP.NET izenean
Ikerketa gehiago ekarri digu codproject Artikulu honetan: http://www.codeproject.com/KB/cs/cpimpersonation1.aspx
Lagundu duten gure kodea idatzi, which I’ve included below. It’s not the most elegant stuff, baina lan egin. I hope you find it helpful.
Hona hemen kodea Gurekin lan egin:
babesa void btnSearchCarrier_Click(objektu bidaltzailea, EventArgs e) { saiatu { U = ImpersonateUser berria ImpersonateUser(); // DENAK: Ordezkatu kredentzialak ("DomainName", "UserName", "Password"); // CODE // iU.Undo(); } harrapatzeko (Exception ex) { } } // Izenean klasea erabiliz gisa aipatu azpitik. publikoak klasean ImpersonateUser { [DllImport("advapi32.dll", SetLastError = Egia)] publikoak estatiko kanpotik bool LogonUser( Katea lpszUsername, Katea lpszDomain, Katea lpszPassword, int dwLogonType, int dwLogonProvider, ref IntPtr phToken); [DllImport("kernel32.dll", Charset = CharSet.Auto)] pribatua kanpotik estatiko bool CloseHandle(IntPtr heldulekua); pribatua estatiko IntPtr tokenHandle = berria IntPtr(0); pribatua estatiko WindowsImpersonationContext impersonatedUser; // Txertatu duzun kode hau bada DLL bihurtu, ziur egon dela aldarrikatzeko // FullTrust dituzten eskailerak. [PermissionSetAttribute(SecurityAction.Demand, Izena = "FullTrust")] publikoak gal itxurak(katea domeinuarenizena, katea userName, katea pasahitza) { saiatu { // Erabili unmanaged LogonUser funtzioa erabiltzaileari tokenaren iritsi // zehaztu erabiltzailea, domeinua, eta pasahitza. eraikiak int LOGON32_PROVIDER_DEFAULT = 0; // Parametro hau pasatzen eragiten LogonUser lehen token bat sortzeko. eraikiak int LOGON32_LOGON_INTERACTIVE = 2; tokenHandle = IntPtr.Zero; // Urratsa -1 Deitu LogonUser helduleku bat lortzeko sarbide-token bat. bool returnValue = LogonUser( userName, domeinu izena, pasahitza, LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, Jabetza tokenHandle); // tokenHandle - segurtasun-tokena bada (faltsua == returnValue) { int ret = Marshal.GetLastWin32Error(); Console.WriteLine("LogonUser call failed with error code : " + eskubidea); bota berriak System.ComponentModel.Win32Exception(eskubidea); } // Urratsa - 2 WindowsIdentity newId = berria WindowsIdentity(tokenHandle); // Urratsa -3 impersonatedUser = newId.Impersonate(); } harrapatzeko (Exception ex) { Console.WriteLine("Exception occurred. " + ex.Message); } } /// <laburpena> /// Geratu izenean /// </laburpena> publikoak gal Desegin() { impersonatedUser.Undo(); // Free token. bada (tokenHandle != IntPtr.Zero) CloseHandle(tokenHandle); } }
</amaiera>
To Lore gehituz: SSRS esaten dit “rsAccessDenied”, Baina … Ez dut dute sarbidea
Aste batzuk atzera, I was working with my developer colleague on a project involving SQL Server Reporting Services plug-in for MOSS. He was developing a web part that provides a fancy front-end to the report proper (parametro buruzko bilaketa azkarra izateaz hainbat mila bilaketak atzean balioak nagusia).
Hau izan zen lan handia garapen ingurunea, baina erabiltzaile onarpen proba (UAT) ingurumena, it wouldn’t work. Firing up the debugger, salbuespen hau bezalako xehetasunak ikusiko genuke:
Erabiltzaileari emandako baimenak 'UAT_domain mosssvc' dira eragiketa hau egiteko nahikoa.(rsAccessDenied).
Egin duzu gainetik error bilaketa zuzeneko bat bada, you find it’s quite common. Scarily common. The worst kind of common because it has many different potential root causes and everyone’s suggested solution "feels" eskubidea. We probably tried them all.
Gure kasuan,, the problem was that we had done a backup/restore of DEV to UAT. Somewhere in the data, something was still referring to "DEV_domain" (instead of the updated "UAT_Domain"). We created a new site, gehitu web parte, eta hori gure arazoa konpondu.
Zorionez honetan norbaitek ordu bat edo bi gorde egingo line behera.
</amaiera>
Quick Fix: SharePoint Web sartzean botatzen [HttpException (0x80004005): Eskaera denboraz kanpo.]
One of my developer colleagues was working on a project this week and ran into a timeout problem while working on building some crazy web part. His web part was fine, but "suddenly" zerikusirik gune bihurtu zen, oso motela eta, sarritan, denboraz kanpo errore hau:
[HttpException (0x80004005): Eskaera denboraz kanpo.]
I logged in and saw that several other sites were just fine. I suspected that there were some hidden web parts on the page and using trusty du ?edukia = 1 arazketa-teknika, Izan ere, ez dut aurkitu 11 web orriaren zati, only two of which were visible. Even better (bat let's-itxaropena-I-aurki-zerbait-itsusi-hemen-ditudan-ahal-konpondu ikuspegitik), three of those closed web parts had a name of "Error".
Web zati horiek ezabatu dut (berez hartu harrigarriro denbora luzea) and that solved the problem. For today 🙂
</amaiera>
-Klase FAST Prestakuntza Bikain
Egunean hasten naiz 4 FAST bazkide prestakuntza buru sortu Larry Kaye hemen Needham-en, MA.
5 eguneko saio honetan hautsita behera klaseak sartu (3 eta 2 egun hurrenez hurren) entitled "FAST ESP: Bilaketa pertsonalizatuak Aliantza Bazkideak aplikazioak garatzen dut" and "FAST ESP: Developing Custom Search Applications for Alliance Partners II".
Hau da benetako boot camp mota klase da. Materiala sakon (Oso, oso sakona). Irakaslea (Larry) bere gauzak argi eta garbi daki. I highly recommend this training if you considering it.
</amaiera>
SharePoint eta azkar — Reese en Peanut Butter Enterprise Apps kopan?
Amaitu dut eguna 2 eguzkitsua Needham prestakuntza Fast, MA, eta ideiak naiz bursting (eta hori ona prestakuntza klaseak me do). One particular aspect of FAST has me thinking and I wanted to write it down while it was still fresh and normal day-to-day "stuff" galtzen da nire burua.
Dugu SharePoint WSS 3.0 / MOSS inplementatzaileen maiz aurre SharePoint edozein arrazoiz-tamainako proiektu batekin arazo gogorra: Nola SharePoint guztiak duela gure informazio-, ezin hobeto prestatuta arkitekturaren barruan, hala nola egokitzen kargatzen untagged datu guztiak lortu ditugu?
Sarritan nahikoa, hau da, ez da zaila da arazo bat, hala nola, geure burua esparrua ditugun arazoak direla eta: "We don’t care about anything more than 3 months old." "We’ll handle all that old stuff with keyword search and going-forward we’ll do it the RIGHT way…" Etc.
Baina, what happens if we can’t scope ourselves out of trouble and we’re looking at 10’s of thousands or 100’s of thousands (edo nahiz eta milioika) Docs — kargatzea eta horietatik markatzea ultramontanoa, XIX gure nahia da?
FAST erantzuna izan liteke.
Azkarra bilatzeko prozesuan piezak mugituz asko biltzen ditu, baina erraztua ikuspegi bat da hau:
- Crawler prozesu bat eduki bilatzen.
- Edukia aurkitu, eta eskuak off bat broker duen prozesu dokumentu prozesadoreak igerileku bat kudeatzen.
- Broker prozesua eskuetan da off dokumentu prozesadore bat.
- Dokumentu prozesadorea dokumentua aztertzen du eta gasbide-prozesu baten bidez, ANALIZA LAS bejeezus the out of du dokumentuaren, eta it HANDS off to bat-indizea builder-mota-prozesua.
Starship FAST the On, we have a lot of control over the document processing pipeline. We can mix and match about 100 pipeline, osagai eta, , gehien interesgarriagoa da, we can write our own components. Like I say, FAST is analyzing documents every which way but Sunday and it compiles a lot of useful information about those documents. Those crazy FAST people are clearly insane and obsessive about document analysis because they have tools and/or strategies to REALLY categorize documents.
Beraz, … FAST erabiliz,-konbinazioa in, gure custom own pipeline-osagaia-rekin, we can grab all that context information from FAST and feed it back to MOSS. It might go something like this:
- Dokumentua MOSS tik FAST elikatzen.
- Normal ero obsesibo-FAST dokumentu analisi eta kategorizazio gertatzen.
- Gure Ohiko gasbide osagai jaisten testuinguru informazio hori off batzuk, datu-base bat.
- Gure diseinu propioa prozesuan testuinguru informazioa irakurtzen, MOSS nola egiten duen dokumentua egokitzeko gure IA barruan erabaki batzuk, eta markatzen sortu duen web zerbitzu eta objektu eredua erabiliz.
Jakina, Ez dira Prozesu automatikoa perfektua baina esker izan daiteke obsesiboa (eta, seguru asko, baina erokeria-in-a-ona-era FAST pertsonak), masa benetan eraginkorra karga prozesua ez duela gehiago filmatu benetako borroka bat eduki ahal izango dugu, besterik baino bete SQL datu base bat ozta-bilaketak dokumentu sorta batekin.
</amaiera>
Buruz www.EndUserSharePoint.com At End erabiltzaileak ikastea
Mark gehiagoko Miller http://www.endusersharepoint.com eraiki du, nire esperientzia, the best end-user focused SharePoint site in the ‘sphere. Azken hilabetean, he has enlisted some of the premier end-user focused bloggers around to contribute to the "front page" erregulartasunez, barne, baina ez mugatuta Paul Culmsee, Chris azkarra, eta Dessie Lunsford. He has others lined up and ready to contribute as their schedules allow.
Salto egin eta parte hartzeko aukera Hemen nire mezua da inaugurazio. I’m writing a series on how to use SharePoint Designer to create first-class business workflow solutions. In keeping with the EUSP.com’s focus, artikulu horiek beti egon End User aurrean eta zentroko.
Pertsonalki ohi SharePoint mundua zatitzeko hiru talde zabal: SharePoint consultants, full-time SharePoint staff developers and end users. When I write, Galdetu ohi dut neure burua, talde horietako zein gaian interesa dakiekeen? Most often, Amaituko dut, lehen bi idazten (tekniko) talde, batez ere, aholkulari bat dut neure burua; it’s always easier and more authentic to write about those things with which you’re most familiar on a personal level.
Nik adierazi bezala aurretik, azken erabiltzaile komunitate oso urrun dago, far larger than the technical community. EUSP.com is top-notch and I heartily recommend it to all three groups. The site’s laser focus is obviously valuable to end users. Hala eta guztiz ere, we developers and consultants can only be better at our profession if we can understand and effectively respond to the needs of the end users we serve. I know I need all the help I can get 🙂 Ezazu.
</amaiera>
Zerbitzuak SSRS Web deitzean WSS From / FBA Ingurumena MOSS
We needed to invoke the "CreateSubscription" method on an SSRS web service that is hosted in an FBA managed MOSS environment from a custom web part. We kept getting variations of:
- 401: Baimenik ez
- Objektua lekuz aldatu
The "object moved" message was most interesting because it was saying that the "object" (gure SSRS zerbitzua) had "moved" to login.aspx. This clearly meant we had some kind of authentication problem.
Izan dut azkenean konturatu I laster blog-sarrera by Robert Garret that described how to invoke a general purpose WSS/MOSS web service living inside an FBA environment. Note that I can’t link directly to the article (gisa 06/09/08) because it wants to authenticate. The link I provide brings you to an "all posts" view and you can locate the specific article by searching for "Accessing MOSS Web Services using Forms Based Authentication".
Hona hemen kodea Gurekin lan egin:
ReportingService2006 RS = zero; // Autentifikatu Autentifikazio auth = berria Autentifikazio(); bada (result.ErrorCode == LoginErrorCode.NoError) saiatu { rs.CreateSubscription(berri, extSettings, desc, eventType, Jokoaren datuak, parameters1); } harrapatzeko (Exception ex) { Console.WriteLine(ex.Message.ToString()); } |
Gauzak horrela interpretatu dut:
- Autentifikazio-zerbitzua sortu markatu eta esan behar da gure web parte, "Hey, Tony, me da!".
- Autentifikazio zerbitzua erantzunak esaten, "Hey, I know you. How are the kids? Here’s a token."
- SSRS deitzen diogu, zerbitzu eta esatea, "Tony sent me, Hemen token."
</amaiera>
Zure Hilabeteko Search azterketak Performed duzu?
Egokia da, ziurrenik, nahiz eta Praktika Onenen bat, zure bilaketa txostenak hilean behin berrikusi eta bilatzeko aukera onena apustuak gehitu, tune your thesaurus and maybe even uncover some business intelligence that is otherwise hidden to management.
It’s already the 3rd of the month. Time’s awastin’ 🙂
</amaiera>