.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Web Part not showing up for one user

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :SharePoint
I have a MOSS 2007 based intranet. On the home page of the site, I have a web part that is just a bulleted list of quick web links to internal and external resources. For instance, I have a bullet item for internal resources, and under that I have links to our we based billing system, the account management system, and the IP security camera. I have another bullet for News, and under that are links to major newspaper and other news websites. For some reason, one of my users sees eevrything esle on the page, except that web part. She has the ability to edit much of the content on that site, so if I have her go into edit mode for the home page, the web part appears. If she subsequently exits edit mode, the web part remains. But if she closes Internet Explorer and re-opens it, the web part is missing again. This is the same, irresepctive of which client machine she is on, whether it is her workstation, laptop, or Terminal Server, and whether it is with Internet Explorer 7 or 8. Any ideas?

View Complete Post

More Related Resource Links

Choosing Between a User Control or Web Part for SharePoint

SharePoint will only display Web Parts on a page. However, there are publicly available shims that allow you to write user controls and have them be displayed as a Web Part. From SharePoint's point of view, the shim is a Web Part. From the point of view of the user control, the shim is simply a control in .NET that is including the user control

Showing filtered Records in Crystal Report as per User Requirement


ReportDocument reportDocument = new ReportDocument();
    ParameterField paramField = new ParameterField();
    ParameterFields paramFields = new ParameterFields();
    ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();
    protected void Page_Load(object sender, EventArgs e)
        if (!IsPostBack)
            paramField.Name = "@Ext";
            //*Remember to reconstruct the paramDiscreteValue and paramField objects
            paramDiscreteValue.Value = 44854
            CrystalReportViewer1.ParameterFieldInfo = paramFields;

memberships web part not showing memberships


Hi all,

We are using MOSS 2010.

The My Sites area offers a web part called "My Memberships" (memberships.dwp).
I have copied this to our portal site collection and am using it on the homepage.

After doing user profile imports and full search crawls the web part however is not correctly showing user memberships.
Sometimes it shows all, sometimes it shows a few, sometimes it shows none.

Can anyone please advise?




Chapter 3: The SharePoint User Experience, Part 1 (Professional SharePoint 2007 Development)

Learn how SharePoint 2007 takes advantage of many ASP.NET 2.0 features. This means that you can build ASP.NET web pages and blend them into a SharePoint site without a lot of rework.

Chapter 3: The SharePoint User Experience, Part 2 (Professional SharePoint 2007 Development)

Get an introduction to the out-of-the-box features SharePoint provides. Then learn how to use these features to "develop" a site from within the user interface as well as how to add to code like CAML to the other user interface elements.

Best architecture for showing mathematical formula based charts to end user

Hi All, We have one new project to implement. Let me explain briefly about this project. This project is related showing chart to end user on the basis of different mathematical calculated formulas. End user has authority to change these formulas on the fly and on the basis of that changed formula we need to show the chart. So this is all central idea about the project. These charts which I mentioned above are very complicated and user friendly             So can any buddy tell me which is best suitable architecture for this and how can fit her to my scenario .I knows, three tier architecture and some other are there but I want know which is the best architectures that developed above idea in right way   Any helps for above is really appreciate  

Search Results Web part not showing all results

Hello, I have an issue with the people search results web part not showing all the results that exist for a particular query. The query in question returns 106 results, and it is showing 50 per page, but the paging bar only goes up to page 2, and the results summary says it is showing "x of 100 results". If I manually change the query string to say start=61 instead of start=51 for page 2, it will show me the last 6 people, and the search summary will say "showing 57-106" Why is it not showing me the option for a page 2? When I perform a similar query that returns 140 results, it will show me all three pages correctly. I have tried turning duplicate trimming off but it makes no difference either. Any ideas why this is happening? Thank you

Anonymous access - User prompted for login after click in web part area

I have a MOSS2010 site, internet-facing using anonymous access. I've found workarounds to many of the anonymous access issues I've come across, but I don't know how to fix this one. Any ideas or assistance would be appreciated. A user visits one of my pages with a OOB webpart. If they click within the area for that web part, essentially selecting the web part, it prompts for a login. I don't want my users getting prompted for a login, but I don't know why they're being prompted in the first place. According to the logs, it looks like it is trying to access _layouts/wpribbon.aspx. They aren't clicking on the items (titles aren't clickable), it's the area within the web part box. Can I make that area non-clickable?? Go to: www.carlile.biz/careers/pages/current-openings.aspx Click on the area around the Locations or the Current Openings listed. Either will prompt for a login. Even with a valid login, the view does not change and no further options are presented.

User Filter web part: how to show items with no value in it

I want to set up a document library View that shows the current user all items with their Department name in a column, as well as those items that don't yet have a Department name. I thought I could do this with the User Filter web part, but I am struggeling to show the items that don't yet have a department name. The problem I have is this: I created a view called "My department's items". I use the User Filter web part on it to show the user all items that have got the user's department name in a column. However, when a user forgets to fill out the department name after uploading a file, or even when they upload the file but then cancel filling out the compulsory fields, the uploaded file disappears from the "My department's items" view (because the department column is empty). How can I set up a filter to show all files that match the current user's department name as well as those that don't have a department name yet? Thanks.

