شیطان مایکروسافت URL

من انجام یک جستجوی گوگل:

تصویر

من بر روی لینک مشخص شده در بالا را کلیک کنید ("Download details: ویندوز شیرپوینت…").

من این را دریافت کنید:

تصویر

Note the URL.

Looks pretty suspicious to me. I don’t know if I should laugh, خندیدن تماس بگیرید و یا یک کشیش.

</پایان>

برچسب ها:

قالب سریع: سیستم برنامه ریز ظرفیت مرکز برای شیرپوینت

I just fired up the capacity planning tool that’s all the rage these days.

I found it easy to use and quickly modeled a client environment I worked on this past summer.

With some trepidation, I pressed the final OK button and it recommended something that is pretty similar to what we gave our client (we actually threw in a second application server for future excel use). I take that to be a good sign and increases my confidence in the tool.

It seems pretty powerful stuff a much better starting point than a blank page.

I like that lets you get into some good detail about the environment. How many users, how you project they will use the system (publishing, collaboration, غیره), branch office and connectivity / network capacity between them and the mama server. Good stuff.

It asks broad based questions and then lets you tweak the details for a pretty granular model of your environment.

I hesitated downloading it because I have so many other things to look at it, read and try to digest. I’m glad I did.

It’s an easy two-step process. Download system center capacity planner and then download the SharePoint models. It runs nicely on Windows XP.

Based on my quick impression, I don’t see how it might account for:

  • جستجو: Total documents, maybe types of documents, languages.
  • Excel server: how much, if at all?
  • Forms server: how much, if at all?
  • BDC: how much, if at all.

Those may be modeled and I just didn’t see them in the 10 minute review.

I will definitely use it at my next client.

If I were not a consultant and instead working for a real company :), I’d model my current environment and see how the tool’s recommended model matches up against reality. That would be pretty neat. It could lead to some good infrastructure discussion.

</پایان>

راه حل: System.IO.FileNotFoundException در “SPSite = جدید SPSite(آدرس)”

تکمیلی: من در این سوال در اینجا به MSDN (http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2808543&SiteID=1&mode=1) and Michael Washam of Microsoft responded with a concise answer.

ایجاد یک وب سرویس به عنوان یک BDC-دوستانه نما to a SharePoint list. When I used this from my development environment, مشغول به کار خوب. وقتی که من مهاجرت به یک سرور جدید, من با این خطا مواجه:

System.IO.FileNotFoundException: برنامه وب http://localhost/sandbox می تواند یافت نمی شود. تایید کنید که شما تایپ صحیح URL. اگر URL را باید در خدمت محتوا های موجود, ممکن است مدیر سیستم نیاز به نگاشت URL درخواست جدید برای اضافه کردن به برنامه مورد نظر. در Microsoft.SharePoint.SPSite .. ctor(محموله SPFarm, یوری requestUri, بولی contextSite, SPUserToken userToken) در Microsoft.SharePoint.SPSite .. ctor(عبارات requestUrl) در Conchango.xyzzy.GetExistingDocument(عبارات minId, عبارات maxId, عبارات titleFilter) در C:\اسناد و تنظیمات پل اسناد و مدارک من ویژوال استودیو 2005 پروژه xyzzy BDC_DocReview BDC_DocReview DocReviewFacade.asmx.cs:خط 69

در اینجا خط 69:

با استفاده از (سایت SPSite = جدید SPSite("http://localhost/sandbox"))

من سعی کردم تغییرات مختلف بر روی URL, از جمله با استفاده از نام واقعی سرور, آدرس آی پی خود را, کاهش انتهایی بر روی URL, غیره. I always got that error.

من استفاده می شود گوگل to research it. Lots of people face this issue, و یا تغییرات از آن, اما هیچ یک به نظر می رسید که آن را حل.

Tricksy خزه یک خطای دقیق که رخ می دهد نه برای من برای بررسی 12 hive logs. Eventually, در حدود 24 ساعت پس از همکارم توصیه من این کار را, من چک کردن 12 ورود به سیستم کندو و این:

