X Blogs

who you gonna call?

SharePoint 2010 Servicve Accounts and Windows Server 2008 R2

clock July 23, 2010 18:16 by author Robi

Yesterday, I was was installing SharePoint Server 2010 at one of our clients and after the install I was getting this errors:

User Profile Service Event ID 1511. It says that account could not log on to the computer and create a profile.

After a little bit of research, I found out that all you have to do is edit a local group policy and than run a cmd and all of these errors are gone.

So run a "gpedit.msc" on your WFE where you are getting these errors and go to Computer Configuration/Windows Settings/Security Settings/Local Policies/User Rights Assigneements and Search for Allow log on Locally

Add the account for which you are getting errors. Then, start command prompt and run a command:

 runas /user:kompas-xnet\sp_apppool cmd

 Type the password and if you go to your users folder you should see a folder with your service account name.

You can now remove Allow log on locally permission for the account. 

Voila.

 



Handy jQuery developer plugins

clock July 6, 2010 21:32 by author Klemen Slavič

I've commited a new plugin to my open source repository at Google Code – Niftyscripts. Currently, I've pushed a new plugin that scans the current document and reports unused CSS rules and their origins.

To read more, visit the site or browse the source tree.



Photoshop Tutorial: Shiny Apple Icons

clock July 4, 2010 06:08 by author Klemen Slavič

You can read my new tutorial in Slovene here.



Stop or start all SharePoint 2010 Services

clock July 3, 2010 00:37 by author Robi

During a maintainance of my computer I needed to stop all SharePoint 2010 services. So I was wondering what is the easiest way to do it. In Central Admin, you could do it an click on every service and stop it, but it takes a lot of time. So I was considering some other options and certainly decided that you could do it with a PowerShell script. So here it is:

STOP

$services=Get-SPServiceInstance
foreach ($service in $services) {stop-SPServiceInstance -Identity $service -confirm:$false}

START

$services=Get-SPServiceInstance
foreach ($service in $services) {start-SPServiceInstance -Identity $service}

 



Dealing with Error 404 on IIS7 using ASP.NET Routing

clock June 15, 2010 18:06 by author Klemen Slavič

When you're deploying an ASP.NET website that uses the new Routing feature from MVC, you might run into a problem mapping the routes in Integrated mode. The documentation states that using Integrated mode on IIS7 doesn't entail any extra configuration, but in the odd case it does (throwing Error 404 on routed URLs but not .aspx paths), you can open up your web.config file and modify your <system.webServer> / <modules> tag:

<modules>
...
</modules>

... to something like this:

<modules runAllManagedModulesForAllRequests="true">
...
</modules>

Or, if you're not using modules, just put an empty tag within <system.webServer>:

<modules runAllManagedModulesForAllRequests="true" />

That forces IIS7 to always run all loaded web server modules, including URL Routing (inherited from the 4.0 application pool).



Create Custom Site Definition

clock June 10, 2010 00:02 by author Robi

Hi,

In this post I'm going to explain how to create custom site definition in SharePoint 2010.

First of all, you can copy or create your own custom site definition in this folder and rename it to what ever you like:

 

Next, you have to create a XML file, where you define which template to use, what the title o your definition is going to be and which icon you are going to use. in the next 2 pictures you are going to see the path and the code you have to insert in this XML file.

when you are done, you have to do an IISRESET and then you are good to go with your custom Site Definition.

 

 



Windows Azure SDK (1.2) is available

clock June 8, 2010 03:46 by author Rok Bermež

Yeeey, finally .net 4 support in the cloud! Also:

  • Visual Studio 2010 RTM Support: Full support for Visual Studio 2010 RTM.
  • .NET 4 support: Choose to build services targeting either the .NET 3.5 or .NET 4 framework.
  • Cloud storage explorer: Displays a read-only view of Windows Azure tables and blob containers through Server Explorer.
  • Integrated deployment: Deploy services directly from Visual Studio by selecting ‘Publish’ from Solution Explorer.
  • Service monitoring: Keep track of the state of your services through the ‘compute’ node in Server Explorer.
  • IntelliTrace support for services running in the cloud: Adds support for debugging services in the cloud by using the Visual Studio 2010 IntelliTrace feature. This is enabled by using the deployment feature, and logs are retrieved through Server Explorer.
  •  Read more here. and download ASAP here.



    My presentation from NTK conference 2010

    clock June 4, 2010 17:52 by author tone

    Visio2010_NTK2010_Visio.pptx (6,24 mb)



    NTK 2010 presentations and workshop

    clock June 3, 2010 23:04 by author Uroš

    Here are my presentations from NTK.

    Zunic_SP2010DevelopmentPresentation.pdf (2,88 mb)

    Zunic_SharePointDevelopmentWorkShop.pdf (8,24 mb)



    NTK Workshop: Migration from Windows XP to Windows 7 using FREE Deployment Tools

    clock June 3, 2010 22:03 by author joze

    Here are step by step instructions I prepared for NTK workshop.

    Migracija iz Windows XP na Windows 7 z brezplačnimi Microsoftovimi orodji_v2.xps (628,31 kb)



    About the author

    Rok Bermež is Slovenian Windows Azure MVP, he works as a Software Engineer and Microsoft Certified Trainer at Kompas Xnet. His primary interests include cloud computing and web development. With extensive experience in development and architecture he participated in many projects and since the CTP release of Windows Azure much of those projects are based on Windows Azure platform. Rok has been delivering courses, writing code and speaking at conferences and community events on Microsoft technologies for the last couple of years. You can also find him on Twitter (@Rok_B).

    Month List

    Sign In