Month: September 2015

IIS

IIS on Windows XP: There are too many people accessing the Web site at this time.

I started getting this error when I accessed pages hosted on IIS installed on my machine (I’m running Windows XP):

The page cannot be displayed
There are too many people accessing the Web site at this time.

——————————————————————————–

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links

FeedMap = Blogs + Maps

feedmap_logo

What is feedmap? Let me cite its authors:

… feedmap is about mapping your blog! Using FeedMap you can tell the world where you are blogging from! Or you can simply search for bloggers right around where you live! Or even better let other local bloggers to discover your blog…

I had a look at this service and I must …

LastGraph – visualize your music profile

Recently, I’ve told you about my excitement about last.fm.
Slightly later I’ve discovered an interesting service related to last.fm: LastGraph. What it really does? Its auhor, Andrew Godwin says:

LastGraph is a web application that makes graphs of your musical listening history from your Last.fm profile.

In other words, LastGraph creates a special graph that shows what you listened to …

FCKEditor – how to access the HTML content from JavaScript?

Imagine you have a form in which you use FCKEditor as an inline HTML editor. So, inside script tag you have this:

var oFCKeditor = new FCKeditor('body_html');
oFCKeditor.BasePath = "A_PATH_TO_FCKEDITOR";
oFCKeditor.ToolbarSet = "Basic";
oFCKeditor.Create();

As you know, this creates a textarea with id set to ‘body_html’ and make it look like an inline HTML editor.

Going forward, you would like …

Security in accessing reports on Report Server

Once you deploy reports on to Report Server they can be accessed from any Web application with an established URL. However, I see a scenario when one wants to prevent some users from accessing reports (e.g. a user should be able to view reports presenting only their personal information).

The way around this is to view reports on an aspx …

How to manage trunk/branches/tags in the project while bug fixing and regular development?

Recently I’ve come across some problems on managing trunk/branches/tags. As a result of manual merging two branches I’ve ended up with hours spent on editing conflicts and checking the system. It’s obvious this was not a good sign as new bugs might have been introduced.

I’ve decided to organise the way the revision control system is used. Below you can …

Generics

Mixing generics with legacy code

    List<Stringwords = new ArrayList<String();  
    words.add("house");  
    words.add("book");  
    addSth(words);  
      
    private void addSth(List list) {  
       list.add(new Integer(6));  
    }  
  • the above code compiles (but with warnings) and can work fine, at least to the place of addition (if the object was later retrieved from the List it could break down, e.g. words would be treated as List<String>

Listen what you really want!

I used to listen to Pandora, but that has been impossible for some time because it’s been suspended in Poland (and some other countries). Let me quote Pandora’s authors:

We are deeply, deeply sorry to say that due to licensing constraints, we can no longer allow access to Pandora for most listeners located outside of the U.S.

At the same …

Reporting Services – “Your browser does not support scripts or has been configured not to allow scripts.”

When I run a report in the Report Manager using Internet Explorer (I had this issue on IE7) I got the following error:

Your browser does not support scripts or has been configured not to allow scripts.

Solution

Should you get it as well follow the instruction below:

  • go to (from its menu) Tools/Internet Options
  • go to Security tab
  • select

Java: == might work the same as equals()

It’s a rule that == is used to compare references, not values. To compare values for equality equals() method should be used.
However, as of Java 5, you can also use == to check if two objects’ values are the same… But it works only for the following wrapper objects, if their primitive counterparts’ values are the same:

  • Boolean
  • Byte