یک استثنا رخ می داد در حالی که تلاش برای به دست آوردن مزرعه محلی:
System.Security.SecurityException: درخواست دسترسی به رجیستری مجاز نمی باشد.
در System.ThrowHelper.ThrowSecurityException(ExceptionResource منابع) در
(نام رشته, بولی را قابل نوشتن کنید) در
(نام رشته) در
() در
() در
(SPFarm& مزرعه, بولی& isJoined)
منطقه مونتاژ که شکست خورده بود:  MyComputer

این باز کردن راه های جدید پژوهشی, پس از آن دوباره به گوگل. که منجر به این پست انجمن: HTTP://forums.codecharge.com / posts.php?post_id = 67،135. That didn’t really help me but it did start making me think there was a database and/or security issue. I soldiered on and اندرو در کانل post finally triggered the thought that I should make sure that the application pool’s identity account had appropriate access to the database. I thought it already did. اما, همکارم رفت و به برنامه استخر هویت برای دسترسی به حساب به SQL.

به محض این که او ساخته شده است که تغییر, everything started working.

بعد چه اتفاقی افتاد بهتر است به عنوان یک بیان شعر بی قافیه سه سطری ژاپنی شعر:

مشکلات بالا بردن دست خود را.
You swing and miss. Try again.
موفقیت! But how? چرا?

او نمی خواست به ترک تنهایی می خواهم که, ترجیح می دهند به دادن مجوز حداقل (و احتمالا با یک چشم به نوشتن یک وبلاگ; من او را مورد ضرب و شتم به پانچ, muhahahahaha!).

او مجوز های پی در پی از نرم افزار حساب استخر هویت تا حذف … there was no longer any explicit permission for the app pool identity account at all. The web service continued to work just fine.

We went and rebooted the servers. Everything continued to work fine.

پس, برای روکش کردن: we gave the app pool identity full access and then took it away. The web service started working and never stopped working. Bizarre.

اگر کسی می داند چرا که باید کار می کرد, لطفا ترک یک نظر.

</پایان>

راه حل (مرتب کردن بر اساس): تنظیم اولویت در کار با استفاده از شیرپوینت طراح

من یک سناریوی کسب و کار مثل این:

  • ارسال کاربر یک سند به کتابخانه اسناد.
  • او یک نوع محتوا را انتخاب و وارد داده های متا به عنوان مورد نیاز. یکی از زمینه های داده متا یک پرچم است, "Urgent".
  • این باعث گردش کار شیرپوینت طراح است که, در میان چیزهای دیگر, uses the "Collect Data from a User" اقدام.

"Collect Data from a User" ایجاد یک آیتم در یک لیست کار درخواست تایید برای آن سند,,en,من نیاز به ایجاد یک دیدگاه از لیست کار که درخواست فوری برای تصویب نشان داد,,en,قرار دادن کلمه "فوری,,en,به عنوان این وظایف,,en,من ترجیح داده اند برای مشخص درست اولویت به طور مستقیم,,en,من قادر به انجام این کار به چند دلیل بود,,en,عمل جمع آوری داده ها هیچ مکانیزمی را فراهم نمی کند برای به روز رسانی هر رشته دیگر از عنوان,,en,و کسانی که زمینه های اضافی که شما می خواهید به جمع آوری داده,,en,به "اختصاص یک آیتم به انجام,,en,عمل همان مشکل,,en,این ممکن است برای وارد کردن یک آیتم را به یک لیست,,en,درج یک آیتم را به لیست کار به طور مستقیم,,en,اما این یک عمل مسدود کردن,,en,این بدان معناست که گردش کار نمی خواهد صبر کنید برای کاربر کامل است که وظیفه,,en,من چند روش قبل از در نظر گرفته,,en,خوشبختانه,,en.

I needed to create a view of the task list that showed urgent requests for approval.

راه حل: Put the word "URGENT:" into the title of these tasks.

I would have preferred to specify the priority field directly. اما, I was unable to do that for several reasons:

  1. The collect data action does not provide a mechanism to update any field other than title (and those additional fields for which you want to collect data).
  2. The "assign a to do item" action has the same problem.
  3. It’s possible to insert an item into a list (i.e. insert an item into the task list directly) but this not a blocking action. That means that the workflow will not wait for the user to complete that task.

