Kategorija Arhiva: Nekategorizirane

SharePoint Best Practices konferencija, “Best Practices,” i Elephant u sobi

I was lucky to attend and present at last week’s SharePoint Best Practices conference. I’m still new to the whole speaking "thing" i, iskreno, I was a bit nervous for the first half while I sweated out waiting to speak myself. That sort of nervous feeling made it a little hard for me to pay attention to the presenters (not that I ignored them). Umjesto toga, I focused a bit more on the attendees.

Conferences always set my mind racing and there was a lot take in at this one. This conference was excellent. I think it was unusual in several ways. It wasn’t a heavy developer conference. There were certainly dev parts to it, but I think it was at least 60% focused on non-dev issues, maybe as high as 80%. I think that speaks to the evolving nature of the SharePoint market. Companies are implementing SharePoint in a variety of ways and they are looking for guidance on how to do it right. And not just guidance on how to create features/solutions (which by now, has been very well established).

I believe the conference was tremendously valuable to most everyone that attended and I know that the organizers plan to do the conference again early next year.

Having said that, I believe there was a missed opportunity which I hope the next conference addresses. I say it’s a missed opportunity, but that’s not a bad thing. Discovering a community need is in and of itself a good thing. The conference discussed a number of best practices in a variety of areas such as governance, training, requirements gathering, Usporedite, razvoj, information architecture, itd.. I think that the missed opportunity has to do with the "green field" assumptions underlying many of the best practices.

When we talk about green field, we mean that SharePoint hasn’t gone into production and we’re starting with a clean slate. This is ideal because you can start straight away using best practices for defining and managing governance, information architecture, itd.. Međutim … what happens when you’re already in production with several thousand users (or 10’s of thousands) and you didn’t follow best practices at the beginning? I’ve seen companies with … ahem … a very odd information architecture baked into their environment. I don’t think that this conference provided much guidance for organizations with that kind of problem (and I don’t just mean IA, but governance, Usporedite, many other areas). Naravno, knowing you have a problem is a big part of the solution and that’s very valuable.

I think that the online SharePoint community hasn’t done much to address this either. I know I have not. It’s a very hard problem to solve at many levels. Technically it’s hard. Budget-wise it’s hard. Culturally, it’s hard. Međutim, it’s probably a bigger real world problem than most. Since the conference ended, I’ve been thinking about these kinds of problems and how one would solve them. There has to be a better answer than, "uninstall and reinstall" and the community needs to face it head on.

I think that this a great opportunity for the blogging community and experienced thought leaders to lay out some guidance on how to repair their environments. I think there’s a small but non-zero risk that SharePoint could end up with a bad and enduring reputation as a result of poorly architected implementations that fail due to poor governance, IA, itd..

</kraj>

Pretplatite se na moj blog.

Technorati Tags:

Sučelja SharePoint Online Seminar

Moj prijatelj online, Mark Miller over and Krajnjeg korisnika SharePoint (www.endusersharepoint.com) izvodi slobodan jedan sat seminara ciljano, kao i uvijek djeluje, at the SharePoint End User community. It takes place at 1pm EDT. Details are here: http://www.endusersharepoint.com/?p=785

I have sat in on one of his online seminar last month and it was done quite well and if you’re interested in some very practical info on dashboards in SharePoint, I’m sure it’s worth the 1 hour investment.

</kraj>

Pretplatite se na moj blog.

Technorati Tags: ,

FBA i SQL Server: A Love Story

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 (za razliku ugrađivanje korisnički ID u SQL upitu ili neki drugi pristup).

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, u nedostatku bolje riječi, manually impersonating an AD user so that we could connect to SQL such that SQL data level security works.

Iako FBA je ASP.NET značajka, mi SharePoint Nation ljudi su učili razne tražilice da ako ste upite za FBA, 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.

Tijekom istraživanja ove, smo ponovno čitati ovaj članak: ASP.NET Lažno