CreateUserWizard not showing a duplicate user message

I'm using emails as the user name, and I've got requiresUniqueEmail="true" in the web.config.I have an empty CreatingUser method, and in CreatedUser I perform a couple of table entries with the new user.When I try to add a user with an email that's already in use, I get a the default success message.  But no user is added, andit doesn't reach the CreatedUser method.I must be missing something.  Ideas?

User Profile Service lookup in dataview web part

I'm attempting to setup a web part in SharePoint Designer 2007 that will list team members that are currently on call.  I've created the data connection to our oncall database and a dataview web part that has two columns.  One column lists the users ID, and the other lists their oncall priority.  This part works great! Example: USERID  |   PRIORITY ID1234   |       1 ID5678   |       2 Now, what i would like to see instead is the user's name instead of their ID. Example: USERNAME  |   PRIORITY John, D       |       1        Jane, B       |       2 I thought originally i could pull this information from AD using the user profile service from here:  http://<servername>/_vti_bin/userprofileservice.asmx?wsdl I've created the data connection to the user profile service, but at this point, i'm unsure how to merge the two data connection columns and get the right user data to display. Any tips?  Has anyone done this before?

user login & secured access pages via web part?

The client wants to have certain sharepoint-driven pages available only to their end customers who login to the site via secured login (to the site content, not the sharepoint CMS).  Can this be done via a web part somehow?  We're not a sharepoint house, and have been asked to take over management of this sharepoint driven site! Normally we'd write an ASP chunk to validate against a database but not sure how to do this (or by some other method) in the Sharepoint CMS. Thanks...

Determine if current user is part of audience


How can I determine if the current user is part of an audience or not?

Searching kept bringing me to this link: http://msdn2.microsoft.com/fr-ca/learning/ms499760.aspx  which is unavailable.

Any help or code is greatly appreciated.



How to get Email of Current User Data View Web Part Sharepoint 2010 and pass to WebService data sour

I have to pass in the email address of the current user to a web service data source (run time) of a Data View Web Part.

My Question is:

a) How can I get Email address of current user based  in DVWP.
I know we can get the CurrentUser using the CurrentUserName but how do we get the Email for the Current User.

b) After getting the Email how do we pass to the Web Service.

User Control Web Part - The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.



I need help, in our SharePoint 2007 project we have created Web Part using VS 2005 & .Net 2.0, User Control. In the user control for one of the drop down list box databinding method we are using data from IBM DB2. It works fine on our local machine, but after Web Part deployment if i open the page then the Drop Down List is empty. I checked the log in the event viewer. I found the following error message in the vent viewer -

The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.


Detail Error Message -

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/2076212728/Root

Process ID: 26880

Exception: System.TypeInitializationException

Message: The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.

StackTrace: at IBM.Data.DB2.DB2Connection.Finalize()

InnerException: System.InvalidOperationException

Message: SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.1.1.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies

StackTrace: at IBM.Data.DB2.y.f.a()

at IBM.Data.DB2.DB2ConnPool.g()

at IBM.Data.DB2.DB2ConnPool..ctor()

at IBM.Data.DB2.DB2Connection..cctor()

For more information, see Help and Support Center at h

Error showing subreport... due to user access?


I am experiencing a strang issue in SSRS 2005.

a) I have a MainReport that contains a SubReport and I deploy these up into Report Manager into a folder called MyFolder.

b) MyFolder has restricted access so only I can access it via ReportManager.

c) I ceate a linked report for each report: LinkedMainReport and LinkedSubReport and move these linked reports into a folder called YourFolder.

d) YourFolder is restricted to a Windows AD group... called ManagerGroup.

e) Report Manager folder structure now looks like this:

MyFolder (my access only)
- MainReport (original report)
- SubReport (original report.. and set to be hidden)

YourFolder (ManagerGroup and my access)
- LinkedMainReport
- LinkedSubReport (set to be hidden)

f) Security from the folders is applied to each report and link report by default.

g) ManagerGroup contains say 3 users: Homer, Lisa and Bart.

Homer and Bart can run the report "YourFolder -> LinkedMainReport" without any problems.  The main report and subreport embedded within it run fine.  The problem I have is when Lisa runs the same report "YourFolder -> LinkedMainReport" she sees the main report but gets the "Error showing subreport" message where the subreport is usually display

Report viewer web part: Dependency of parameter choices on user rights?


Hi there,

I am wondering if it is possible to restrict the choices for a parameter depending on the user rights. For instance, if an "administrator" can select three different options for one particular parameter, a "normal user" should only be able to choose from two.

I am using Sharepoint 2007 and Reporting Services 2005.

Best wishes



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend