Ozzie.eu

Love to code, although it bugs me.

Installing Sharepoint 2010 on server without Internet acess

No comments
Installing a server instance of Microsoft's Sharepoint 2010 Server, I faced the following problem: the server had no Internet access and Sharepoint's setup relies on downloading the pre-requisites from Microsoft, through the public Web.

The solution is to download the pre-requisites software and copy them to the server. Here's a list for future reference:
Besides the pre~requisites don't forget, if you're deploying a new server on a farm, to download and install:
  • Windows language packs

  • Sharepoint language (Foundation and Server)

  • Security Updates

For this and other Sharepoint 2010 issues I strongly recommend reading Professional SharePoint 2010 Administration.

No comments :

Post a Comment

Requested registry access is not allowed

No comments
Having a custom developed Web Service hosted on Windows 2008 Server, after some fine tuning on the system, the service started to respond with a SOAP fault stating "Requested registry access is not allowed".

The origin of the error was the attempt the service made to write on the Event Log.

One of the changes we had made to the application was the application pool identity. It was running on Classic mode with a given domain account and we re-configured it to run on integrated mode with the application pool identity.

To grant rights to a given user account for writing on the Event Log, you should perform the steps to edit the registry described here:

  1. Find key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog"

  2. Right-click and choose "Permissions".

  3. Put in the desired account


The catch is that the application pool is running with the Application Pool Identity Account. This is a Windows user account called "IIS APPPOOL\AppPoolName", which is created when the Application Pool is created, where AppPoolName is the name of the Application Pool.

On the permission dialog, search the local host for the "IIS APPPOOL\AppPoolName" replacing "AppPoolName" for your custom given name.

After that, the Web service worked fine.

No comments :

Post a Comment

Chrome browser slow on corporate network

No comments
Chrome is a really good browser and one of its highlights is the speed on starting up and rendering Web pages.

Having it installed on the corporate office workstation, I noticed it was much slower and taking forever to load some really simple stuff.

After some research on Google, I found and tested successfully the following scenario:

  • The proxy server is automatically configured through network policies.

  • Configuring the proxy server directly, without automatic configuration, restores Chrome to its full speed.


For people using Mac and Linux its a pretty straightforward operation. For Windows users such as myself, one might be trapped by security policies that don't allow changes to proxy configuration by domain accounts.

A workaround for this security policy inhibition is, having local administration rights, to edit the registry:



  • Start/Run the "Regedit" tool

  • Find the key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

  • Set the ProxyEnable entry to "1"

  • Create a "ProxyServer" String entry and set it to «your proxy server address»:«port used» (ex: 10.0.211.11:8080)

  • Finally, go to your browser's LAN settings and disable automatic configuration


Restart Chrome and it should be flying again :)

No comments :

Post a Comment

How Google improves search algorithm

No comments
Google is the best search engine on the Web, it's an undisputable leader. The accuracy of its results is also perfect. If Google Search doesn't find something, probably it's not available, or at least not publicly.

I enjoyed the video below because it makes evident that all the search enhancements made relies on the human factor. It's people who evaluate the accuracy of search results, the effective improvements achieved with potential algorithm updates, even help identify common misspellings that should be considered.

I agree that it's a scientific process and the Google search team really are scientists in the new ideas they have and the way they put them to test with real subjects: Humans.

A technology leader showing that huge amounts of data and vast infra-structure isn't enough to lead without people to sort it out:





No comments :

Post a Comment

Visual Studio 2010: command line arguments will not be passed?

No comments
Assigned with the task of updating a console application from .NET 2.0 to 4.0 and perform some enhancements, I migrated the solution under source control, from Visual Studio 2008 to 2010.

When trying to run the solution in debug mode for a given set of command line arguments, the following message appeared:

The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want to continue debugging anyway?

Since the whole purpose was to test the arguments, I cancelled the pending debug execution. After a short research, the solution is to just disable the "ClickOnce" option.

HTH.

No comments :

Post a Comment