Više istraživanja dovela nas je do ovoga codproject članak: http://www.codeproject.com/KB/cs/cpimpersonation1.aspx

To su nam pomogli napisati našu kôda, which I’ve included below. It’s not the most elegant stuff, ali to je radio. I hope you find it helpful.

Evo kod koji je radio za nas:

zaštićen void btnSearchCarrier_Click(Objekt pošiljatelj, EventArgs e)
 {
 pokušati
 {
 ImpersonateUser ij = novi ImpersonateUser();
 // SVE: Zamijenite vjerodajnice
 ("DomainName", "UserName", "Password");

//
 KODEKS
//

 iU.Undo();
 }
 ulov (Iznimka ex)
 {

 }
 }

// Korištenje oponašanju klase kao što je spomenuto u nastavku.

javni klasa ImpersonateUser
 {
 [DllImport("advapi32.dll", SetLastError = pravi)]
 javni statički vanjski bool LogonUser(
 Gudački lpszUsername,
 Gudački lpszDomain,
 Gudački lpszPassword,
 int dwLogonType,
 int dwLogonProvider,
 ref IntPtr phToken);

 [DllImport("kernel32.dll", Charset = CharSet.Auto)]
 privatni vanjski statički bool CloseHandle(IntPtr ručka);

 privatni statički IntPtr tokenHandle = novi IntPtr(0);
 privatni statički WindowsImpersonationContext impersonatedUser;

 // Ako inkorporirati ovaj kod u DLL, budite sigurni da zahtijevaju da
 // staze s FullTrust.
 [PermissionSetAttribute(SecurityAction.Demand, Ime = "FullTrust")]
 javni poništiti utjeloviti(Niz DOMAINNAME, Niz userName, Niz lozinka)
 {
 pokušati
 {

 // Koristite neupravljana funkciju LogonUser da biste dobili upute za token za
 // Navedeni korisnik, domena, i lozinka.
 const int LOGON32_PROVIDER_DEFAULT = 0;

 // Prolazeći ovaj parametar uzrokuje LogonUser stvoriti primarnu token.
 const int LOGON32_LOGON_INTERACTIVE = 2;
 tokenHandle = IntPtr.Zero;

 // Korak -1 Pozivni LogonUser dobiti držač za pristupni token.
 bool returnValue = LogonUser(
 userName,
 naziv_domene,
 lozinka,
 LOGON32_LOGON_INTERACTIVE,
 LOGON32_PROVIDER_DEFAULT,
 ref tokenHandle); // tokenHandle - Novi sigurnosni token

 ako (lažno == returnValue)
 {
 int ret = Marshal.GetLastWin32Error();
 Console.WriteLine("LogonUser call failed with error code : " +
 desno);
 baciti Novi System.ComponentModel.Win32Exception(desno);
 }

 // Korak - 2
 WindowsIdentity newId = novi WindowsIdentity(tokenHandle);
 // Korak -3
 impersonatedUser = newId.Impersonate();

 }
 ulov (Iznimka ex)
 {
 Console.WriteLine("Exception occurred. " + ex.Message);
 }
 }


 /// <rezime>
 /// Zaustavlja lažno
 /// </rezime>
 javni poništiti Undo()
 {
 impersonatedUser.Undo();
 // Oslobodite tokena.
 ako (tokenHandle != IntPtr.Zero)
 CloseHandle(tokenHandle);
 }
 }

</kraj>

Pretplatite se na moj blog.

Technorati Tags:

Dodavanje do Lore: SSRS mi govori “rsAccessDenied”, Ali … Ja stvarno nemaju pristup

Nekoliko tjedana nazad, 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 (glavna značajka se pametan pretraživanja na parametar s nekoliko tisuća pretraživati ​​vrijednosti iza njega).

Ovaj je rad velik u razvojnom okruženju, ali u testiranje korisnika prihvaćanje (UAT) okolina, it wouldn’t work. Firing up the debugger, vidjeli bismo iznimka detalje kao što su to:

Na dozvole dodijeljene korisnika 'UAT_domain mosssvc' nedostatne za obavljanje ovog postupka.(rsAccessDenied).

Ako to učinite uživo pretraživanje na gore navedene pogreške, 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" pravo. We probably tried them all.

U našem slučaju, 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, dodao je i da je dio web riješiti naš problema.

Nadam se da će to spasiti nekoga sat ili dva niz liniju.

</kraj>

Pretplatite se na moj blog.

Technorati Tags:

Manji javno oglašavanje: Windows Live Sigurnosne postavke i Kontaktiranje Space Vlasnici

I receive a handful of messages from individuals via the built-in "send a message" funkcija Microsoft nudi živim prostora (koji je također domaćin moj blog) svaki mjesec.

Oko jedne trećine vremena, those users have secured their live spaces account such that I cannot reply. This is some kind of anti-spam feature I assume.

</kraj>

Jesu li “Unknown Error” Poruke stvarno bolje nego Stack Trace?

Čitao sam Madhur je blog post o tome kako omogućite slagati u tragovima prikazuje i sad ja pitam: zašto ne bismo uvijek pokazuju stog trag?

Tko je došao gore sa tog pravila i zašto smo ga slijediti?

End users will know something is wrong in either case. At least with a stack trace, mogu pritisnite tipku PrintScreen Kontrola-, copy/paste into an email and send it to IT. That would clearly reduce the time and effort required to solve the issue.

</kraj>

Technorati Tags:

Event ID 1023: “Windows ne može učitati brojač extensible MSSCNTRS DLL”

UPDATE (04/08/08): I seem to have solved this problem. From the command line, I ran "c:\windows system32 lodctr / R" po upis InstallShield govori o problemima i da se čini da su to riješiti za mene.

Primjetio sam da u zadnje vrijeme, my desktop/server fan never turns off. I know it used to turn off. I took a moment to check it out noticed that the a VMware process was running a consistent 20% utilization on one of the CPU’s. I checked the event log and saw these errors in the application log happening dozens of times per minute:

Windows ne može učitati Extensible Counter UGatherer DLL, Prvi DWORD u odjeljku podataka je kod Windows pogreške.

Windows ne može učitati Extensible Counter UGTHRSVC DLL, Prvi DWORD u odjeljku podataka je kod Windows pogreške.

Windows ne može učitati brojač extensible MSSCNTRS DLL, Prvi DWORD u odjeljku podataka je kod Windows pogreške.

Ako sam izbušiti u detalje jednom od tih poruka, JA dobiti to:

Izvor: Perflib

Tip: Pogreška

Kategorija: Nijedan

Event ID 1023

I did some research and there was some indication it could be a permission problem in terms of access to the DLLs in question. I played around with that stuff but could not affect things in a positive way so I gave up on that.

VMware su me prigovaralo o obavljanju update za neko vrijeme, pa sam upisao verziju sam instaliran (apparently "1.0.1 build 29996") and did the update. This upgraded me to v1.04. Nažalost, to nije riješila problem.

I can stop the insane number of messages going to my application log if I shut down a service named "VMware Authorization Service". This prevents me from using the VMware software, tako … not such a great option.

Domaćin operativni sustav Windows XP 64 bit.

Ja ne mislim da je ovo oduvijek bilo, , ali ne sjećam se da je bilo koji određeni događaj mogao dovesti do toga.

To je razlog zašto mrzim računala.

</kraj>

Technorati Tags:

Rasprava forum: Provođenje Best Practices Usklađenost u Non-Trivial Moss okoliša

Kolega, "Mark", has started up a potentially interesting newsgroup discussion focusing on "establishing excellent SharePoint Governance from the start" za 35,000 upute za okoliš.

Rasprava je ovdje: http://groups.google.com/group/microsoft.public.sharepoint.portalserver/browse_thread/thread/6d9a738d981af772/1c390b15c5407db6?#1c390b15c5407db6

Pop na više i doprinose!

</kraj>