Recent update: 2008-3-21

SQLDataSource Trusted Connection blocked

889 byte By jgotthard at 2008-3-7
I'm attempting to migrate existing user controls to SharePoint 2007 web parts.So far, things are working out well except for the SQLDataSource. Apparently, SP 2007 replaces the standard SQLDataSource UI control at runtime with an SPSqlDataSource . This control doesn't allow Trusted Connection ...

Code Block Error in Groupboard Workspace Template?

1147 byte By HenryO at 2008-3-6
Hey Guys, I just noticed this error upon trying to add a new calendar item to the Groupboard Workspace Template:Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your ...

Unauthorized Access Exception

2881 byte By O11y at 2008-3-5
Hello,I've got an error with my Web Part that is driving me Insane. I Keep getting the following error when I try to create a file:Error raised by Precedents Manager Error Log.Message:System.UnauthorizedAccessException: Access to the ...

ObjectDataSource in a web part?

3298 byte By RayCan at 2008-3-3
Hello All,My code below works perfectly when I put it in an ASP.NET application (default.aspx code behind for example), but as soon as I put it in a web part (compile it into an assembly and place it into GAC) I get this error:"The type specified in the TypeName property of ...

[moss 2007]Change a property of an image

188 byte By ElenaB at 2008-3-1
I need to modify a property of an image by programming. But it gives me an error because I must check-out the image before. Does anybody know how I can do it? Thanks

Auto Permission Granting

365 byte By Lexer at 2008-2-28
Is there a way of automatically granting users existing a list permission to access the site?Example:Lets say that we have a list of employees information. The list contains general information of all company employees. If a new employee is created in this list, he/she should automatically be ...

User Profiles in sharepoint 2003.

6341 byte By MadhurAhuja at 2008-2-27
Hi, I have some queries related to User Profiles in sharepoint 2003. Query: I need to get logged in user office location which will be available in Manage user profiles database.To view UserProfiles: In Sharepoint 2003 server goto Site settings > Manage Profile Database > View User ...

Webpart and Session Variable

168 byte By HanDuong at 2008-2-26
For my debugging issues, can some one please show me how to use Session variable when developing WebPart and get it result display in the WebPart. Many thanks, Han

WSS 3.0 Properties problem

1709 byte By marblerun at 2008-2-25
Hi, I will try and keep this short.......I have been building a feature and as part of the FeatureActivated call back the system adds a section to the QuickLaunch menu bar. I have tried to add properties to the new menu heading but with no joy. The code looks like this.....nQuickLaunch = new ...

How to display Annoucement list in Login.aspx page

292 byte By guest at 2008-2-25
Hi to all, I want to display announcement list of my website in Login.aspx page but i am facing problems to do that. Since it uses Simple.master as master page. How can i display any list of my website as a ListView webpart to login.aspx page.Please suggest me. Thanks, Saurabh

Exception encountered using SPSecurity.RunWithElevatedPrivileges

1656 byte By jrhoff at 2008-2-24
I am encountering an exception when attempting to run elevated code within a web part, and not obtaining an exception when the same code is run from within a list item event handler.In both cases, I am performing the following steps:1) Elevating to the SHAREPOINT\system account using ...

Custom Site column Column using Feature in MOSS

1525 byte By khalidkhan at 2008-2-23
if any one know how to create custom column using "Feature" feature of MOSS for the "Image" type?the following is the code for creating custom site column for "Choice" Type columnFeature.xml:<?xml version="1.0" ...

SPsite url not working in asp.net website

2160 byte By Palmi at 2008-2-22
Hi, I have a problem, I am making a document view in an asp.net website, everything is working fine in Visual studio but when I try to use it in IIS on the same machine as the SPS I get an errorMessage: The Web application at URL could not be found. Verify that you have typed the URL correctly. ...

Adding a field to an existing content type using a feature

508 byte By michael_dev at 2008-2-22
Hello,I am trying to add a "category" field to the built-in Article Page content type. This field will select a category from a domain of values. I have created a new Site Column for the category, and can deploy it via a Sharepoint feature. I can add it to the Article Page content ...

Unfortunately i deleted the default webapplication that is port-80. but my site

225 byte By guest at 2008-2-22
Unfortunately i deleted the default webapplication that is port-80. but my site is using the port-80. now i am not able to view mysite also and i am not able to create web application with the port 80. what to do? help me

MOSS 2007 and custom error

635 byte By svenanderson at 2008-2-21
Hello,the customized error page shows up when I try to upload a document in a MOSS2007 document library."Error An unexpected error has occurred. Troubleshoot issues with Windows SharePoint Services. "I've changed the web.config from <customErrors mode="On" /> to ...

Problem WSS extension for VS 2005 on XP

2987 byte By JulienLetellier at 2008-2-20
Hi,I have problem to develop web part for WSS 3.0 in visual studio 2005 on windows XP.I downloaded Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions. And I installed WSS 3.0 on a windows 2003 server. It works !But when I try to compile a webpart on vs 2005, I have compilation ...

any guidelines about uploading a windows folder tree to sharepoint site or just uplaoding a

146 byte By R.Tutus at 2008-2-19
any guidelines about uploading a windows folder tree to sharepoint site or just uplaoding a folder with its files into sharepoint Thanks a lot

any guidelines about uploading a windows folder tree to sharepoint site or just uplaoding a fold

146 byte By R.Tutus at 2008-2-18
any guidelines about uploading a windows folder tree to sharepoint site or just uplaoding a folder with its files into sharepoint Thanks a lot

item check to see if what I am about to write already exists, if so don't wr

286 byte By Surendra Singh at 2008-2-17
I am trying to add logic to a workflow that will check for the existance of a Particular data item before writing a new record (check to see if what I am about to write already exists, if so don't write it). if you have poosible plz send me Event Handler code for this Issue

can we post question here about sharepoint 2007 (moss2007)

94 byte By R.Tutus at 2008-2-17
or should we post them in the sharepoint 2007 beta section of the forum Thank you

debugging workflows

1252 byte By anondeveloper at 2008-2-16
HiI followed the instructions here to create a custom workflow using infopath forms. I got it compiled and installed fine. http://weblog.vb-tech.com/nick/archive/2006/09/04/1753.aspxI was able to create a workflow for a document library based on my code, but when I run it from an item in a doc ...

BDC - how to make it search on the names and not on the ID's

1016 byte By IshaiSagi at 2008-2-15
Hi,I managed to solve my bdc issues (sadly no one posted an answer to my previous post about those) but one remains.The picker control that allows users to pick from the values in the BDC application is searching fine when the users are using the pop-up search dialog. however, when they use the ...

problem with SPVirtualServer class

392 byte By ChrisJiang at 2008-2-15
Hi all, May obtain IISInstanceId in SharePoint2003 through SPVirtualServer, asked how is at in SharePoint2003 toobtain him?I looked everywhere the property which SPWebApplication and SPIisSettings all cannot find replaces,how please advise me to be supposed to obtain it? ...

how to get the current web when my class inherits from SPFieldText

449 byte By R.Tutus at 2008-2-15
Hi,I am writing a custom field control that inherits from SPFieldText.I need to access the current web as an SPWeb in the FieldRenderingControl method that i override.When I try: SPWeb spw = SPContext.GetContext(Context).Web;That doesn t work. iT SAYS: Error : The name 'Context' does not ...

How do I programmatically REFRESH a wss website homepage

667 byte By tun at 2008-2-15
How do I "force a refresh" of a wss website page. When I programmically add items to a "LIST", I must then manually"REFRESH" the page before I can see the new items. ...

checking the position of a slash / in my string

183 byte By R.Tutus at 2008-2-15
how do i do if i want to check the index of slash <font color="#0000ff"> / in my</font> string if i do myString.Indexof("//"); I get nothing Thanks

what does the %2F refer to in the query string

715 byte By R.Tutus at 2008-2-14
Hi what does %2F refer to in the query string. my Query looks like this: HttpContext.Current.Request.Url.Query = ...

Can't deploy webparts from VS2005 with Sharepoint extensions unless I am Administrator?

950 byte By JohnStrudwick at 2008-2-14
I have installed Sharepoint Services and Visual Studio 2005 Professional with the WSS extensions so that I can develop web parts. I have two users on the box, the Adminstrator and me (jstr) I have set my user account up to be a member of adminsitrators, and although the Administrator created ...

how to access the current list name programmaticaly while creating a new list item

9 byte By R.Tutus at 2008-2-13
Thank you

accessing the content type name while adding new list item

659 byte By R.Tutus at 2008-2-13
Hi,I have access to the content type Id in the query string. I need to compare that id to the content type Id so that I get the content type name. The problem when I read all the content types of the site and check their id, my content id that I get from the query string doesn t fall into any ...

Successfully Installed WebPart Templates for VS.Net 2005, but they are not updat

301 byte By Balu at 2008-2-13
Hi, I have installed MOSS2007, VS.NET Professional 2005 and all Service packs. Then i have installed Webpart templates for VS.NET and the installation is successful. But when i tried to open a new project in .NET IDE, i cant find web parts in C# development templates. Can any one give me solution?...

How can I get "Dynamic Help" for "Microsoft.SharePoint.dll", from within Vis

1257 byte By TomJ72 at 2008-2-12
I do not know but maybe you will get that help automatically if you are able to install "Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions".However, I am using Windows XP, and therefore can not install the above extension, but instead I have to copy and use a ...

Apply changes after editing web part properties.

98 byte By DaveMcL at 2008-2-11
What event do I trap to notify my web part of updated custom properties? TIA Dave

Custom incomming Mail Handler

263 byte By A.Bierwirth at 2008-2-10
How can i catch all incomming Sharepoint mail, and do custom things. I need a List with more than one email aliases. Like a custom SPEmailMap. Or an custom like "public SPList GetListFromEMailAlias(string alias)" Handler Regards

create a new page by programming MOSS 2007

153 byte By ElenaB at 2008-2-10
I need to automate a process, for it I must create a new page by programming. Somebody knows where I can find information about this? Thanks

Deploying Content Type using "Feature"

174 byte By khalidkhan at 2008-2-8
Hi I am having a problem in deploying Content Type in microsoft office sharepoint server using "Feature" feature. If u do know then please do share. thanx

Event Handler on User Information List

349 byte By JonasObe at 2008-2-8
HiI have been trying to add an event handler on the user information list so we can catch when a user is added to the site, i can add the event handler but it never fires. I have tested the event handler on other list and it works, has anyone else managed to add an event handler to the User ...

Advice on Career track?

1092 byte By markjwest at 2008-2-7
I am a network admin/web guru currently with userstanding of HTML, CSS. Im familular with PHP code, but have never got deeper than tweaking pre created code.I am implementing Sharepoint 2007 for use for our business and I have been appointed to head it up. They want to get me training for ...

Using web service client from web part

472 byte By Roto at 2008-2-7
Hello,I'm trying to create a web part which also acts as web service client to retrieve some additional data to be displayed in Sharepoint. The problem I'm having is how to define web service url to web part so that it can be modified after being deployed to Sharepoint? I've tried defining ...

Help pls: Problem adding custom Field type in create column in a list settings

6821 byte By R.Tutus at 2008-2-7
Error: Field type PhoneNumber is not installed properly. Go to the list settings page to delete this field Hi I create an ascx with its cs code behind, i copy the ascx to D:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES then i create this xml ...

uploading a windows folder structure to sharepoint site and uploding the documents in specific f

515 byte By R.Tutus at 2008-2-7
Hi , I am using sharepoint 2007 and vs 2005Please, I need in my application the user to do this:Enter a folder path in a textbox and a sharepoint site in another text box:The code will go through the folder structure and create that structure in the sharepoint site. Then I need to go to ...

sometimes i can break through code in vs2005 to debug a site

297 byte By R.Tutus at 2008-2-6
I build my debug version, install it in GAC, then I reset iisreset .When i place a breakpoint I get the message: <font color="#800000">breakpoint will not currently be hit. no symbols have been loaded for this document</font> <font color="#800000">Have u had this before.</font>

make a dropdownlist column in add new list item form postaback to serv

411 byte By R.Tutus at 2008-2-6
Is it possible that when a user is trying to create a new list item in the add new list item form.Whenever he selects a different value in the content type column, I need to post back to the server. The purpose of this is that I need to modify the value field programmatically according to what ...

how to customize sharepoint toolbars

427 byte By acount at 2008-2-6
Hello to all, i have a big problem and i like to share it...Scenario.....1) i have a list with some data2) in DispForm.aspx i have a toolbar or actionbar (something like bar) with links like "New Item", "Edit Item", "Alert Me"3) Now how i can override this bar or custom...

i need to change the default value of a field in create new item in the task list items

1442 byte By R.Tutus at 2008-2-5
Hi, when the user is working on a certain list and he clicks on new item. I need to change the default value on one of the fields programmaticaly. So I did this, let s suppose that my list is called Tasks and the field that I need to change is the "Title" field. And I am working in a site ...

Copying SPListItem objects in MOSS 2007

610 byte By vsten at 2008-2-5
HiIm new to MOSS so please forgive me for a potentially stupid question.I am trying to iterate through a SPListItemCollection and copy all the SPListItems in that collection to another collection. Basically what i want to accomplish is, copying all the items of for example an announcements list ...

Artifacts can we/should we version for SharePoint development

1116 byte By Alanso at 2008-2-4
What artifacts would we version in VSS when working on SharePoint portal sites (i.e. Could we some type of “source code” or something that we could go back to the previous version of the site, if we so desired) as well as compare new site with the previous site. For example, if I assigned a ...

Where are the SDKs?

380 byte By NickCox at 2008-2-4
Does anybody know when the downloadable SDK and workflow templates/starter kit for WSS will be available? It's pretty difficult to get started on workflow development without them.Mike Fitzmaurice said they'd be released in November '06 and Eilene Hao said we could expect them by early ...

Web Part Connections

1526 byte By DavidBowden at 2008-2-4
Hi all, I have written a search web part for MOSS2007 the results of which are sent to another web part that displays the results of the search. The search web part is nothing fancy, just calls a web service that returns some xml data based upon the user inputted info.I use the failry well ...

SharePoint Products and Technologies

Site Classified