2011
For Loop with Negative Step | Quickie
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
Cannot believe that I’m writing some helpful examples using VB.Net, but that is the language that we’re using at work, so have to adapt now. Next find how to make a loop with a negative step (decreasing step):
Imports System Public Class MainClass Shared Sub Main() For intCount As Integer = 10 To 1 Step -1 'Add the item to the list System.Console.WriteLine(intCount) Next End Sub End Class
2011
Solution | Unable to write output file ‘…pdb’; unspecified error
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
During this weekend, I started having a problem when building a solution in Visual Studio. It would load the following error:
Unable to write to output file Solution_Name.pdb
This Visual Studio solution has 8 projects, and a lot of files and folders. I tried several solutions that I found on the net, which worked for others, but none worked for my case including:
- Delete the .pdb file from the solution – Didn’t Work
- Delete the Debug folder – Still Didn’t work
- Delete the whole obj Folder – Nothing Continue reading »
2011
ASP.Net | Read Values from Javascript
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
Today I started checking out some videos about Windows CardSpace and ASP.Net for logging in and I saw how he used javascript to get client side input and use it in ASP.Net in the C# code.
First you need to create a HiddenField on your webForm and name it TokenField (any name would actually do)
<asp:HiddenField ID=”TokenField” runat=”server” />
To set the Hidden Field value in JavaScript use the following code: Continue reading »
2010
CMS | Sitefinity Not Working on Windows 7 64-Bit
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
To solve this problem, you need to access IIS 7 Manager and make sure that the:
- Application Pool is switched from Default to Classic
- Logon User in Classic Application Pool is LocalSystem
- Enable for 32-bit applications Continue reading »
2010
Visual Studio | No source code available for the current location
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
Whilst trying to debug a Stored Procedure, the following error prompted:
There is no source code available for the current location
First you have to make sure that the current user is part of the ‘sysadmin’ Server role (click here for how to).
- Next go to Visual Studio Continue reading »
2010
Websites June Refresh :]
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
Just updated my websites to be all showing the same theme.. to start the month of June in style
Previously they only had the logo but now made some touch ups and really hope you like them.
With these designs i’m trying to make an identity for my sites… following more or less the same design principles. For now they only have one page so there’s not much to see… but they are still much better than before
You can access my websites using the below links..
Deep Design is my main brand and is the one I use when developing websites for clients.
Ciappara.com is the new place that this blog will be moving to. It’s still being developed and will let you know when it’s ready.
Homes.com.mt is a new project that will be launching.. but i’ll have more details on this later
When I have more updates, I’ll let you know… btw hope you like the design
If you have any comments or suggestions (which I too have many :]) please let me know.
Regards,
Clive Ciappara
2010
Google Event Tracking Failing
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
We’ve been using Google Analytics events tracking starting from this year and they are very useful. This week we noticed that website events weren’t being tracked, and haven’t been from the beginning of May.
After checking, everytime we tried to call the pageTracker._trackEvent method, it always returned fail. After searching and testing a bit, we noticed that apparently google made some changes to the trackEvent method.
Where before they allowed the optional_value (the last parameter if the method) to be a string or a number, now it is allowed to be a number only… thus the correct params would be:
pageTracker._trackEvent(‘my_category’, ‘my_action’, ‘my_optional_label’, 14);
Hope this helped some people
It helped me
Reference: click here
2010
Response.End()
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!
This is added after the text needed in the response stream is written using the Response.Write() so no other html or garbage is written in the response stream.
Without response.end() javascript will have the text and the remaining garbage.
[ex. 1] without response.end()
Response.Write(“err”);
…..
result =”err
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” ><head><link href=”../App_Themes/Default/Content.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Default.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/EmailSender.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Header.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Header2.css” type=”text/css” rel=”stylesheet” /><link href=”../App_Themes/Default/Sidebar.css” type=”text/css” rel=”stylesheet” /><title> </title></head><body> <form name=”form1″ method=”post” action=”WebService.aspx” id=”form1″><div><input type=”hidden” name=”__VIEWSTATE” id=”__VIEWSTATE” value=”/wEPZwUPOGNjY2JiNjJiNWQ5MDI41In2qlnOWzD0wbpAPF80y1dPYTA=” /></div>
</form></body></html>” Continue reading »
2010
Reference Controls from MasterPage
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!To reference controls from a master page in a normal page use the following syntax:
Ex. Reference the Head Html tag of the Master Page from a normal page to add scripts in the head. Set the Head as runat=”server” and give id=”Head”, then enter the following syntax:
HtmlHead headTag = ((HtmlHead)((MasterPageName)this.Master).FindControl(“Head”));
Hope this helps. Btw this will mostly be used in Visual Studio 2005 since in the new versions, you can add an ContentPlaceHolder in the Head tag of the Master page and insert any scripts in the PlaceHolder on the page
2010
ASP.Net Menu Control Problem with IE8
Fatal Error:get('adsPerSlot') in Admin Options don't exist (not an array)!When loading a website that utilises the asp:menu control, in the development machine it works fine but on the server (in our case Windows Server 2003 R2) the menu isn’t shown correctly. Instead a blank panel would be viewed. As a temporary solution, the IE8 compatibility button can be clicked, but some styles might not work well with IE7 compatibility. So below please find the patch for asp:menu which can be applied to Windows or Windows Server, to build IE8-compatible ASP.NET WebForms sites…
Recent Posts
Favourite Links
Tags
Archives
- May 2012
- February 2012
- December 2011
- October 2011
- September 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- September 2008
- August 2008
- June 2008
- May 2008
- March 2008
- February 2008
- November 2007
- September 2007
- July 2007
- June 2007
- May 2007
- February 2007
- January 2007
- November 2006
- October 2006
Categories
- Android
- Apple
- ASP.Net
- Blackberry OS
- CMS
- Creative Computing
- Crystal Reports
- Day to Day
- Deep Design Malta
- Design and Development
- Development Tools
- Games
- Google Analytics
- Google Gmail
- Internet Explorer
- iPhone/3G
- iPod Touch
- JavaScript
- JQuery
- Microsoft
- Microsoft SQL Server
- Microsoft Visual Studio
- MS Office
- My Blog
- NetBeans
- Off Topic
- Online Services
- Permissions
- Phones and Tablets Platforms
- Project NINE
- PSP NGP
- Quickie
- SEO
- Silverlight For WP7
- Sitefinity
- Sony
- Uncategorized
- Utilities
- VB .Net
- Windows 7
- Windows 8
- Windows Live
- Windows Mobile
- Windows Phone 7
- Windows Vista
- Wordpress
- WP Apps
- Yellow Pages











