WSUS website disappearing
With that said, there are a number of participants on the SMS list hosted on www.myITforum.com, which is an extremely popular mail list for SMS/ConfigMgr administrators and consultants world-wide. Many on the list are reporting how the WSUS website (which is generally running on port 8530(HTTP)/8531(HTTPS)) "mysteriously" disappears from the IIS mgr console (e.g. the metabase also). I mean absolutely no trace of its existence or that it ever existed.
As stated, this is happening to more than a few people.
This is very strange. Has anyone every reported behavior like this?
Troy L. Martin | intellinet | senior consultant
doubts about HyperV
I have some doubts about HyperV before implementing it on my network.
1. There HyperV version with and without HyperV or downloading from Windows Update is worth any version.
2 .- many virtual machines can be installed in a standard windows 2008 x64 with HyperV?.
3 .- Regarding the backup of virtual machines, software that is used to make hot and non stop service?.
Thanks companions.
Reply:
You will find Windows Server 2008 SKU's that are "without Hyper-V" - I think you can figure that one out ;-)
Can you run virtual machines? Yes.
As much as your hardware allows.
Plus, the version of Windows Server 2008 that you purchase allows virtual Server 2208 licensing instances. You just pay for the Server 2008 running on the hardware, not the ones in the virtual machines.
(please see licensing for the full details).
Backup.
If your backup provider is Hyper-V VSS aware, then you can take a backup of running virtual machines.
Check your vendor.
Brian Ehlert (hopefully you have found this useful)
------------------------------------
Reply:
Could you give me links Licensing HyperV and machines that can be installed on installing and backup HyperV?
Thank you
------------------------------------
Reply:
http://www.microsoft.com/windowsserver2008/en/us/licensing.aspx
Hardware support:
Here's a link to the full list
Always test and double check. These are just teh 'official' and 'tested' - there are pleanty more that will run it.
Backup?
You can use Windows Server backup, you can use Data Protection Manager, you can use a number of third parties.
You will have to do the research there, as the options are varied and many.
Brian Ehlert (hopefully you have found this useful)
------------------------------------
Reply:
Hello,
You can definitely run multiple virtual machines until Windows Server 2008 standard edition w/ Hyper-V. The usage of standard edition for virtualization could be an excellent tool for branch office virtualization. The experiences we've had have shown us that we can save a significant amount of money by consolidating branch servers under that platform. We have typically gone with Enterprise Edition in datacenter environments due to the value of quick migration.
Data Protection Manager is going to support live backups of guest virtual machines and will be an ideal solution for backing up virtual machines. I would still plan to backup any business data independently of the VM backup itself.
Nate
------------------------------------
Reply:
TN Edge Video: Hyper-V Server and Live Migration
sneak peek at Hyper-V Server and Live Migration.
http://edge.technet.com/media/demo-hyper-v-server-and-live-migration/
TN Edge Video: Hyper-V Server First Look
Shows Hyper-V Server for the first time ever - a dedicated OS just for hosting Hyper-V virtual machines. Bryon Surace took some time out from his launch activities to give us a quick tour around the product. Hyper-V Server will be a free download, available in about a month.
http://edge.technet.com/media/first-look-hyper-v-server/
TN Edge Video: Managing VMs with SCVMM
Shows how SCVMM manages Hyper-V, Virtual Server and even Vmware virtual machines from the same console. Shows me how it uses PRO tips to automate tasks based on certain conditions. Shows the integration with System Center Operations Manager. Shows that everything that you do through the UI actually just spawns PowerShell commands, and how you can expose those commands to create your own scripts and automation. Includes peek at - Live Migration of VM's and Hyper-V server. really cool stuff!
http://edge.technet.com/media/virtualization-launch/
tony soper
------------------------------------
Backup up and restore a Sharepoint website - Lets have some Straight Talk!
Ok, I've read up on 4 or 5 different ways to backup a share point site collection (collaboration portal): Central Admin, Stsadmin, Sharepoint Designer......
I simply want to know, Which is the best for backing up and entire Site: Page layout, Template, design, data, database.... EVERYTHING,... I mean i want to copy an entire site, the whole thing plus the data. A carbon copy, twin brother....
so once i get it all backed up to one clean file ( i assume it's backed up to one file ) i want to then take that file...... and restore it to another site with a different name where the site will look the EXACT same plus the data. (not overly concerned about security. but would love for it to keep security if i move the site but within the same sharepoint farm)
ALso keep in mind that i do want to copy from one sharepoint farm.. to a totaly sperate sharepoint farm that has nothing to do with the existing farm.
so then we will have 2 websites that look the exact same! with the exact same data and you couldn't tell one difference between them except for the name.
If someone could provide very fine detail in how to do this i would be very grateful, please assume i know nothing!!!! because i never successful backed up and restored an entire site.
Reply:
My sense of things is that the best practice is to use a 3rd party tool. I like Data Protection Manager because it seems a good cross between function/price. I would also recommend folks review Avepoint and Commvault.
That said, even really good tools will have potential troubles moving things around like that in a safe way. Content types, workflows, users and permissions ... these can be wildly different from one farm to the next.
--Paul Galvin of www.Conchango.com @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace
------------------------------------
Reply:
http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/7c71a70a-15f7-41d6-95f1-5a319e782201
I would like to take a backup of my whole sharepoint farm (production), and restore it to my staging environment. I am using commvault, so that isn't a problem with the backup.
The biggest concern I have is how do I 'rename' the environment? I assume if my production URL is http://sharepoint.toro.com/ that when I restore to my staging environment I will have to have something like http://stagingsharepoint.toro.com/. How do I do that? The DNS entries are already set for it, it's more a problem of what all needs to be changed once the restore is completed for this to work? I assume that the URL is embedded all over the place within the databases and configuration files.
Can this work or am I completely out in left field?
Thanks.
Ted
------------------------------------
Reply:
- Go To Central Admin
- Operations
- Under Global Configurations ... Click Alternative Access mappings
- Click edit public URL, select that web application you want to change, Change it to what you want
- Make sure the new name is a Registered domain pointing to that web server
- Using Http host headers in IIS6 .. add the host header value into the host headers example: example.com into host headers and what ever port you use *probably 80)
- you can do 20 diffrent site names to go to one site.. all through alternative access mappings.. first eddinting the public url and then if you desire you can add internal urls... (as long as they are registered and pointed to your web server they will work)
Now the comm vaul thing.... tell me how this works! :)
------------------------------------
Reply:
Do we have any stsadmin people on this forum who could lend a hand in how this is done through sts admin?
------------------------------------
Reply:
It hasn't been completely without problems, but for the most part we are pretty happy with it.
Ted
P.S. I just realized that maybe you were curious how we would restore the Farm to another Farm with Commvault. Honestly I am not sure how that will work since we have never tried it before. I do know that Commvault has an option for restoring the data to a different server, so I was hoping that would work.
------------------------------------
Reply:
Especially with stsadmin.exe
i believe that's the easiest way but i just want to talk to someone with stsadmin experience before i try it.
------------------------------------
Bug in french localized version of wpdshextres.dll
I just found a bug in french localized version wpdshextres.dll which comes with WMP11, in its file version 5.2.5721.5145. This localized dll popups an AutoPlay window when you connect a mobile device. But this AutoPlay window is buggy in french localized version of this file:
Whereas Italian one works great :
I found where the bug is in this file. It's in the stringtable resource, id 500 :
500 Ouvrir l'appareil mobile pour afficher les fichiers
This string is too long for AutoPlay window, so I replaced it with that one:
500 Ouvrir le dossier pour afficher les fichiers
And the bug is gone.
Cheers and regards.
- Changed type Matt AndrewsMicrosoft employee Wednesday, December 2, 2009 5:51 AM Not a question
- Moved by The March Hare Wednesday, June 16, 2010 11:51 PM not about Media Foundation SDK (From:Media Foundation Development)
Microsoft tech support failed to install sp1 update on my Vista computer
My SP1 update got stuck on stage 3 of 3, so I read this forum and called the free tech support line. I spent more than 3 hours talking to a man in Banglaore who did the following:
First, he had me get my desktop back by doing the restore point proceedure.
Next he had me download the standalone SP1 update.
Next he had me unistall my Kaspersky Internet Security.
He then tried to install the SP1 but it got hung up halfway through the first installation dialogue box. It never even got to stage 1 of 3.
After trying minor and seemingly pointless things, he then went to DOS and tried to do a screen for ? other security programs that might be lurking on the computer. (I told him there were none because the computer is almost new). Anyway, the DOS screen seemed to be doing its thing but then it got hung up. At that point it was midnight and I told him I had to go to bed. At least I had my desktop back although it keeps saying it is in the selected something mode and even though I change it back to "normal" mode through msconfig, it won't remain there..However, despite that it seems to be functioning OK.
I am not going to try to install this update until Microsoft gets its act together and cleans it up or gives the tech support people more training. If they don't make it possible to install, then I will go back to windows XP. It ran faster and gave me fewer problems.
SPCopyDestinationType
After the copy of the source document was created with a
SPListItem oDestinationListItem = oDestinationFile.Item;
oDestinationListItem["Title"] = txtTitle.Text;
oDestinationListItem.Update();
oDestinationListItem.CopyFrom(strSourceUrl);
You can then set the properties of the copied document with the following code:
oSourceItem.CopyDestinations.Add("http://" + Page.Request.Url.Host + strDestURL, SPCopyDestinationType.None, "comment");oSourceItem.Update();
oDestinationListItem.File.CheckIn("", SPCheckinType.MajorCheckIn);
The copy of the document is in a Checked Out state, so I check it in.
The SPCopyDestinationType enumeration has four options:
SPCopyDestinationType.Ignore
SPCopyDestinationType.None
SPCopyDestinationType.NoUpdate
SPCopyDestinationType.Update
The copy document still has some recollection of the source and will display this on top when viewing it's properties. The difference comes in with the Source document's links to the copied document is kept with the specified type.
When you View Properties on the source document you can click on the Manage Copies menu item. A view with two categories are displayed, namely:
Copies that prompt for updates
Copies that do not prompt for updates
The SPCopyDestinationType.Update and SPCopyDestinationType.NoUpdate creates these types respectively. The None option does not create a link and thus won't be displayed. The Ignore option has the same behaviour, but I have not explored the differences.
Vista problem "Windows host process Rundll32 has stopped working"
For all of you that are having this Host Process (Rundll32) has stopped working error, here is how i fixed it.
Go into control panel, then folder options, then view and select "Always show icons, never thumbnails", then "Apply". This resolved the message from appearing.
Just to see if the problem occurred again after I fixed it through control panel, I unselected the "Always show icons, never thumbnails", then hit "Apply". Guess what.... It still does not show up on anymore. This is how I resolved my issue.
Since I do not have Nero, this appears not to be just a nero problem, it seems to only come up when folders are opened up that contain video files.
report by sharepoint d.
my question : Spd 2007 how read data for create report? ...With a query on db Sql used by Moss 2007?
And there is a method / option for set up period limit 30 days a annual period of report Moss ?
thank's !
zamo-.-
- Moved by Mike Walsh FIN Friday, September 19, 2008 5:38 AM Wrong forum (Moved from SharePoint - General Question and Answers and Discussion to SharePoint - Design and Customization)
- Edited by za11111 Friday, September 19, 2008 1:43 PM
Reply:
Moving this there. Please post SPD 2007 questions there in future
------------------------------------
KB948109 - SQL server update - Successfully installed !
Hi,
The update to SQL server KB948109 used to fail to install. I tried do install it directly from microsoft's site (http://www.microsoft.com/downloads/details.aspx?FamilyID=4c9851cc-2c4c-4190-872c-84993a7623b7&DisplayLang=en). It started installing but ended abruptly half way through without giving any error message.http://www.microsoft.com/downloads/details.aspx?FamilyID=4c9851cc-2c4c-4190-872c-84993a7623b7&DisplayLang=en). It started installing but ended abruptly half way through without giving any error message.
Then I contacted microsoft support and they asked me to first uninstall "microsoft SQL server 2005" from my computer using Add/remove programs. Well, then the second problem surfaced - there was no "Microsoft SQL server" listed in Add/remove programs.
So after much frustration i came across this blog (http://blogs.msdn.com/astebner/archive/2005/07/01/434814.aspx) which describes a tool called "msiinv" that shows what all is installed on your computer - it shows much more than add remove program. it also shows the "{product code}" for each program installed on your computer.
Then, I followed the instructions on this blog (http://blogs.msdn.com/astebner/archive/2005/09/13/465401.aspx) to uninstall everything related to Microsoft SQL server. This blog also describes another program called "smartmsizap", not sure what this does, but i figured what the *** use it anyway. I think it cleans the registry, but not sure.
The above two completely removed "microsoft SQL server" from my computer when it wasn't showing in Add/remove programs !
Then i reinstalled Microsoft SQL server from the links that the microsoft support guy gave me:
Reinstall SQL Express from the following link:
<http://go.microsoft.com/fwlink/?linkid=65212> (SQL Express)
<http://go.microsoft.com/fwlink/?linkid=65109> (SQL Express with Advanced Services)
<http://go.microsoft.com/fwlink/?linkid=65110> (SQL Server Management Studio)
I used the 1st one "SQL Express"
then again downloaded the update from microsoft's website (http://www.microsoft.com/downloads/details.aspx?FamilyID=4c9851cc-2c4c-4190-872c-84993a7623b7&DisplayLang=en) and Presto ! it installed. Enjoy!
Implementing SQL 2005 Clustering
Sooner i will implement this sql 2005 clustering on HP IA64 machine with Win Server 03 Enterprise
by using SAN
I guess i will need some advice from time to time during this implementation period. I will start this clustering job on this coming monday. Hopefully we can discuss further. I'll keep update and do some job tracking so u guys can give some sort of advice or opinion during the implementation.
TQ..
P/S - This is my first clustering job.
Installing Update 1 for MDT 2008 - Caution
Anyone installing Update 1 for Microsoft Deployment Toolkit 2008 be careful. After installing Update 1, your Deployment points could/will disappear and could cause heart failure...Read the steps to take to fix this after Update 1 is installed. It is very easy. They also tell you how, "if it really bothers you", to update the version number of MDT that doesn't get updated during the install either.
http://blogs.technet.com/msdeployment/default.aspx
You really have to wonder what the commitment to product quality is at MS. Do they even test this stuff before releasing it? Didn't anyone notice the Deployment points vanished after the upgrade?? Maybe because it's free, the "whatever" attitude is acceptable.
Reply:
Well, I visited that link *after* installing MDT 2008 Update 1 and nuking my configuration. The link referred to above does not actually have instructions for recovering from such a scenario UNLESS you have prepared for it by backing up your existing MDT 2008 config beforehand.
I didn't do this.
I'm now digging around for a six-month-old hard drive that contains a hideously out-of-date copy of the VM in which MDT 2008 was installed...
------------------------------------
PUBLICATION services complicated
| Hello, I have a ISASERVER 2006 SP1 front of a network that only use for certain services. Behind this ISASERVER, there are 2 servers, with its external and internal IP. ISASERVER -> External IAS: 80.58.x.10 ** Internal IAS: 10.1.0.1 SRVWEB01 -> External IAS: 80.58.x.1 ** Internal IAS: 10.58.0.1 SRVWEB02 -> External IAS: 80.58.x.2 ** Internal IAS: 10.58.0.2 Is that a customer can manage external server SRVWEB01 by Terminal Server (80.58.x.1) as well as other customer can manage the same way the SRVWEB02 (80.58.x.2) Both SRVWEB01/02 each have a website that also needs to publish. I will be able to help implamentar these rules in the ISA? Thanks companions. |
Reveal password field in login
- Edited by Silvercode Thursday, September 18, 2008 6:03 PM Added quotes
Create a WebPart for display all the Document Libraries in Current Site and also its Sub Sites, Which Should be displayed in an GridView Format
I need help in sharepoint, I want to create an WebPart, which displayes all the Document Libraries of the Current Site and also on its Sub Site., Which Should be displayed in an GridView Format Plz help me sir, I expecting the reply plz help me
Reply:
but this litle code help you creating your webpart...
| SPSite mySite = SPContext.Current.Site; |
| SPWebCollection subSites = mySite.AllWebs; |
| //need to create other foreach to list site and sub-sites.... |
| for (int i=0;i<subSites.Count;i++) |
| { |
| SPListCollection lists = subSites[i].Lists; |
| // Code to get Document Librarys and List items |
| foreach (SPList List in Lists) |
| { |
| if (List.BaseType == SPBaseType.DocumentLibrary && List.BaseTemplate == SPListTemplateType.DocumentLibrary) |
| { |
| //URL of FILE |
| response.write(List.Title); |
| } |
| } |
| } |
Hope this help
André Lage Microsoft SharePoint and CRM Consultant http://aaclage.blogspot.com
- Edited by André Lage Thursday, September 18, 2008 2:18 AM
------------------------------------
Reply:
Thanx for the reply sir, Sir i had worked on your code, Which displays all the document Libraries Name, That's fine sir, But i need to Display this List of Document Libraries Name in a GridView. Can You Help Me sir. I expecting your Reply soon sir
------------------------------------
Reply:
http://msdn.microsoft.com/en-us/library/bb466219.aspx
André Lage Microsoft SharePoint and CRM Consultant http://aaclage.blogspot.com
------------------------------------
Ati catalyst 8.9
Arriving today is Ati catalyst 8.9 drivers. New control panel features, add support for new video cards
1080p at 50 Hz hd displays
ATI radeon Hd 1000 ,2000, 3000, 4000 series cards
New overdrive quad crossfire video card support.
Introduced with this series driver id Open gl 3.0 support.
As always please make a back of your important data, and computer configuration. And please use the readme file included with the driver.
Cheers
Keith G
Supported OS
Note there is even editions for media center, and Ati multimedia software.
Xp media center edition
Xp Professional/home
Xp x64
Vista 32
Vista x64
found solution for "No sound after SP3"
1 > first disable the audio device in BIOS.
2> boot up PC
3>Reboot
3>enable the audio device in BIOS & boot up de PC in "Last config that worked " by pressing F8
when u will boot up "new device found" will pop up, so now install de drivers.
jus post de replies if it works 4 u 2 ,so others can know !!!!!!
There was an error in the callback" error in Create Site collection
When I select Create Site Collection --> Select a language: Russian
I have an error:
Microsoft Internet Explorer
There was ae error in the callback
But when I select Select a language: English, everything is fine
How can I fix this error??
Thank you,
FK
- Changed type Filkat Thursday, September 18, 2008 2:45 AM
Reply:
Sharepoint Services 3.0
IIS 6
ASP.NET 2.0
framework 2.0; framework 3.0
Thank U
FK
------------------------------------
How To Create A Footer
How To Create A Footer on each MOSS Pages.
regards,
iffi
iffi
Reply:
<asp:ContentPlaceHolder ID="PlaceHolderFooter" runat="server"></asp:ContentPlaceHolder> and all the others.
Site where explain Master Page Configuration
Hope this help
André Lage Microsoft SharePoint and CRM Consultant http://aaclage.blogspot.com
- Edited by André Lage Wednesday, September 17, 2008 6:22 PM
------------------------------------
MSS
I can download MSS but cannot create a user identity.
Reply:
Have you encountered any error? Can Windows SteadyState detect the user accounts set in Windows on the computer?
------------------------------------
Reply:
------------------------------------
Reply:
Hi, I suggest you try the solutions in the following thread and check the result:
User profile cannot created. Try again
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2881496&SiteID=17
Hope this helps!
------------------------------------
Reply:
------------------------------------
Reply:
Thanks for the update. We can create a new account in Windows and see whether this account can be recognized by Windows SteadyState:
1. Click Start, go to Control Panel.
2. Click on User Accounts.
3. Create a new account.
4. After that, please open Windows SteadyState and check if the account can be detected in User Settings.
------------------------------------
Reply:
Well well! I'm struck in awh! It worked: don't ask me explicitly what worked, all I know is that after executed and tweaking according to the guidence offered here and my general mucking up, It worked......Thaaaaaaaannnnnnnnnnnnnnnkk Yoouuuuuuuuuuuu Soooooooooooo Very much!
------------------------------------
Workflow Threading Issue? Please discuss...
This is a problem we have been experiencing for a while here and it has reached the point where something drastic is going to have to be done. I believe strongly that the problem is with MOSS and wanted to reach out to someone that may be able to provide a more detailed explanation of what may be going on. I have read a lot on the common problems people face with this and am not experiencing the usual issues as far as I can tell.
Using InfoPath forms, server through the browser via Forms Services, a form is saved to a SharePoint Form Library. This library requires a document to be checked out in order to be edited. Since this is the case, I use a data connection to the library's Lists web services, calling the CheckInFile web service. All of this works great. The documents are hitting the library and the ItemAdded, ItemCheckedIn and ItemUpdated events are all firing. The way I know the events are firing is that during the course of investigating this problem I overwrote these events to write to the application log when an event occured making a note of which event and for which document. All the events occur for the document on the same one of our two load-balaced Web Front Ends (Medium Farm), confirming that the session is in fact taking place on one server as it should.
Within the document library we have two workflows. These workflows are created with SharePoint Designer. One is set to fire when an item is created and the other is set to fire when an item is updated. What we noticed is that on occasion (meaning that at least half the time it works as you think it should), the workflow set to fire when the item is added does not fire, but the one set to fire on the item update event does. When this happens, the logging events (ItemAdded, ItemCheckedIn and ItemUpdated) events all fire and appear in the log. However, in the 12\Logs we see these two errors:
08/12/2008 07:59:22.63 w3wp.exe (0x3790) 0x4400 Windows SharePoint Services Workflow Infrastructure 72fv Unexpected AutoStart Workflow: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x8102008A ---> System.Runtime.InteropServices.COMException (0x8102008A): Exception from HRESULT: 0x8102008A at Microsoft.SharePoint.Library.SPRequestInternalClass.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId) at Microsoft.SharePoint.Library.SPRequest.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId) at Microsoft.SharePoint.Library.SPRequest.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId) at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(SPListItem item, SPFile file, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bAutoStart, Boolean bCreateOnly) at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp)
08/11/2008 07:20:01.81 w3wp.exe (0x0D20) 0x356C Windows SharePoint Services General 0 Unexpected ERROR: request not found in the TrackedRequests. We might be creating and closing webs on different threads. ThreadId = 11, Free call stack = at Microsoft.SharePoint.SPRequestManager.Release(SPRequest request) at Microsoft.SharePoint.SPSite.Close() at Microsoft.SharePoint.SPSite.Dispose() at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange, AssocType atyp) at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.AutoStartWorkflow(SPItemEventProperties properties, Boolean bCreate, Boolean bChange) at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.ItemUpdated(SPItemEventProperties properties) at Microsoft.SharePoint.SPEventManager.RunItemEvent Receiver(SPItemEventReceiver receiver, SPItemEventProperties properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, Object properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.<>c__DisplayClass8`1.<InvokeEventReceivers>b__0() at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, CodeToRunElevated code) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPUserToken userToken, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](Byte[] userTokenBytes, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData) at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state) , Allocation call stack (if present) null
Based on this and researching this issue and these errors, I believe that there is an issue with the ItemUpdated or ItemCheckedIn thread possibly finishing before the ItemAdded event. Can anyone speak to this? This error appears on both servers when the session experiences this issue and the server was handling it.
What I would expect to happen is the following and in fact, it does work exactly like this a little more than half the time.
1. InfoPath form Submit Action saves to the document library. Since the library requires document check out, it is checked out by default no workflows are started as the ItemAdded event does not fire.
2. InfoPath form Submit Action calls Lists.asmx CheckFileIn web service and checks the document in.
3. The first time a document is checked in, it fires the ItemAdded, ItemCheckedIn and ItemUpdated events, starting the corresponding workflows.
So what does everyone think? I'm at a total loss and have to conclude that SharePoint doesn't take into consideration something that it should be, such as ensuring these events finish in order before calling a workflow. I cannot find a good resource to confirm my suspicions however. Again, I'd like to reiterate that this process works as expected a little more than half the time.
Feel free to ask questions about how any of this is configured or accomplished.
Thank you for your time.
Reply:
Based on my experience, event handlers are too closely tied to the physical saving/updating of information to be reliable for finely tuned "stuff." I think it's likely that you won't be able to get this to work relying on event receivers. I would use them to build to create entries in a queue (possibly a custom list). Have the workflow run against that custom list.
That way, it's just a queue and it's much more obvious what is happening and when.
--Paul Galvin of www.Conchango.com @ http://feeds.feedburner.com/PaulGalvinsSharepointSpace
------------------------------------
Reply:
Based on what I'm reading, there was a problem with the ItemAdded and ItemUpdated events running at the same time for some of the beta versions of MOSS 2007. Supposedly it was fixed, but there are some reporting the issue still exists (http://mqsharepoint.blogspot.com/2007/03/spitemeventreceiver-itemadded-and.html).
Can anyone speak to the theory that the ItemCheckedIn and ItemAdded events are competing to finish on separate threads? Is there a way to confirm this? If this is the case, the item check in/out feature is fairly incompatible with workflows and this should be addressed by Microsoft either through clarification or a patch.
------------------------------------
No comments:
Post a Comment