Archive | 2012

SharePoint 2010 – Access Denied in Search Page

Problem:

Access Denied for all SharePoint Search Pages suddenly.
You’re able to access with your service account but normal users just cant access it. You check all users with ‘READ’ permission.

Solution:

  1. Access the Search top level site with Service Account, for instance.
  2. Site Actions -> View All Site Content -> Document Libraries -> Pages (http://localhost/sites/search/Pages/Forms/AllItems.aspx)
  3. Click on one of the page that users were not able to access. A context menu will appear and then click “Publish”
  4. Users able to access the page without permission problem.

MidValley Megamall Fashion Week 2012

Here we are the Mid-Valley Megamall Fashion Week 2012 for Vincci, Vincci +, Vincci Accessories and P & Co.

This is my first time to shoot fashion of year 2012 due to the work commitment.

Here some photos i captured.

Click the image for better resolution (640 x 960 pixels)

 

 

Incoming search terms:

SUPER GT 2012 Round 3

June 9th and 10th marks the 3rd round in Sepang, Malaysia of the Super GT after Okayama and Fuji in Japan.

4th April 2012, JPM Motorsports, the organizer of the Malaysia round held a press conference at Pavilion Shopping Center to announce the event as well as the activities planned during the race.

SUPER GT is one of the best spectator sports in the world. The passion surrounding this motorsport is palpable to all, and SUPER GT is proud to say that it has always been committed to remaining fan-friendly. Fans can meet the teams up close in person, and to keep the racing competitive for the fans, SUPER GT imposes ballast penalties to winners. Not only that, SUPER GT is a big believer in the green movement. This year will see the Toyota Prius GT300 battling it out with the rest of the GT300 contenders, and from Round 4 onwards, the Honda CRZ GT300 will also be joining the fray.

For those who not familiar, SUPER GT actually known as ALL-Japan Grand Touring Car Championship (JGTC), it was founded in 1993 and promoted by the GT-Association. There are two classes of race, the GT500 and GT300. Each class is limited by the amount of power the machines put out, 500hp and 300hp respectively. In order to ensure maximum excitement, two classes are run at the same time although points are awarded separately for each group.

Toyota, Honda and Nissan cars of GT500 will be more powerful this year due to the changes of SUPER GT regulation. Meanwhile, Mercedes Benz, Audi, Porche, Lamborghini and Corvette will compete in GT300 class as well as recently released SUBARU BRZ.

Besides SUPER GT race, Super GT fans can look forward to a host of innovative off track activates such as motorshow event with participants from Honda, Porsche, Ford, Alfa Romeo, Toyota, Nissan, Hyundai, Naza World and other manufacturers. Akiba Town, which is a lifestyle themed bazaar for Japanese gadgets for shopaholic. BMX challenge and also the Gran Turismo 5 Asia Online Tournament 2012 Challenge, the winner of which will compete with international players for the title of Asia’s GT5 Champion.

Last year, a Malaysian Book of Records number of 405 cars turned up for the Biggest Supercar and Performance Car Gathering . This year, JPM Motorsport aims to break that record.

Hope to see you in Sepang International Circuit this coming 9th and 10th June 2012!

photo by JPM Motorsport.

Incoming search terms:

SharePoint2010 – Failed to publish Access Web Database to SharePoint2010

Seriously I had hard time to deal with this production issue.

Google around, found a lot of solutions such as, enable “SharePoint Server Enterprise Site Collection features”, Access Central Administration to make sure “Access Service is installed, and bind to the website”.

Unfortunately those wasn’t not able to solve the problem.

We came out a solution which is “save the Microsoft Access Web Database as template, and Create the site with the template”

 

To Save the Microsoft Access as “Local Database”

  1. Access the Microsoft Access Web Database
  2. Click” Options” -> “Open in Access”
  3. Microsoft Access Launched -> Click “File” -> “Save & Publish” -> “Save Database As” -> “Save as Local Database”

To Save the “Local Database” as Template

  1. Open the file you just saved
  2. Click “File” -> “Save & Publish” -> “Save Database As” -> “Template (*.accdt)”
  3. A window pop up -> Name it “testDB” (will be great without space between the filename), check “Application Part” & “Include Data in Template”
  4. Click OK

Upload Template & Activate the solution

  1. Launch IE, log on to “http://ServerName/sites/test/_catalogs/solutions/Forms/AllItems.aspx
  2. Upload and Activate the solution

Create the Sub Site with uploaded template

  1. Launch IE, log on to “http://ServerName/sites/test/
  2. More Options -> Filter By -> Site -> “testDB”
  3. Enter Site Name and URL and Save

Lastly, deactivate and delete the solution you just created.

Incoming search terms:

SharePoint 2010 – Avoid to use SPContext with SPSecurity.RunWithElevatedPrivileges

Access Denied when accessing properties in SPWeb with SPSecurity.Elevated Privileges as a visitor?
You may need to scan your code if you use “SPContext.Current.Site” or “SPContext.Current.Web” in your program.

To avoid access denied when you use RunWithElevatedPrivileges block, you need to create new instance of SPSite and SPWeb inside SPSecurity.RunWithElevatedPrivileges

SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate() {
  using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID)) {
    using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID)) {
      string SiteCollectionOwner = ElevatedsiteColl.Owner.Name;
      string Visits = ElevatedsiteColl.Usage.Visits.ToString();
      string RootAuditEntries =
          ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString();
    }
  }
});