I considered a few approaches before (thankfully) realizing we could just put "urgent" in the title.

  1. Start a workflow on the task list itself so that when a new task is created, it somehow cross references back to the document that started the first workflow, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, locate the associated document and update priority as needed.
  3. Use the "create list item" action in conjunction with the "wait for field change" action and an event receiver. If we create a list item, we can specify all the fields we want. Use an event receiver to update the original item when the user completes the task and the "wait for field change" action’s condition would be met and the workflow would proceed. (For some reason, I had more or less settled on this approach before wisely deciding to walk away for a while).

There is a drawback to my solution (aside from the obvious fact that only the text of the title indicates urgency). Since "collect feedback" only accepts hard coded title names, I need to use two different collect feedback actions whose only difference is that hard coded title.

اما, at least there’s a solution that does not require event receivers or custom SPD actions.

If someone has solved this in a more clever way, لطفا اجازه دهید من می دانم.

</پایان>

یکشنبه های خنده دار: نگه داشتن فرزند خود را بر روی او انگشتان پا

One of the many joys I take in being the parent of a ten year old boy is finding new ways to make him laugh or think a little differently about questions and things in the world. I’ve used these techniques over the years:

=

Misconstrue سوالات بود:

آن: چه روزی است?

پدر: یک روز قبل از چهارشنبه.

S: نه, what day of the month is it?

D: اوه, it’s 4 days after Jan 25.

=

Tickle him and tell him you’ll stop when he stops laughing.

=

Go down stairs to the TV room and announce, "It’s good to be the daddy." سپس, pick him up to get the warm spot on the couch and change the channel to something good, like the Scifi channel.

=

Read stories out loud. Insert ridiculous sentences in the middle of the story. My favorite is to add "killing him instantly" when the main characters encounters some minor trouble. مثلا, "the knife slipped in his hand, cutting his index finger, killing him instantly." Nothing quite gets your son out of a complacent and passive listening mode as the main character being killed instantly.

=

Read stories incorrectly. Read sentences backward. The best part of this is that the first couple of times I did this, my son thought he was helping me out by pointing out that I wasn’t reading the words in the right order. The down side is that he really doesn’t want me to read to him any more.

=

Go to Burger King for lunch. My son would eat BK morning, night and day if we let him. When going, tell him, "I know you hate going there, but we simply have no choice." When he tries to explain that he loves BK, talk over him and say things like "We don’t have time to argue about it! We’re going and I don’t want to have a discussion!"

(This reminds me of my favorite Borg joke: "Borger King: We do it our way. Your way is irrelevant." hahaha!)

=

Open a book to page 9 and say, "hmm, that’s an odd page".

=

Fill the world with arch enemies. "We’re going to run quick over toe 7-11, arch-enemy of 11-7".

"Your aunt lives in Ringwood, arch enemy to the town of Squarewood."

=

We drive up to Massachusetts from New Jersey several times a year and it often takes about 5 hours door to door. As we arrive home and pull into the driveway say, "oh, I forgot, we need to make a quick dash to Home Depot."

=

When watching a violent episode in a TV show (such as Heroes), tell your son, "some times, at work, I need to destroy my enemies by burning them alive using the powers of my mind. I don’t like doing it, but you gotta do what you gotta do."

=

When watching bad horror movies (see "It’s good to be the Daddy" بالاتر), ascribe improbable motives to the evil character. مثلا, tell your son that the reason Jason is so angry is because he wants some cake and they won’t let him have any.

=

Explain phone numbers incorrectly. Instead of telling your son to dial "201-111-2222", tell him it’s "2-011-1-12222".

=

What tricks do you use?

</پایان>

برچسب ها:

مهمان وبنوشتها?

It seems fairly common in the political blogging world for a given blog to host a "guest blogger". When I’m in political blog land I must be wearing a different pair of eye glasses because it never occurred to me that "guest blogging" might make sense for a technical blog like mine. That is, until I read this post by Kanwal Khipple over at The Best of SharePoint Buzz- ژانویه 2008.

Thinking on it, I believe there could be a lot of people out there in SharePoint land that have the itch to put together an article, short or long, technical or more business oriented, غیره, but don’t run their own blog for all the usual reasons. If you’re one of those people, I’d be happy to host it. You can reach me via email or leave a comment. I haven’t thought through any kind of guidelines, but I suppose that I’d want it to be oriented around SharePoint, but I also like to throw in some personal observations about consulting now و سپس. I’m also trying to publish a "یکشنبه های خنده دار" every week and I’m bound to run out of ideas for that.

