Answer Questions
Grobbies Help Required- List Events
Hi I'm writing an event to User Information List... Here I'm using some conditions. If they are not met then I have show up an error message and stop the event to complete in the below code I'm using the ItemUpdated Event of the list. In custom code a condition is checked if satisfies then error page should come.... public override void ItemUpdated( SPItemEventProperties properties) { CustomCode(properties); } void CustomCode( SPItemEventProperties properties) { if (alreadyExist) { alreadyExist = false ; properties.ErrorMessage = "error message" ; properties.Cancel = true ; } Now when I run the above code this message is not coming.....my code is working ...Show All
Paul Mason design pattern question - proxy
Hello, I'm implementing a software module and hesitating about the appropriate design. The client needs to perform operations for an componenet which is divided to few parts in the memory. However the client treats the componenet as one contiguous. My design includes a "Manager" which has an interface for the client and handles all operations for this components. The "Manager" knows when it is asked to read/write the appropriate part of the memory. It hides the fact that the component is divided to few parts in the memory space. I wonder if this is called a proxy, facade or a bridge Or maybe other pattern I think it is a proxy but not sure since there few real objects (i.e. subjects) and not only one. In cas ...Show All
Chris McLeod Web part development in local machine or server
Hi, I have a server where the WSS installed and I have installed VS 2005 in my local machine. Trying to create a web part from local machine using the "Visual Studio 2005 Extensions for Windows SharePoint Services 3.0". But the problem is, I am getting an error message saying "No sharepoint site exists for the URL" and the debug process stops. To correct the error, I went and changed the URL to the one hosting the sharepoint services under project propeties > debug > start browser with URL and I re-compile, still getting the same error. I am wondering of few things: - do I need to install VS 2005 in the server and start developing the web parts in the server itself - If above is not a good ide ...Show All
Cory Cundy Large Serv_db
Hello, The sps_Serv_db for my portal site has grown in size to over 22GB. The Site_db is only 9GB. I looked at the tables in the serv_db and observed that src_gathererlog_1 is by far the largest at approx 22GB. There are also tons of errors in the gatherer log (under site settings). Does anyone have any ideas on how I can reduce the size of this database while I figure out how to resolve the issues indicated in the gatherer log Thanks ...Show All
elwood aspmenu
I need to modify the HTML that is obtained from Sharepoint:aspmenu, it draws tables and I need that they are div. Any idea about that Thanks this should hopefully help you http://blog.u2u.info/DottextWeb/patrick/archive/2006/08/21/29840.aspx Cheers Nick Thanks,It is exactly what I need. Perfect!!! ...Show All
curiousss Permission to a certain view
Is there a way of restricting users to a certain view. Example: A list of employees contacts and salary information with two views. One for the HR Managers and one for the other is for the HR employees. I want to limit the group of HR Employees to the contact details but not salary information. I thought of this solution, it serves the purpose just fine. However, there is one problem thou. I think if users knew the exact url to the list, then they could access the the library with no restriction. There is no way to set separate permissions on different views for a given list. Nor is there any field-level security within a list. And you are correct that Audience Targeti ...Show All
Caroline_C# Moving MySites to a different farm in BTR
Don't ask why I am trying to do this but I need to migrate a few MySites from a BTR installation to a different BTR installation so I then can upgrade them to RTM. It seems like the stsadm -backup/restore doesn't capture all the meta data and other dependencies tied in with MySites. Does anyone out there know a good way to achieve this I've tried the stsadm -export -includeusersecurity but I am getting all these "access denied" errors on export AND import. Needless to say, this is messy. Thanks, Rabbit I am facing the same problem with import/export. Regards Rushikesh I am getting the following error [2/27/2007 11:13:17 PM]: Progress: Initia ...Show All
Ceds Is it possible to show a Windows User Control in Sharepoint?
Hi, I have a website that has a control that is shown in a web page. Is it possible to add this user control in a Sharepoint page Doing it in a aspx or ascx page is easy, but then when I try in Sharepoint I get an empty control. Any help is greatly appreciated. Xavier Chris is on the right track. Wrapping it in a web part also allows you to set properties on your control through the personalization engine.. something to think about when you build the we part. I could be wrong, but I believe you want to encapsulate your user control within a custom ASP 2.0 Web Part, then have Sharepoint use your newly created web part. Check this out: http://msdn2.microsoft.com/en-us/library/e0s9t4ck ...Show All
Gulden if not to use session variables then what
Hi Everybody, I have question which comes to mind of nearly everybody who is designing a webapplication in .net. I wish to store some user related data across the webpages in a Asp.net website. Since the data is big, i don't wish to use session variables to store that. So where should i store it One thing i want to make clear here that i don;t want to use cookies(now i think i am becoming too selfish :) ). Somebody told me of making a class static but i don't know whether it is a feasible solution for a webapplication .IF somebody knows about this ,kindly let me know with some code for direction. Some other people say that we should persist the class which is holding the data. I don't know how to do it, might be by serial ...Show All
David Turner MOSS Beta2 trial period expired
Hi One of our client was using MOSS 2007 Beta2 version. Today they got 'Trial period is expired' message when they try to access the site. Was the Beta2 version good until Jan 2007 What are the next steps to upgrade to RTM Regards Amit I dont remember the exact date that the Beta was to expire but January rings a bell. For upgrading Beta2 to RTM you must first upgrade to Beta2TR then to RTM or just wipe and start from scratch which is what I would recommend. Joel Oleson, Shane Young and myself all put out some information on this and you can find the link at the Microsoft Sharepoint Team Blog site http://blogs.msdn.com/sharepoint Hope this helps Bob Hi Bob Thanks for your reply. I am goi ...Show All
John Paul Cook Workflow without Association and Instantiation Forms
Hi, I`d like to make a workflow without Association and Instantiation IP Forms but I have a IP form when the user to approve or reject the task. When I remove those red lines: <Elements xmlns=" http://schemas.microsoft.com/sharepoint/ "> <Workflow Name="Sample: State Machine Approval" Description="Simple workflow that waits for an initial and final approver to sign off and goes back to the author for revision if rejected." Id="48500BEB-D1BE-4ec4-8D21-5DEF76BEEDDD" CodeBesideClass="Microsoft.Office.Samples.ECM.Workflow.SPSMWorkflow" CodeBesideAssembly="Microsoft.Office.Samples.ECM.Workflow.StateMachineApproval, Version=1.0.0.0, Culture=neutral, PublicKe ...Show All
SpecialA10 Accessing MSAccess Database using BDC
Hi, Does anyone knows how to access MSAccess database using BDC (Business Access Database) with MOSS 2007. I got the BDC working with Access 2007. Here is the LobSystemInstance I used to get this working: <LobSystemInstance Name="MyInstanceName" DefaultDisplayName="MyDisplayName"> <LocalizedDisplayNames> <LocalizedDisplayName LCID="1033">English Display Name</LocalizedDisplayName> </LocalizedDisplayNames> <Properties> <Property Name="AuthenticationMode" Type="System.String">RevertToSelf</Property> <Property Name="DatabaseAccessProvider" Type="System.String&qu ...Show All
Uli Hofer WS-Disovery, WS-MetadataExchange, and UDDI
What is the best way to catalog and publish all the disparate web services in my organization We have lots of different environments and platforms (C, PHP, COBOL, Java, C#, SOAP, XML-RPC) and I'd like to centralize a catalog of these services. UDDI has been around a long time, and I wanted to know if it were still the best practice, or should I be implementing WS-Discovery and WS-MetadataExchange for this purpose, or something else If WS-* is the way to go, and not UDDI, how do I create my service catalog using WCF Thanks, Mark Thanks for your feedback Mark. We will evaluate this during our planning for next release. Mark - MEX support is something you will be building in each se ...Show All
strMike Where can I find older versions of Microsoft Products?
Hi All, I don't know if this is the right place to post this question, if the moderator thinks it's not, please move it to the right one. I wanted to ask you guys if you can post some urls where I can download older versions of ALL microsoft products. (DirectX, Windows Media Player, MS Office, etc ...) I need these to test my apps that it would be backward compatible to older releases of the products. If you can point me to an archive site where microsoft keeps their older (even unsupported) products (if there is one), I would gladly appreciate it. The only way that I know of is to get an MSDN Sub... then you can download it from the subscribers download site. You will find that if you hav ...Show All
Bonato Pierantonio redirect user’s browser after submit
Hi, I have created an InfoPath form on SharePoint form services. After the user has submitted the page I want the user’s browser to redirect to a custom webpage. Is this possible Is it possible to redirect the users browser to a custom web page on another server It is more likely to be due to the security restrictions in pace for the zone you are in. Try adding both sites to the 'Local Intranet Zone' (which by default allows cross-domain and zone hopping stuff to happen) and see if you get the same problem. Assuming that you own both sites and trust the content therein! Also, have you tried taking the string defined on Source parameter and typing it into the br ...Show All
