Cartlanna Catagóire: Gan catagóir

SharePoint Fearr Chleachtais Comhdháil, “Chleachtais is Fearr,” agus an eilifint sa Seomra

I was lucky to attend and present at last week’s SharePoint Best Practices conference. I’m still new to the whole speaking "thing" agus, frankly, 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 (nach neamhaird mé iad). Ina áit sin, Dhírigh mé beagán níos mó ar an lucht freastail.

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, ach is dóigh liom go raibh sé ar a laghad 60% dírithe ar shaincheisteanna neamh-dev, 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 (ag anois, curtha ar bun go han-mhaith).

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.

Ag rá go bhfuil, 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, oiliúint, riachtanais a bhailiú, cuardaigh, Forbairt, ailtireacht faisnéise, etc. I think that the missed opportunity has to do with the "green field" boinn tuisceana go leor de na cleachtais is fearr.

Nuair a labhairt linn faoi úrnua, 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, ailtireacht faisnéise, etc. Mar sin féin … cad a tharlaíonn nuair a bhíonn tú cheana féin i dtáirgeadh le roinnt mílte úsáideoirí (or 10’s of thousands) agus nach raibh tú a leanúint na cleachtais is fearr ag an tús? I’ve seen companies with … ahem … an- corr information architecture baked into their environment. I don’t think that this conference provided much guidance for organizations with that kind of problem (agus ní féidir liom a chiallaíonn go díreach IA, ach rialachas, cuardaigh, go leor réimsí eile). Ar ndóigh,, Tá a fhios agam tá fadhb agat le cuid mhór den réiteach agus go bhfuil an-luachmhar.

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. Mar sin féin, 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" agus riachtanais an phobail chun aghaidh a thabhairt air ceann ar.

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, etc.

</deireadh>

Liostáil le mo bhlag.

Clibeanna Technorati:

Seimineár Líne Dashboards SharePoint

Mo chara ar líne, Mark Miller breis agus Úsáideoir SharePoint Deireadh (www.endusersharepoint.com) ag reáchtáil seimineár saor in aisce uair an chloig spriocdhírithe, mar a dhéanann sé i gcónaí, at the SharePoint End User community. It takes place at 1pm EDT. Details are here: http://www.endusersharepoint.com/?p=785

Tá mé shuigh i ar cheann amháin de chuid seimineár ar líne an mhí seo caite agus bhí sé déanta go maith agus má tá suim agat i roinnt eolais an-phraiticiúil ar dashboards i SharePoint tú, Tá mé cinnte go bhfuil sé fiú an 1 infheistíochta uair an chloig.

</deireadh>

Liostáil le mo bhlag.

Clibeanna Technorati: ,

FBA agus SQL Server: A Scéal grá

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 (i gcomparáid le neadú le haitheantas úsáideora i ceist SQL nó roinnt cur chuige eile).

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, ar easpa focal níos fearr, manually impersonating an AD user so that we could connect to SQL such that SQL data level security works.

Cé go bhfuil FBA gné ASP.NET, táimid ag daoine Nation SharePoint a mhúin an innill chuardaigh éagsúla má tá tú ag ceistiú do 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.

Le linn an taighde seo, muid ag léamh-airteagal seo: ASP.NET phearsanú

Níos mó taighde thug dúinn a t-airteagal seo codproject: http://www.codeproject.com/KB/cs/cpimpersonation1.aspx

A chabhraigh linn an scríobh ár gcód, which I’ve included below. It’s not the most elegant stuff, ach d'oibrigh sé. I hope you find it helpful.

Seo an cód a d'oibrigh le linn:

chosaint neamhní btnSearchCarrier_Click(seoltóir réad, EventArgs e)
 {
 iarracht
 {
 ImpersonateUser AI = nua ImpersonateUser();
 // GACH: Dintiúir Ionadaigh
 ("Ainm Fearainn", "Ainm Úsáideora", "Pasfhocal");

//
 CÓD
//

 iU.Undo();
 }
 ghabháil (Ex Eisceacht)
 {

 }
 }

// Ag baint úsáide as phearsanú rang mar a luaitear anseo thíos.

