Microsoft Releases Silverlight 2.0

by Dustin Clonch 20. October 2008 09:39

On October 18th Microsoft officially released Silverlight 2.0.  From silverlight.net:

"Microsoft Silverlight extends and amplifies your existing development skills, empowering you to build new types of applications for the Web regardless of target platform or browser."

Microsoft is hoping that Silverlight will come to market as a viable competitor to Adobe System's FLEX platform for delivering the next generation of Rich Internet Applications (RIA).  Using the power and extensibility of Windows Presentation Foundation (WPF), Sliverlight is set to bring the flexibility and design absolutes that Windows Forms designers enjoy.  Silverlight uses the same XAML interface design language (think Application XML) that WPF applications are built on, making the transition from desktop to web a painless one.  

Stay tuned for a Tech Studio review on the new Silverlight SDK and Toolkit that was updated with this release.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Microsoft Update KB956391 breaks Reporting Services ReportViewer

by Jamie Snell 15. October 2008 11:29

UPDATE: There's a permanent fix at the end of the post  

After our client computers ran the update Cumulative Security Update for ActiveX Killbits (KB956391) it broke the reporting servies report viewer.

Security Advisory for 956391

If you have the update and you click the print button on the report viewer control you will recieve a message that says "Unable to load client print control"

I've looked around to see if there's anything to update, such as the servers version of Reporting services or the ReportViewer control.
On a test server I've installed the newest ReportViewer control but it didn't seem to fix the issue.

I've found that removing the hotfix fixes the issue.

From the way it sounds the killbit was set for the control because it had a vulnerability where GDI+ could allow remote code execution.

Microsoft Security Bulletin MS08-052

Edit:There's a ReportViewer SP1 but that doesn't seem to solve the issue for me, where others have stated it's solved their issue.

I've found a temporary solution, its not a very good solution cause you'll still open up the vulnerability but until microsoft comes out with a new reportviewer control there's not much of a choice.

You can turn off the killbits for the control thru the registry.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]

"Compatibility Flags"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]

"Compatibility Flags"=-

 Then when you want to  turn them back on

 Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]

"Compatibility Flags"=dword:00000400

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{FA91DF8D-53AB-455D-AB20-F2F023E498D3}]

"Compatibility Flags"=dword:00000400

 I will keep this updated if I find a better solution. 

UPDATE FOR PERMANENT FIX :

There's SQL server updates that fix the issue.

Install the appropriate update for your SQL server version.

GDR Software Updates QFE Software Updates

Not applicable

SQL Server 2000 Reporting Services Service Pack 2
(KB954609)

SQL Server 2005 Service Pack 2
(KB954606)

SQL Server 2005 Service Pack 2
(KB954607)

SQL Server 2005 x64 Edition Service Pack 2
(KB954606)

SQL Server 2005 x64 Edition Service Pack 2
(KB954607)

SQL Server 2005 for Itanium-based Systems Service Pack 2
(KB954606)

SQL Server 2005 for Itanium-based Systems Service Pack 2
(KB954607)

for SQL version 9.00.3042-9.00.3072 get the GDR version

for SQL version 9.00.3150-9.00.3281 get the QFE Version

UPDATE 10/20:

Over the weekend I applied the patches to our SQL server and we're still getting the issue in our application. However, I'm able to print fine from the Reporting Services Reporting Manager, which didn't work before the patch.

Just briefly what we're running for servers, We've got a SQL Server 2005 SP2 with the GDR update running on Windows 2003, and a Web Server on Windows 2003.

I'm guessing that I need to update the control in our application, but I'm not sure where I would get the newer version. It doesn't seem to be part of the ReportViewer 2005 SP1 Redist.

I'll keep this blog updated if I find out anything. 

UPDATE 8-4-09

Sorry for not updating this till now.. I've figured out a solution, but its not a very good one.
After updating the SQL server to Service Pack 2 from the above links, I had to manually update gdiplus.dll on all our client computers.

I also manually updated the report viewer 2008 control.

I used the GDIplus.dll that was installed on the webserver when SQL Server SP2 was installed.

Post a comment if you have any questions.

 

Currently rated 4.6 by 9 people

  • Currently 4.555555/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Mono 2.0 Released

by Dustin Clonch 8. October 2008 01:58

For enthusiasts of the .NET framework (like me) and supporters of the Linux operating system (also like me) today is a great day for cross-platform development.  Mono, the .NET implementation for the Linux platform was just released.  This release brings a far greater scope of compatibility and libraries to the developer toolbox and allows for compilation of Visual Basic 8 and C Sharp 3.0 code that will run natively on the Linux platform.

From mono-project.com:

"Mono 2.0 is a portable and open source implementation of the .NET framework for Unix, Windows, MacOS and other operating systems.

Microsoft Compatible APIs

  • ADO.NET 2.0 API for accessing databases.
  • ASP.NET 2.0 API for developing Web-based applications.
  • Windows.Forms 2.0 API to create desktop applications.
  • System.XML 2.0: An API to manipulate XML documents.
  • System.Core: Provides support for the Language Integrated Query (LINQ).
  • System.Xml.Linq: Provides a LINQ provider for XML.
  • System.Drawing 2.0 API: A portable graphics rendering API.

Mono APIs

  • Gtk# 2.12: A binding to the Gtk+ 2.12 and GNOME libraries for creating desktop applications on Linux, Windows and MacOS X.
  • Mono.Cecil: A library to manipulate ECMA CLI files (the native format used for executables and libraries).
  • Mono.Cairo: A binding to the Cairo Graphics library to produce 2D graphics and render them into a variety of forms (images, windows, postscript and PDF).
  • Mono's SQLite support: a library to create and consume databases created with SQLite.
  • Mono.Posix: a library to access Linux and Unix specific functionality from your managed application. With both a low-level interface as well as higher level interfaces."

 

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen