TechNet Private Cloud Events – Orlando, Lauderdale, Tampa

TechNet Private Cloud Events – Orlando, Lauderdale, Tampa

it pro camp

TechNet Events Presents – IT Camp: The Future of IT

Private Cloud is the future of IT, and the future is now. Spend the day at our IT Camp and learn about Microsoft’s virtualization solution, Hyper-V, the first step on your path to mastering Private Cloud.

You’ll embark on an interactive journey as you learn the foundation of cloud services, Hyper-V, through architecture, networking, virtual hard drives, and virtual machines.

A full day of lecture, demo and hands-on labs our free IT Camp will give you the jumpstart you need on Private Cloud. Seating is limited so reserve your place now!

*CAMP REQUIREMENTS: Please bring your laptop with the following minimum requirements:

  • 4GB RAM
  • 20 GB of free disk space
  • x64 compatible processor with Intel VT or AMD-V technology
  • Basic install of Windows Server 2008 R2 SP1 with the Hyper-V Role enabled – Free download here.

We also highly recommend all attendees downloading and getting yourselves familiar with System Center 2012 to facilitate your learning on the many scenarios that we will walk through in our technical demos and hands-on labs throughout “The Future of IT” series of events.

 

See Joe Healy’s Blog for more info

http://blogs.msdn.com/b/devfish/archive/2012/03/14/technet-private-cloud-events-orlando-lauderdale-tampa.aspx

Posted in Uncategorized | Leave a comment

Windows 8 Dev Camp coming to Florida

Ready to dive in and learn more about Windows 8 and the developer opportunity it represents?  Then get ready for the upcoming series of Windows Developer Camps!  These are free, full-day, developer-focused events featuring a combination of sessions and hands-on labs, and we’ll have 10 of them right here in the east:

Windows 8 changes everything.
Combining the broad reach of Windows, best-in-class developer tools, a reimagined user experience, support for new chipsets, and a built-in Store with industry-leading business terms — Windows 8 is the largest developer opportunity, ever.
Join us for this free, full-day event designed to share all the knowledge you need to start building Metro-style applications for Windows 8 – today. We’ll begin by showing you how to use Visual Studio to code fast, fluid, immersive and beautiful Metro-style applications in HTML5/JavaScript, XAML/C# and C/C++. Your existing investments in these languages carry forward, making Windows a no-compromise platform for developers.
Whatever language you choose, your app gets deep integration with the Windows shell, including notifications, live tiles, deep links, and contracts with other apps. And now you can build once and support all Windows customers, no matter what type of PC they have – from tablets to laptops to convertibles to desktops.
We’ll cap the day off with an open, hands-on lab session. It’s the perfect opportunity to get your dream application underway, or finish that app you’ve already started – with Windows 8 experts available to guide you through every step. Bring your laptop to join in the fun and show off your killer app.
Get started now!

From Chris Bowen’s Blog

http://blogs.msdn.com/b/cbowen/archive/2012/03/07/windows-8-developer-camps-coming-soon.aspx

They’re going to be patterned similar to the Windows Phone Camps that Healy & Co. have been giving – presentations / hands-on hacking

 

April 11: Orlando

https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032507587&Culture=en-US

April 17: Tampa

https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032507588&Culture=en-US

April 19: Ft Lauderdale

https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032507589&Culture=en-US

Posted in Metro, User Group, Windows 8 | Leave a comment

Sql Server 2012

Sql Server 2012 hit the RTM milestone yesterday 3/6/2012.  You can download the express edition or a trial version from here.  Full editions Sql Server 2012 should available on April 1, 2012

 

 http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx

http://www.microsoft.com/sqlserver/en/us/editions/express.aspx

 

The new sql express management studio uses the Visual Studio 2010 shell.  In visual studio 2010 I have the enterprise application block 5 installed.  When right clicking on the databases in the object explorer I was getting an about not being able to load the enterprise application block addin.  To solve this I went to the tools menu and selected external tools.  I pressed the reset toolbox button and have not seen the error since.

Posted in Sql Server | Leave a comment

Reporting Services Table in a Table

I was working on a Sql Server Reporting Services Report and needed to display a table inside of a Table.  I was not able to find a blog entry on how to do it.  So this was goal to create a report that looks like this

 

image

 

Step one lets create the sql query to get the data from the Northwind database

 

In this query we will get the Orders and Order Details to display in a sub table

 

image

 

Now that we have a query to get the data lets create an sql server reporting project in visual studio 2008

 

Add a new report to reporting project and use a datasource to the Northwind database

 

 

Select
    o.orderid,
    p.ProductName,
    od.UnitPrice,
    od.Discount,
    od.Quantity,
    o.CustomerID,
    o.RequiredDate,
    o.ShipAddress,
    o.ShipName,
    o.ShipCity,
    o.ShipCountry,
    o.ShipPostalCode  from [Order Details] od
    inner join Orders o on od.OrderID = o.OrderID
    inner join products p on od.ProductID = p.ProductID

 

In the design the query part of the wizard use the query above.

 

Select Tabular for the report type.

 

In the Design the table part of the wizard put the orderid in the group by fields and the rest under details

 

image

 

In the Choose the Table screen make sure you enable drill down and sub totals

Finish the wizard and you should get something like this

 

image

 

 

Go ahead and change the report name to something like Northwind Orders

 

In the blue line with [orderid] go ahead and move the CustomerId, RequiredDate, ShipAddress, ShipName, ShipCity, ShipCountry, and ShipPostalCode to the same line.  Adjust title of the column above the fields so you have something like this

 

image

 

Right click on the row with ProductName and select add row outside group above.   In the bottom row give put the ProductName, UnitPrice, Discount, and Quantity fields.  Delete any other fields in that row.  You should have something that looks like this

 

image

 

 

In the row you added the Titles to right click and select row visibility.  When the report is initially run hide the row and have so the display can be toggled by this report item and select orderid

 

image

 

 

 

Now when you run the report you should see a table under the main row.  Hope this helps

Posted in Sql Server | 20 Comments

Silverlight 3 Could Not download the silverlight Application

I created a simple Silverlight 3 app.

 

<UserControl x:Class=”SilverlightApplication2.MainPage”
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
    xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″
    mc:Ignorable=”d” d:DesignWidth=”640″ d:DesignHeight=”480″>
    <Grid x:Name=”LayoutRoot”>
        <TextBlock Text=”Hello World!” ></TextBlock>
    </Grid>
</UserControl>

 

When I run it I get an error about not being able to download the silverlight app

 

Line: 56
Error: Unhandled Error in Silverlight Application
Code: 2104  
Category: InitializeError     
Message: Could not download the Silverlight application. Check web server settings   

 

Well if you look in the ClientBin folder you will see it is empty so the xap file is not available to be used

 

To fix this right click on the web application and select Build Order.  On the Dependencies tab make sure the Checkbox next to the Silverlight app is checked.

 

Posted in Silverlight | 27 Comments

Windows 7 RC User Profile Service Failed the Logon

I upgraded my laptop the other day to use Windows 7 RC.  I am really liking the speed improvements and the windows virtual pc that it comes with. Dont forget to enable virtualization on your microprocessor in your computer’s bios settings if you want to use windows virtual pc.

 The other day after the upgrade I was not able to log into my account. I got an message User Profile Service Failed the Logon.   The error was caused by a messed up registry key for the user profile for my account.  Well I was able to boot into safe mode and follow the instructions in this post in the Windows Vista Forums and fix the problem.

http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

Hope this helps

Posted in Uncategorized | 26 Comments

Space Coast .Net Meeting – June 16, 2009 John Papa

John Papa – Ado.Net Data Services

6/17/2009 6:30:00 PM

6/17/2009 8:00:00 PM

About

jp2

John Papa is a Microsoft C# MVP, INETA speaker, member of the WPF and Silverlight Insiders, consultant, speaker, author, and trainer for ASPSOFT who specializes in professional application development with Microsoft technologies including Silverlight, WPF, C#, .NET and SQL Server. John has written over 70 articles and authored 9 books including his latest book Data Driven Services with Silverlight 2 by O’Reilly Media. John is currently working on a follow up to his Silverlight book, with a working title of Silverlight for Business.

He can often be found speaking at industry conferences such as MIXVSLive and DevConnections, speaking at user groups around the country, and viewed on MSDN Web Casts. John also spearheaded the 1st annual Silverlight MIXer, a gathering of some of the most influential members of the Silverlight community for a great night a MIX09. You can always find John at johnpapa.net.

John Papa will be showing Astoria using Silverlight 3 beta as the client.

ADO.NET Data Services (codenamed Astoria) exposes entity models through RESTful services. It can dramatically simplify the code required to expose business objects through web services and reduce a tremendous amount of code. This session will show how to expose entity models using ADO.NET Data Services, how to consume and save data, and how to debug the communications using various tools. When the technology does not quite do what you need out of the box, it also allows for customizations to create custom service operations, intercept queries, and enforce permissions. Attendees will walk away with an understanding of the capabilities of ADO.NET Data Services, how to use them with Silverlight, and when and where it is ideal to use in an application architecture and when there are better options.

Street: 8045 N. Wickham Road
City: melbourne
Country: USA
State: Florida

Posted in User Group | 10 Comments

Getting Windows Mobile Device ID

I got email today asking me how to get the device ID from a pocket pc with vb

 

Imports System.Text

Public Class Form1

    <System.Runtime.InteropServices.DllImport("coredll.dll")> _
Private Shared Function GetDeviceUniqueID(ByVal appdata As Byte(), ByVal cbApplictionData As Integer, ByVal dwDeviceIDVersion As Integer, ByVal deviceIDOuput As Byte(), ByRef pcbDeviceIDOutput As Integer) As Integer
    End Function

    Private Function GetDeviceId(ByVal appData As String) As Byte()

        Dim appDataBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(appData)
        Dim outputSize As Integer = 20
        Dim output(19) As Byte

        Dim result As Integer = GetDeviceUniqueID(appDataBytes, appDataBytes.Length, 1, output, outputSize)

        Return output

    End Function

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim sbId As New StringBuilder

        Dim bID() As Byte = GetDeviceId("MyAppName")

        For Each b In bID
            sbId.Append(String.Format("{0:x2}", b))
        Next

        Debug.WriteLine(sbId.ToString)
    End Sub
End Class

 

References

 

http://www.peterfoot.net/GetDeviceUniqueIDForVB.aspx

http://msdn.microsoft.com/en-us/library/ms893522.aspx

Posted in Uncategorized | 76 Comments

Rendering problems with IE8

Microsoft released IE8 during Mix 2009.  Microsoft spent a lot of time making IE8 comply with the browser standards.  When you upgrade your browser to IE8 if you find the web site does not render right.  Do not worry there is a simple fix for this. 

 

There is a tag you can place in the Head section of your webpage which will force IE8 into IE7 compatibility mode.

 

<html>
<head>
  <!-- Mimic Internet Explorer 7 -->
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  <title>My Web Page</title>
</head>

 

 


For more info on IE8 compatibility read this article

http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx

 

Hope this helps

Posted in Uncategorized | 33 Comments

Silverlight 2 GDR Available

This week Microsoft Release an GDR to silverlight 2 which included some minor fixes.

Here is a list of the main changes in the GDR (build 2.0.40115.0):

  • Fixes problems that were caused by Silverlight and McAfee scanning tools interactions
  • UI automation stability fixes, including:
    • graceful failures when attempting to use features that require .NET
      Framework 3.0 or 3.5 on machines that do not have either framework
      installed
    • improved Tablet support
  • Fixes an issue that arises when Mac users customize their environment by removing Arial and Verdana fonts
  • Fixes a known issue with Isolated Storage IncreaseQuotaTo method (see this post for more information)

The one fix which bothered me a lot is the graceful failures when attempting to use features that require .Net framework 3.0 or 3.5 on machines that do that nave either framework installed. Silverlight 2 has its own version of the .net framework why should it use .net 3.0 or 3.5 and of course the .net framework is not available for the mac.  Well after looking around some I found this in the comments on Tim Sneath’s Blog


” apologies – we could probably be clearer here on what this
means. Essentially, this was a bug that could be triggered in certain
situations where you were using the accessibility tools (e.g.
magnifier) on Silverlight content on a machine without .NET Framework
installed. In short, the bug was an accidental dependency that has now
been removed.” – Tim Sneath


http://blogs.msdn.com/tims/archive/2009/02/18/silverlight-2-gdr1-now-available.aspx

For More info on the Update please check out Tim Heuer’s Blog entry

 http://timheuer.com/blog/archive/2009/02/19/silverlight-2-gets-minor-update-gdr1.aspx

Posted in Silverlight | 39 Comments