Skip to main content

Posts

Permission in SQL Server Reporting Services (SSRS)

One of the frequently asked question in many forums is “I am an admin on the machine (Windows Vista or Windows 7 or Windows 2k8) where SSRS is installed but I am not able to access the reports”. Recently I faced a similar issue. I am an admin on the machine which has Windows 2008 R2 installed. On top of it, I installed SSRS 2008 R2 and then configured the RS with proper values. Then when I tried to access the report manager by navigating to the URL, I got an error message like:   User ‘Domain\User’ does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.   I once again checked my configuration but everything looked fine. Since the error message gave some hint on UAC, I ran the browser as admin and navigated to the report manager. Now it did not throw any error message. I was able to see the home page and all other menu including...

iOS Dev: 6 Useful Features of Xcode to Simplify iOS App Development

Xcode is an IDE  used by  iPhone developer  or  iPad app developer  to do coding or developing  iOS apps . Xcode has many small and highly useful features which sometimes we are not aware of or it may happen that we may not be using those features at its optimum level in order to ease our iOS application development. For example : comments tag, code snippets, PO command and many more… Here in this tutorial we will see 6 such useful features of Xcode which we can use during app development. 1. FIXME This tag is used for reminding yourself of things that you need to fix back again at some later stage of iOS app programming. 2. TODO This tag is used for reminding yourself of things that you need to get back to at some point. Generally it is found at the top of the source file within the main comment block to remind us of features that need to update or add. Here you can see that. 3. #warning It is used when you want to differentiate code ...

.Net List with Changed event

Sometimes we need a List which can notify user when an item is added. Here is the way that you can implement a generic ArrayList which notifies user at the time of an element is added.   using  System; using  System.Collections; namespace  ArchiveData.Logging {    // A delegate type for hooking up change notifications.    public   delegate   void   ChangedEventHandler ( object  sender,  EventArgs  e);    public   class   ListWithChangedEvent  :  ArrayList   {      // An event that clients can use to be notified whenever the      // elements of the list change.      public   event   ChangedEventHandler  Changed;      public   object  NewlyAddedItem {...

iOS Dev: Design pattern are used on iOS Development other than MVC

Hi Friends, Here the some list of design pattern with sort description What is  Design Pattern ? A design pattern is a common solution to a software problem. They are helpful for speeding up problem solving, ensuring that a developer doesn’t have to re-invent the wheel for every situation. They also give developers a common vocabulary with which to get across high-level ideas with minimal explanation and full understanding. Design patterns are everywhere in  iOS  Developement,Because iOS is a fairly specific platform, developers often face similar problems over and over, so there are a few design patterns that are extremely common in iOS. Here is a short list of design patterns used by software engineers: Abstract Factory Pattern Adaptor Pattern Object Modeling Pattern Chain of Responsibility Pattern Command Pattern Composite  Pattern Decorator Pattern Façade Pattern Iterator Pattern Mediator Pattern Memento Pattern Model-Vi...

JavaScript to validate Price input into a TextBox

Guys, first time in my life I am writing JavaScript for one of my project. I need a client side validation for an input into asp:TextBox. I wrote a JavaScript function that would, actually, take whole element as object and use a regex to match the input with a pattern. I learned that we don’t need to create an object of a RegEx() as we do in C#. A “var” variable has “match” function that will use regex pattern to match the input. Below is the javascript function that I wrote to validate my input.   < script language ="javascript">     function validatePrice(textBoxId) {         var textVal = textBoxId.value;         var regex = /^(\$|)([1-9]\d{0,2}(\,\d{3})*|([1-9]\d*))(\.\d{2})?$/;         var passed = textVal.match(regex);         if (pas...

iPhonegap: Developing a PhoneGap Application

Tutorial: Developing a PhoneGap Application Reference :  Here In this tutorial, you create a fully functional employee directory application with  PhoneGap . You will learn: How to use different local data storage strategies. How to use several PhoneGap APIs such as Geolocation, Contacts, and Camera. How to handle specific mobile problems such as touch events, scrolling, styling, page transitions, etc. How to build an application using a single page architecture and HTML templates. How to build (compile and package) an application for 6 platforms using  PhoneGap Build . To complete this tutorial, all you need is a code editor, a modern browser, and a connection to the Internet. A working knowledge of HTML and JavaScript is assumed, but you don’t need to be a JavaScript guru. Setting Up Download the assets for the workshop  here . Unzip the file anywhere on your file system. If your code editor allows you to “open a directory”, open the phonegap...