Thursday, June 12, 2008

CSS hack for viewing reporting services in FireFox

**** CSS Fix For FireFox ***

Source Page

Add the following CSS to this file:
C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportManager\Styles\ReportingServices.css

/* Fix report IFRAME height for Firefox */

.DocMapAndReportFrame
{
min-height: 860px;
min-width: 1024px;
}

Run older extentions on new versions of firefox

[quote url=Here]
The key to the fix is to prevent Firefox from checking its version number before it tries to load extensions. To do this, you will need to set a new preference value. Point your browser at the URL "about:config", then right-click on the preferences list to bring up the contextual menu. You should see an option that says "New." Select that, and choose "Boolean." When it asks you for the preference name, type "extensions.checkCompatibility" (without the quotes). You have to enter the name exactly. For the value, choose "false."
[/quote]

Don't forget to restart the browser after applying the fix.

Tuesday, May 13, 2008

Terminal Server Admin Pack

There are lots of places to download this on the net, but it can be kind of a pain not having the link right at ones finger tips when needed.

This is a link to download the Microsoft Terminal Services Administration Pack.

Wednesday, December 5, 2007

Ambiguous match found (C#.NET)

Ambiguous match found - Peter Johnson's Blog


I recently received this "Ambiguous match found" error in an app I had recently converted from visual studio 2003 to visual studio 2005. The error was particularly unhelpful in letting me know what the problem was. So, like always, I turned to Google in the hopes that someone else had had this issue. I found the page, linked to above, where I got this quote. I was particularly impressed had how similar this guys issue was. I am guessing that this error only plagues converted c# apps.

[quote] Other Google search results were similarly unhelpful, until I found the blog of a guy named Eran Sandler who talked about his "Ambiguous match found" error and how he solved it--two protected fields with names that differed only in case, apparently confusing reflection. [/quote]

Saturday, December 1, 2007

checking installed php packages

There is this really easy method of finding out what packages are installed for your current version of php.

just log onto your server and type
php -m
and it will display the list for you.

Saturday, November 24, 2007

Mount and Unmout ISO images in Ubuntu Linux

Recently I decided I needed to mount an ISO in Linux. I have done this many times in Windows and expected it to be even easier in Linux. Surprisingly Ubuntu didn't have a graphical tool for this, however some wonderful person created a couple of scripts and some easy install instructions to give us a graphical tool.

I am going to try this out tomorrow I hope.

"Some times you want to use iSO images without burning them.If you don’t want to waste your CD’s/DVD’s here is the simple possible solutions using these tips you can mount and unmount ISO images without burning them.
I know two possible solutions..."

Tuesday, November 20, 2007

asp.net membership returnURL & DestinationPageUrl

I have recently been having issues with my web application where we don't want the user redirected to the URL they were on after their session times out. Unfortunately I couldn't find anything that would turn off this functionality in Microsoft's membership block.

I read both of these pages which gave great information except that they didn't work for me:
http://msdn2.microsoft.com/en-us/library/aa480476.aspx
http://msdn2.microsoft.com/EN-US/library/ms178331.aspx

In the end I created my own solution by putting the following code into the Page_Load method:
[code]
if (Request.QueryString.Get("ReturnURL") != "" && Request.QueryString.Get("ReturnURL") != null) Response.Redirect("~/login.aspx");
[/code]