Incoming search terms:

SharePoint 2010 – Save & Restore Site Template

To save site as template

  1. Site Actions
  2. Site Settings
  3. Site Actions -> Save Site as Template
  4. It will save it at “http://yoursite/_catalogs/solutions/Forms/AllItems.aspx”

To create a site based on a template (create a subsite)

  1. Download the template from “http://yoursite/_catalogs/solutions/Forms/AllItems.aspx”
  2. Upload the site template to another site, “http://yoursite/subsite1/_catalogs/solutions/Forms/AllItems.aspx”
  3. Browse “http://yoursite/subsite1/
  4. Site Actions
  5. More Options
  6. Filter By Site, then select the template you just uploaded.

Incoming search terms:

SharePoint 2010 – Move SharePoint Designer Workflow from a library to another library

Problem: want to re-associate the SharePoint Designer Workflow to another document library.

Solution: using SharePoint Designer to edit “workflowfilename”.xoml.wfconfig.xml .

<association ListID="..." TaskListID="..." ...></association>

How to find out the ListID?

  • Go to the List/Document Library
  • List Setting/Document Library Setting
  • You will to get the List ID from the Internet Browser URL
  • URL looks like “http://URL/listedit.aspx?List=%7B532E2F14%2DF3B5%2D4BE9%2DA14A%2DE0DBD10E0935%7D”
  • Go to “http://meyerweb.com/eric/tools/dencoder/”
  • Paste the %7B532E2F14%2DF3B5%2D4BE9%2DA14A%2DE0DBD10E0935%7D
  • the website will decode to “{532E2F14-F3B5-4BE9-A14A-E0DBD10E0935}”

Use that DECODED List ID to update the workflow XML file.

NOTE: if you having problem when you try to publish the workflow using SharePoint Designer,
you may delete the webcache at “C:\Users\loginnames\AppData\Local\Microsoft\WebsiteCache”

Incoming search terms:

Doraemon World 2012

A day trip to GENTING HIGHLAND for Doraemon World 2010. if you are super fan of DORAEMON, I believe is worth the penny for this trip.
Entrance fee? RM35 for adult and RM30 for child.

Remember to bring a camera with flash if you wish to capture some high quality photos.
Doraemon World 2012 divided to 4 areas which are town, carnival, gallery and mall.

doraemon town – you can capture those doraemon town building & characters. Remember, each room only less than 10minutes for you to explore, so act fast!

doraemon carnival – photo session with doraemon’s mascot (will appear at 1pm, 5pm and 8pm)


very interesting photo, my niece have the same pose as GIANT (doraemon’s mascot)

doraemon gallery – this area display some of the doraemon tools, very interesting area.

doraemon mall – this area selling doraemon product, no need to spend time for this.

Just check out the full gallery of DORAEMON WORLD 2012.

Incoming search terms:

Mazda RX7 FD3S Project #41 – Ready To Tune

Progress so far, partial body parts installed to rush for ECU tuning. Unfortunately, the car failed to start due to the fuel pump wiring problem. Hope can solve the problem as soon as possible.

As you noticed, the Mazda Speed GTC front bumper was removed and sold to Kuala Lumpur. Decided to use RE-Amemiya Front bumper instead.

Front view of the car. Really cant wait to see the car in action though!

Related Posts with Thumbnails

Incoming search terms:

Get Adobe Flash player