poiblí ranga ImpersonateUser
 {
 [DllImport("Advapi32.dll", SetLastError = fíor)]
 poiblí statach seachtracha bool LogonUser(
 LpszUsername Teaghrán,
 Teaghrán lpszDomain,
 Teaghrán lpszPassword,
 dwLogonType slánuimhir,
 slánuimhir dwLogonProvider,
 tag IntPtr phToken);

 [DllImport("Kernel32.dll", Tacar carachtar = CharSet.Auto)]
 príobháideach seachtracha statach bool CloseHandle(IntPtr láimhseáil);

 príobháideach statach IntPtr tokenHandle = nua IntPtr(0);
 príobháideach statach WindowsImpersonationContext impersonatedUser;

 // Má tá tú ag ionchorprú an gcód seo isteach i dll?, a bheith cinnte a éileamh go bhfuil sé
 // Ritheann le FullTrust.
 [PermissionSetAttribute(SecurityAction.Demand, Ainmnigh = "FullTrust")]
 poiblí neamhní aithris(teaghrán domainName, ainm úsáideora teaghrán, Focal faire teaghrán)
 {
 iarracht
 {

 // Bain úsáid as an fheidhm LogonUser unmanaged a fháil ar an chomhartha úsáideora do
 // an t-úsáideoir a shonraítear, bhfearann, agus do phasfhocal a.
 CONST LOGON32_PROVIDER_DEFAULT = o 0;

 // Dul thar an paraiméadar is cúis LogonUser a chruthú chomhartha bunscoile.
 CONST slánuimhir LOGON32_LOGON_INTERACTIVE = 2;
 tokenHandle = IntPtr.Zero;

 // Céim -1 Glaoigh LogonUser chun a láimhseáil a fháil ar chomhartha rochtain.
 bool = returnValue LogonUser(
 ainm úsáideora,
 Ainm Fearainn,
 Focal faire,
 LOGON32_LOGON_INTERACTIVE,
 LOGON32_PROVIDER_DEFAULT,
 tag tokenHandle); // tokenHandle - nua slándála chomhartha

 más rud é (bréagach == returnValue)
 {
 slánuimhir RET = Marshal.GetLastWin32Error();
 Console.WriteLine("LogonUser glaoch theip ar a bhfuil cód earráid : " +
 ceart);
 caith System.ComponentModel nua.Win32Exception(ceart);
 }

 // Céim - 2
 WindowsIdentity newId = nua WindowsIdentity(tokenHandle);
 // Céim -3
 impersonatedUser = newId.Impersonate();

 }
 ghabháil (Ex Eisceacht)
 {
 Console.WriteLine("Tharla Eisceacht. " + ex.Message);
 }
 }


 /// <achoimre>
 /// Stadanna pearsanú
 /// </achoimre>
 poiblí neamhní Undo()
 {
 impersonatedUser.Undo();
 // Saor in aisce na comharthaí.
 más rud é (tokenHandle != IntPtr.Zero)
 CloseHandle(tokenHandle);
 }
 }

</deireadh>

Liostáil le mo bhlag.

Clibeanna Technorati:

Ag cur leis an Seanchas: SSRS Insíonn Mise “rsAccessDenied”, Ach … I DO really Have Rochtana

Tá cúpla seachtain ar ais, 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 (an ghné is mó a bheith ina lookup cliste ar paraiméadar le roinnt mílte luachanna inchuardaithe taobh thiar dó).

Bhí sé seo ag obair mhór ar an timpeallacht a fhorbairt ach sa tástáil inghlacthachta úsáideora (UAT) timpeallacht, it wouldn’t work. Firing up the debugger, ba mhaith linn a fheiceáil na sonraí eisceacht mar seo:

Na ceadanna a deonaíodh do úsáideora 'UAT_domain mosssvc' atá leordhóthanach chun críche an oibríocht seo.(rsAccessDenied).

Má dhéanann tú cuardach beo ar an earráid thuas, 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" ceart. We probably tried them all.

I ár gcás, 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, Chuir an chuid gréasáin agus a réiteach ar ár fhadhb.

Súil go dtosnódh beidh sé seo shábháil duine éigin uair an chloig nó dhó síos ar an líne.

</deireadh>

Liostáil le mo bhlag.

Clibeanna Technorati:

Fógra Poiblí Minor: Windows Live Socruithe Slándála agus Teagmháil Úinéirí Spás

Gheobhaidh mé dornán de teachtaireachtaí ó dhaoine aonair tríd an-tógtha i "seol teachtaireacht" fheidhm Microsoft Soláthraíonn le spásanna beo (ina hóstach ar chomh maith mo bhlag) gach mí.

Thart ar aon trian de an t-am, those users have secured their live spaces account such that I cannot reply. This is some kind of anti-spam feature I assume.

</deireadh>

An bhfuil “Earráid Anaithnid” Teachtaireachtaí Níos Fearr really Than a Trace Releases?

Bhí mé ag léamh blog post Madhur ar conas a ar chumas taispeántais rian chairn agus anois tá mé ag wondering: cén fáth nach bhfuil muid a thaispeáint i gcónaí a rian chairn?

Cé a tháinig suas leis an riail sin agus cén fáth go bhfuil muid ag leanúint?

End users will know something is wrong in either case. At least with a stack trace, is féidir iad a rialú brúigh-PrintScreen, copy/paste into an email and send it to IT. That would clearly reduce the time and effort required to solve the issue.

</deireadh>

Clibeanna Technorati:

Tá sé seo Cén fáth nach féidir liom Cosúil Ag baint úsáide as Uirlisí nialais Lá

http://groups.google.com/group/microsoft.public.sharepoint.portalserver.development/browse_thread/thread/41e8cbe4f15e8b4c/76506ea401403e35?#76506ea401403e35

Má tá an uirlis ag déanamh rudaí nach dtuigeann tú agus ansin go mainneoidh sé i chéim n ar líon anaithnid na céimeanna, go bhfuil tú marbh san uisce…

</deireadh>

Clibeanna Technorati:

Event ID 1023: “Ní féidir Windows luchtú MSSCNTRS dll extensible gcuntar”

Suas chun dáta (04/08/08): I seem to have solved this problem. From the command line, I ran "c:\fuinneoga system32 lodctr / R" de réir iontráil ag caint faoi fhadhbanna InstallShield agus gur dealraitheach go bhfuil réiteach sé dom.

Tá mé faoi deara go bhfuil le déanaí, 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:

Ní féidir Windows luchtú extensible UGatherer dll gcuntar, Is é an chéad DWORD in alt sonraí ar an cód earráid Windows.

Ní féidir Windows luchtú extensible UGTHRSVC dll gcuntar, Is é an chéad DWORD in alt sonraí ar an cód earráid Windows.

Ní féidir Windows luchtú MSSCNTRS dll extensible gcuntar, Is é an chéad DWORD in alt sonraí ar an cód earráid Windows.

Má mé druilire isteach na sonraí ar cheann de na teachtaireachtaí, Faighim seo:

Foinse: Perflib

Cineál: Earráid

Catagóir: Dada

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.

Bhí VMware nagging dom faoi chomhlíonadh cothrom le dáta do leor ama a roinnt, mar sin jotted mé síos an leagan a bhí suiteáilte mé (apparently "1.0.1 build 29996") and did the update. This upgraded me to v1.04. Faraor, Ní raibh sé a shocrú an tsaincheist.

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, mar sin … not such a great option.

Is é an córas oibriúcháin óstach Windows XP 64 giotán.

I don’t think this has always happened, but I don’t recall any particular event that might have led to it.

This is why I hate computers.

</deireadh>

Clibeanna Technorati:

Fóram Plé: Forfheidhmiú Comhlíonta Cleachtais is Fearr i Comhshaoil ​​MOSS Neamh-fánach

A fear, "Mark", has started up a potentially interesting newsgroup discussion focusing on "establishing excellent SharePoint Governance from the start" le haghaidh 35,000 timpeallacht úsáideora.

Is é an plé anseo: http://groups.google.com/group/microsoft.public.sharepoint.portalserver/browse_thread/thread/6d9a738d981af772/1c390b15c5407db6?#1c390b15c5407db6

Pop ar níos mó agus cur!

</deireadh>