If you’re a regular blogger already but would like to experiment with guest blogging, I’m definitely open to that too, either as a host or a guest 🙂

</پایان>

برچسب ها:

این است که چرا من دوست ندارم با استفاده از ابزار روز صفر

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

اگر این ابزار در حال انجام مسائل شما را درک نمی کنند و سپس آن را در مرحله نفر تعداد نامعلومی از مراحل با شکست مواجه, شما مرده در آب…

</پایان>

راه حل برای عدم واردات ADF BDC: “خطای زیر رخ داده است:”

من یک بار دیگر تهیه شد و BDC فایل ADF با دست (so that I can build up my "get off my lawn!" من) و ضربه زدن به این خطا دوست داشتنی:

تصویر

"Application definition import failed. خطای زیر رخ داده است:"

همانطور که می بینید, یک خطا وجود دارد, اما … آن را نمی خواهید به من بگویید که آنچه در آن است.

در مورد من, the issue turned out that I had started off with a functional ADF for a different project that connected to a database and executed a SQL query against a view. In this new project, I am calling a method on a web service. I had stripped out the DB specific stuff and added my web service stuff, but failed to update the <LobSystem>’s Type attribute. I switched it to "WebService" and I happily moved on to newer and more exciting import errors, which were handled in due course.

Here is the wrong LobSystem:

<LobSystem
xmlns:xsi=HTTP://www.w3.org/2001/XMLSchema-instance
XSI:schemaLocation=HTTP://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="Database"
Version="1.0.0.0" Name="xyzzy"
xmlns="
HTTP://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

This is correct:

<LobSystem
xmlns:xsi=HTTP://www.w3.org/2001/XMLSchema-instance
XSI:schemaLocation=HTTP://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="WebService"
Version="1.0.0.0" Name="xyzzy"
xmlns="
HTTP://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">

</پایان>

برچسب ها:

BDC یک جایگزین مناسب رشد و ترقی را برای این متغیر به نظر می رسد

تکمیلی: این MSDN ارسال برخی از مشاهدات جالب از JXJ بر اساس آن, عمدتا منفی, تجارب پایین رفتن این مسیر: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2623565&SiteID=1

We have a business scenario where we need to link two documents libraries via a common "document ID" میدان.

We often use a lookup column to implements links like this. There are several drawbacks to lookup columns, three of which are:

  1. Only one column from the lookup lookup library can be linked.
  2. Performance: The source library could contain hundreds of entries. That’s too many entries in the lookup.
  3. جستجو: There is no integrated search. I don’t mean in the MOSS sense of search, but there’s no way to search / filter on multiple columns from the source document library and locate the link you want.

Backed by BDC, we can use a "business data" column type and it provides a superior search and even allows multiple columns of data to appear in list views.

I’ve had some preliminary success with this approach and plan to write more about it.

If you’ve worked this angle before and have any comments, please share!

</پایان>

برچسب ها:

راه حل به خطا واردات BDC: “می تواند نوع شرح داده شده توسط TypeName TypeDescriptor بار نیست …”

من کار با امروز BDC, coding ADF files by hand and generating myself some errors. One such error:

برنامه واردات تعریف شکست خورد. خطای زیر رخ داده است: می تواند نوع شرح داده شده توسط TypeName TypeDescriptor بار نیست. نام پارامتر: typeName خطا یا درست قبل از خط مواجه شد: '35’ و موقعیت: ’20’.

MOSS displayed this error when I tried to import the ADF XML file.

I researched the Internets and found that I was referencing the LOB instance name (from the <LobSystemInstance>) in my <TypeDescriptor> node when I should have referenced the LOB name itself (از <LobSystem>).

اشتباه:

<TypeDescriptor TypeName="Conchango.KeyValue, LOB Instance Name" Name="KeyValue">

Correct:

<TypeDescriptor TypeName="Conchango.KeyValue, LOB Name" Name="KeyValue">

Hope this one saves someone an hour or two of time.

</پایان>

مشترک شدن در وبلاگ من!

برچسب ها: