Saturday, April 26, 2014 #

Association for Competitive Technology Washington Fly-In

Today, I am traveling to Washington to meet with my elected officials and educate them about the growing mobile economy and tech innovation.  


I’ll be joining up with leading entrepreneurs from across the country to participate in the Association for Competitive Technology Washington Fly-In. Around 50 of us will descend on the nation’s capital to help lawmakers recognize the incredible impact that small technology companies are having on our nation’s economy.  


More than three-quarters of the most successful companies in the mobile software industry are small businesses – and apps are now a $68 billion marketplace. No one talked about apps six years ago, but now a whole ecosystem has emerged creating jobs for software developers, engineers, graphic artists, marketing professionals, and administrative personnel.


I am traveling to Washington to alert lawmakers about important issues including intellectual property and patent reform, data security and privacy, and regulatory obstacles to growth.  We also look to areas where technology and policy can combine to meet the needs of industry and consumers.


These are all important issues that the federal government is facing.  The outcomes really matter to me and that is why I’m making sure my voice is heard.  Hopefully, an informed Congress will allow companies like mine to continue to flourish.

Posted On Saturday, April 26, 2014 7:23 AM | Comments (0)

Tuesday, November 1, 2011 #

Using Windows Azure table storage

The Azure Table service, provides a semi-structured storage in the form of tables  that contain a collection of entities, these entities have primary keys and set of properties. A property is a name, typed-value pair.

Every entity in table storage has two key properties, Partition Key and the Row key which together uniquely identify each entity in the table.

The Table Service API is compliant with REST API provided by WCF Data Services. In order to use the WCF Data Services Client Library to access data in table storage, you need to create a context class that derives from TableServiceContext, which itself derives from DataServiceContext in WCF Data Services.

So to get started lets create a new project with Visual Studio with a web role.

Next we need to create a new project for the schema classes. To do this click on File –> Add –> New Project.

  • Choose Class Library and give it a name I named mine LogSheet_Data
  • Delete the default class file generated by the class library template.
  • Add a reference to System.Data.Services.Client.
  • Add another reference to Microsoft.WindowsAzure.StorageClient 
  • Now we are ready to define its schema. to do this add a new class to your project, I am going to name mine LogSheetEntry
    • Add the namespace declaration to import the types from the two assemblies

using Microsoft.WindowsAzure.StorageClient;

    • Update the declaration of the LogSheetEntry class to make it public and derive from the the TableServiceEntity class

public class LogSheetEntry
    : Microsoft.WindowsAzure.StorageClient.TableServiceEntity

  • TableServiceEntity is a class found in the Storage Client API. This class defines the PartititionKey, RowKey and TimeStamp system properties required by every entity stored in a Windows Azure table.
    Together, the PartitionKey and RowKey define the DataServiceKey that uniquely identifies every entity within a table.
    • Add a default constructor then we need to initialize its PartitionKey and Row Key.


public LogSheetEntry()
    PartitionKey = DateTime.UtcNow.ToString("MMddyyyy");
    RowKey = string.Format("{0:10}_{1}", DateTime.MaxValue.Ticks - DateTime.Now.Ticks, Guid.NewGuid());

    • To complete add the properties

public string Facility { get; set; }
public string AccountNum { get; set; }

    • Save
  • Next, you need to create the context class required to access the LogSheet table using WCF Data Services. To do this, in Solution Explorer, right-click the LogSheet_Data project, point to Add and select Class. In the Add New Item dialog, set the Name to LogSheetDataContext.cs   and click Add.
  • In the new class file, update the declaration of the new class to make it public and inherit the TableServiceContext class.

public class LogSheetDataContext
  : Microsoft.WindowsAzure.StorageClient.TableServiceContext

  • Now add a default constructor to initialize the base class with storage account information

public GuestBookDataContext(string baseAddress, Microsoft.WindowsAzure.StorageCredentials credentials)
    : base(baseAddress, credentials)
{ }

  • Add a property to the LogSheetDataContext class to expose the LogSheetEntry

public IQueryable<LogSheetEntry> LogSheetEntry
    return this.CreateQuery<LogSheetEntry>("LogSheetEntry");

  • Finally, you need to implement an object that can be bound to data controls in ASP.NET. In Solution Explorer, right-click LogSheet_Data, point to Add, and select Class. In the Add New Item dialog, set the name to LogSheetDataSource.cs
  • In the new class file, add the following namespace declarations to import the types contained in the Microsoft.WindowsAzure and Microsoft.WindowsAzure.StorageClient namespaces.

using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;

  • Make the class public and define member fields for the data context and storage account information

public  class LogSheetDataSource
      private static CloudStorageAccount storageAccount;
      private LogSheetDataContext context;

  • Now , add a static constructor That will create the tables from the LogSheetDataContext class

   static LogSheetDataSource()
  storageAccount = CloudStorageAccount.FromConfigurationSetting("DataConnectionString");

  • add a default constructor to initialize the data context class used to access table storage.

public LogSheetDataSource()
    this.context = new LogSheetDataContext(storageAccount.TableEndpoint.AbsoluteUri, storageAccount.Credentials);
  this.context.RetryPolicy = RetryPolicies.Retry(3, TimeSpan.FromSeconds(1));

  • Next we will need a method that will return the contents of LogSheetEntry table

public IEnumerable<LogSheetEntry> GetLogSheetEntries()
    var results = from g in this.context.LogSheetEntry
                  where g.PartitionKey == DateTime.UtcNow.ToString("MMddyyyy")
                  select g;
    return results;

  • We also are gong to need a method that will insert new entries

public void AddLogSheetEntry(LogSheetEntry newItem)
    this.context.AddObject("LogSheetEntry", newItem);

  • You guessed it we will need a method for an update, for simplicity, we are going to change the the facility only at this time.

public void UpdateImageThumbnail(string partitionKey, string rowKey, string Facility)
    var results = from g in this.context.LogSheetEntry
                  where g.PartitionKey == partitionKey && g.RowKey == rowKey
                  select g;
    var entry = results.FirstOrDefault<LogSheetEntry>();
    entry.Facility = Facility;

  • Next steps is Creating a Web Role to Display the Time Sheet Entry and process User input, which is going to be in my next blog entry.


Posted On Tuesday, November 1, 2011 2:40 PM | Comments (14)

Creating a Windows Azure VM Role


I wanted to have a VM that I could access remotely and thought why not take advantage of the VM role. So I just documented my steps, for those of you might be interested, but more importantly for myself, if I have to do this again.

the server image that is used for the VM role in windows Azure consists of a base VHD and may or may not have differencing VHD. to create the base VHD you can use Hyper-V Manager.

Creating the Base VM image

  1. In Hyper-V manager connect to your server , right-click the server name
  2. Point to New, and then select Virtual Machine.
  3. Click Next at the welcome screen to start the New Virtual Machine Wizard.
  4. Give your VM a name and press Next.
  5. Assign Memory size, I am going to go with 4096, you should use minimum of 2048 to have a halfway decent performance.
  6. For your network select an external connection that has been configured, if you do not have any connections in the drop down please refer to
  7. Now, in the Connect Virtual Disk step, select the option labeled Create a virtual hard disk. Set the Name of the disk to baseimage.vhd, change the location to a suitable folder in your Hyper-V server, set the disk Size to 30GB, and then click Next to continue. the size must fit the quota allocated for the chosen VM size for your role. In this case, setting the size to 30GB allows you to deploy the VM in a small Role.
    1. If you already have a VHD file with a clean installation of Windows Server 2008 R2, you may use that instead. To do this, select the option labeled Use an existing virtual hard disk and browse to the location of the VHD file. Note that the image file must contain a single partition with the OS installation and must not include a recovery partition.
  8. Select the Operating system, you can do this using a dvd, .iso image or other options, or selecting another image that already has the operating System.
  9. Press Next , review the settings and press Finish
  10. In the toolbar of the Virtual Machine Connection window, click the Start icon.
  11. after you connect you proceed with the installation of your operating system.

  12. The only special requirement for a valid VM Role image is to allocate the entire virtual hard disk file to a single partition where you install the operating system. To avoid creating a recovery partition during the installation, follow these steps:

    • Choose the Custom (advanced) installation type to select the partition where you will install Windows.
    • Press Shift + F10 to open a command prompt during GUI-mode setup.
    • At the command prompt, enter the following commands:

      select disk 0
      create partition primary
      Close the command prompt window.

    • Install Windows in the newly created partition.

Preparing the base VM Image for Deployment

Now we need to install all the components required for deployment to windows Azure.

  1. In Server manager click on add Roles and select webserver (IIS). press next and take all the default options and click on Install.
  2. Add Features , and select .Net Framework 3.5.1
  3. Open Windows update Control Panel from Start –> All Programs –> windows Update
    • Click on Change Settings link and then select Never Check For Updates (not recommended)
    • Click on Check for updates and install all available updates

Install windows Azure Integration component

    1. In the Virtual Machine Connection window, in the Media menu, point to DVD Drive and then select Insert Disk. In the Open dialog, browse to the location of the ISO file for the VM Role Integration Components, wavmroleic.iso, and then click Open. You can find this ISO in Windows Azure SDK folder ({drive}\Program Files\Windows Azure SDK\{version}\iso
    2. After you connect AutoPlay dialog will appear and then click Open Folder to view files using windows Explorer. If AutoPlay is disabled, use windows explorer and navigate to the newly created DVD Drive.
      • launch WaIntegrationComponents-x64.msi.
      • Press Next
      • Enter Administrator Password and press Next
      • Click on Install.
    3. When prompted to install device software, click Install to proceed.
    4. When prompted to restart the System, click Yes to continue.
    5. Wait for the system to restart and log in to the guest machine once again.
    6. Now, inside the VM, open the Start menu, type %windir%\system32\sysprep\sysprep.exe and then press Enter to launch the System Preparation Tool.
      • Set the System Cleanup Action to “Enter System Out-of-Box Experience (OOBE)”
      • Check the option labeled Generalize
      • Set the Shutdown Options to Shutdown, and then press OK. (Sysprep.exe) prepares the image by cleaning up various user and machine settings and log files, as well as removing any hardware-dependent information.
    7. Wait for system completely shut down.

Uploading the VM Disk image to Windows Azure

  1. Open a Windows Azure SDK Command Prompt as an administrator from Start –> All Programs –> Windows Azure SDK v1.x.
    • Before you can continue you want to make sure you have

    • Your subscription ID

    • Thumbprint of the certificate you have uploaded to learn how you can create a certificate and upload it to Azure manged certificates see(

    • Path to VHD File created earlier using Hyper-V Manager

    • Hosted Service location(choose, “East Asia”, “North Central US”, “North Europe”, “South Central US”, “Southeast Asia”, “West Europe”)

    • In Windows Azure Command Prompt execute the following command

csupload Add-VMImage -Connection "SubscriptionId={YourSubscriptionID};
 CertificateThumbprint={YourThumbPrint}-Description "Base image Windows Server 2008 R2" –LiteralPath 
"{PathToVHDFIle" -Name baseimage.vhd -Location {HostedServiceLocation}

Press Enter to start execution.

  1. In the Windows Azure VHD Verification Tool dialog, click OK to allow the VHD to be mounted. If the AutoPlay dialog appears, close it.


  2. The tool will prepare and create a new blob to hold the image file and then begins to upload the compressed image to your windows Azure account.

  3. In Hosted Services,Storage Accounts & CDN tab of Azure’s Management Portal you should see Pending under your VM Images.

  4. Depending on your Internet connection it might take hours for the image to get uploaded, which at that point the status will be changed to committed.

  5. Start Visual Studio

    1. Create a New Windows Azure Project (Language does not matter, but make sure Create directory for solution, is checked. Click OK.

    2. New Windows Azure Project click OK. No need to add any roles.

    3. Right click on Roles –> Add –> New Virtual Machine Role.

      1. If you have used Visual Studio previously to deploy service packages to Windows Azure, you may already have created the required credentials. For instructions on how to do this, see Appendix A - Configuring your Windows Azure Management Portal Credentials in Visual Studio.

      2. Once you configure the credentials, choose them in the drop down list labeled Select or create your Windows Azure account credentials. After you do this, Visual Studio accesses your subscription and retrieves a list of available virtual machine images.

      3. Expand the drop down list labeled Select VHD and choose the image named baseimage.vhd, which contains the installation of Window Server 2008 R2 Enterprise Edition that you uploaded earlier.
    4. Click on the Endpoints tab, then click Add Endpoint

        • Name = HttpIn

        • Type = Input

        • Protocol = htttp

        • Public Port = 80

        • Private Port = 80

    5. Configure the Remote Desktop connections for your Role, by right-clicking on your cloud service project, in Solution Explorer and select Package.

      • In Package Windows Azure Application dialog box, click Configure Remote Desktop connections.

      • Check the option labeled Enabled connections for all roles.

      • Expand the drop down list labeled Create or select a certificate to encrypt the user credentials and select Create.

      • In the Create Certificate dialog, enter a name to identify the certificate,  and then click OK.

      • In the Remote Desktop Configuration dialog, select the certificate from the drop down list, enter the name a  user and password,

        you may change the expiration Date.

      • Click on View, in the Details tab click on Copy to File, follow the wizard to export the certificate to a file, make sure that you check Export the private key. Save the file, the file will be uploaded to management portal later and press OK.

      • Click on Package, be patient this will take a few minutes.

Creating the Hosted Service and Deploying the package

    1. In Management Portal –select Hosted Services under the Hosted Services, Storage Accounts & CDN.
    2. Click on New Hosted Service.
      • Enter a service Name
      • Enter URL prefix for your service
      • Select a region or affinity group
      • select Do not deploy.
    3. Expand the node for your hosted service to display and select the certificates and click on Add Certificate.
      • Browse to the location of the certificate file and provide the password.
    4. Select your service then click on the New Production Deployment.
      • Provide a name, good name would be a version number like v1.0
      • Browse locally to the  package file (.cspkg) file created by Visual Studio
      • Browse locally to the configuration (.cscfg) file created by Visual Studio.
    5. You can monitor the status of your deployment.

Posted On Tuesday, November 1, 2011 8:59 AM | Comments (16)

Tuesday, April 5, 2011 #

HTML5 Web, Plug-ins and Silverlight.


It is not everyday, that you see an announcement on Silverlight Team Blog  signed by three Microsoft Developer Division VPS (Walid Abu-Hadba, Scott Guthrie and Soma Somasegar) but it happened last night.

MIX is about a week away and  a beta of Silverlight 5 will be shipped, but I think the main focus will be on IE9 and HTML5 tooling(I hope).

I personally look forward to some great tooling from Microsoft for HTML5. These tools will be years ahead of any other companies tools.

Exciting Times.

Posted On Tuesday, April 5, 2011 3:41 AM | Comments (52)

Wednesday, January 5, 2011 #

HTML5 and IE9 presetnation in Deerfield Beach


As promised here are the demo script files from my presentation. For the DemoHTML5Shapes.txt  and DemoHTML5More.txt demos you will need the Demo.htm just copy the scripts paste it in the blue area then execute the script.



Posted On Wednesday, January 5, 2011 2:55 PM | Comments (30)

Thursday, October 28, 2010 #

HTML5 and IE9 presentation.


For those of you in the audience for my presentation and PDC2010 in south Florida, here are the slides as promised.

Also as mentioned for limited time you can download “Programming Windows Phone 7, by Charles Petzold for FREE. here is the link


Finally here is the link to watch PDC sessions.



Posted On Thursday, October 28, 2010 12:23 PM | Comments (35)

Monday, May 3, 2010 #

WPF Databinding- Part 2 of 3


This is a follow up to my previous post WPF Databinding- Not your fathers databinding Part 1-3 you can download the source code here

Example 04


In this example we demonstrate  the use of default properties and also binding to an instant of an object which is part of a collection bound to its container. this is actually not as complicated as it sounds.

First of all, lets take a look at our Employee class notice we have overridden the ToString method, which will return employees First name , last name and employee number in parentheses,

public override string ToString()
           return String.Format("{0} {1} ({2})", FirstName, LastName, EmployeeNumber);


in our XAML we have set the itemsource of the list box to just  “Binding” and the Grid that contains it, has its DataContext set to a collection of our Employee objects.

DataContext="{StaticResource myEmployeeList}">


<ListBox Name="employeeListBox"  ItemsSource="{Binding }" Grid.Row="0" />

the ToString in the method for each instance will get executed and the following is a result of it.


if we did not have a ToString the list box would look  like this:image

now lets take a look at the grid that will display the details when someone clicks on an Item, the Grid has the following DataContext

DataContext="{Binding ElementName=employeeListBox,

Which means its bound to a specific instance of the Employee object. and within the gird we have textboxes that are bound to different Properties of our class.

<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=FirstName}" />
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=LastName}" />
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=Title}" />
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=Department}" />


Example 05


This project demonstrates use of the ObservableCollection and INotifyPropertyChanged interface.

Lets take a look at Employee.cs first, notice it implements the INotifyPropertyChanged interface now scroll down and notice for each setter there is a call to the OnPropertyChanged method, which basically will will fire up the event notifying to the value of that specific property has been changed.

Next EmployeeList.cs notice it is an ObservableCollection .

Go ahead and set the start up project to example 05 and then run. Click on Add a new employee and the new employee should appear in the list box.


Example 06


This is a great example of IValueConverter its actuall a two for one deal, like most of my presentation demos I found this by “Binging” ( formerly known as g---ing) unfortunately now I can’t find the original author to give him  the credit he/she deserves.

Before we look at the code lets run the app and look at the finished product, put in 0 in Celsius  and you should see Fahrenheit textbox displaying to 32 degrees, I know this is calculating correctly from my elementary school science class , also note the color changed to blue, now put in 100 in Celsius which should give us 212 Fahrenheit but now the color is red indicating it is hot, and finally put in 75 Fahrenheit and you should see 23.88 for Celsius and the color now should be black.

Basically IValueConverter allows us different types to be bound, I’m sure you have had problems in the past trying to bind to Date values .

First look at FahrenheitToCelciusConverter.cs first notice it implements IValueConverter. IValueConverter has two methods Convert and ConvertBack. In each method we have the code for converting Fahrenheit to Celsius and vice Versa.

In our XAML, after we set a reference in our Windows.Resources section. and for txtCelsius we set the path to TxtFahrenheit and the converter to an instance our FahrenheitToCelciusConverter converter. no need to repeat this for TxtFahrenheit since we have a convert and ConvertBack.

Text="{Binding  UpdateSourceTrigger=PropertyChanged,
           Converter={StaticResource myTemperatureConverter}}"

As mentioned earlier this is a twofer Demo, in the second demo, we basically are converting a double datatype to a brush. Lets take a look at TemperatureToColorConverter, notice we in our Covert Method, if the value is less than our cold temperature threshold we return a blue brush and if it is higher than our hot temperature threshold we return a redbrush. since we don’t have to convert a brush to double value in our example the convert back is not being implemented.

Take time and go through these three examples and I hope you have a better understanding   of databinding, ObservableCollection  and IValueConverter . Next blog posting we will talk about ValidationRule, DataTemplates and DataTemplate triggers.

Posted On Monday, May 3, 2010 8:51 AM | Comments (355)

Wednesday, April 14, 2010 #

webhost4life, please give me, my data back. My website will not work without the database.


I have about 4 or 5 accounts with, these are all my customers that based on my recommendation have been hosting with A few days ago for some reason they decided to migrate one of these accounts to a new server. They moved everything created a new database on the new server but the new database is empty. after spending hours with Tech support they acknowledged the problem and assured me it will take up to an hour or two and my database will be populated with the data. this was about 7 hours ago. Oh by the way I pay extra for the backup plan and yes you guessed it, none of my backups are there.

Needless to say I’m very scared and disappointed. No one is responding to my emails  or phone calls. After searching the web, I found out, this has happened before, in some cases it took them days to fix the problem and many never got it resolved and switched hosting companies, I would love to do that but I need my 2 GB database before I start shopping around for a new hosting company.

Stay away from Webhost4life.

Posted On Wednesday, April 14, 2010 11:41 AM | Comments (66)

Sunday, April 4, 2010 #

WPF Databinding- Not your fathers databinding Part 1-3


As Promised here is my advanced databinding presentation from South Florida Code camp and also Orlando Code camp. you can find the demo files here.

Here is a quick description of the first demos, there will be 2 other Blogposting in the next few days getting into more advance databinding topics.


  • Example00
    • Here we have 3 textboxes,
      • The first textbox mySourceElement
      • Second textbox has a binding to mySourceElement and Path= Text
      • <Binding ElementName="mySourceElement" Path="Text"  />


      • Third textbox is also bound to the Text property but we use inline Binding
      • <TextBlock Text="{Binding ElementName=mySourceElement,Path=Text }" Grid.Row="2" />

        Here is the entire XAML

            <Grid  >  
                <Grid.RowDefinitions >
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                <TextBox Name="mySourceElement" Grid.Row="0"
                         TextChanged="mySourceElement_TextChanged">Hello Orlnado</TextBox>
                <TextBlock Grid.Row="1">           
                        <Binding ElementName="mySourceElement" Path="Text"  />
                <TextBlock Text="{Binding ElementName=mySourceElement,Path=Text }" Grid.Row="2" />

  • Example01
    • we have a slider control, then we have two textboxes bound to the value property of the slider. one has its text property bound, the second has its fontsize property bound.
    • <Grid>
           <Grid.RowDefinitions >
               <RowDefinition Height="40px" />
               <RowDefinition Height="40px" />
               <RowDefinition Height="*" />
           <Slider Name="fontSizeSlider" Minimum="5" Maximum="100"
                   Value="10" Grid.Row="0" />
           <TextBox Name="SizeTextBox"     
                    Text="{Binding ElementName=fontSizeSlider, Path=Value}" Grid.Row="1"/>
           <TextBlock Text="Example 01"
                      FontSize="{Binding ElementName=SizeTextBox,  Path=Text}"  Grid.Row="2"/>

  • Example02
    • very much like the previous example but it also has a font dropdown
    • <Grid>
           <Grid.RowDefinitions >
               <RowDefinition Height="20px" />
               <RowDefinition Height="40px" />
               <RowDefinition Height="40px" />
               <RowDefinition Height="*" />
           <ComboBox Name="FontNameList" SelectedIndex="0" Grid.Row="0">
               <ComboBoxItem Content="Arial" />
               <ComboBoxItem Content="Calibri" />
               <ComboBoxItem Content="Times New Roman" />
               <ComboBoxItem Content="Verdana" />
           <Slider Name="fontSizeSlider" Minimum="5" Maximum="100" Value="10" Grid.Row="1" />
           <TextBox Name="SizeTextBox"      Text="{Binding ElementName=fontSizeSlider, Path=Value}" Grid.Row="2"/>
           <TextBlock Text="Example 01" FontFamily="{Binding ElementName=FontNameList, Path=Text}"
                      FontSize="{Binding ElementName=SizeTextBox,  Path=Text}"  Grid.Row="3"/>

  • Example03
    • In this example we bind to an object Employee.cs
    • Notice we added a directive to our xaml which is clr-namespace and the namespace for our employee Class
    • xmlns:local="clr-namespace:Example03"

    • In Our windows Resources we create an instance of our object
    • <Window.Resources>
          <local:Employee x:Key="MyEmployee" EmployeeNumber="145"
                          Department="Product Development"
                          Title="QA Manager" />


    • then we bind our container to the that instance of the data
    • <Grid DataContext="{StaticResource MyEmployee}">
                  <RowDefinition Height="*" />
                  <RowDefinition Height="*" />
                  <RowDefinition Height="*" />
                  <RowDefinition Height="*" />
                  <RowDefinition Height="*" />
              <Grid.ColumnDefinitions >
                  <ColumnDefinition Width="130px" />
                  <ColumnDefinition Width="178*" />


    • and Finally we have textboxes that will bind to that textbox
    •          <Label Grid.Row="0" Grid.Column="0">Employee Number</Label>
              <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=EmployeeNumber}"></TextBox>
              <Label Grid.Row="1" Grid.Column="0">First Name</Label>
              <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=FirstName}"></TextBox>
              <Label Grid.Row="2" Grid.Column="0">Last Name</Label>
              <TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=LastName}" />
              <Label Grid.Row="3" Grid.Column="0">Title</Label>
              <TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=Title}"></TextBox>
              <Label Grid.Row="4" Grid.Column="0">Department</Label>
              <TextBox Grid.Row="4" Grid.Column="1" Text="{Binding Path=Department}" />

Posted On Sunday, April 4, 2010 9:31 AM | Comments (79)

Wednesday, February 3, 2010 #

Visual Studio 2010 Beta 2 ReportViewer and Click Once.


First of all I have to say how excited I was to see the new reportviewer with VS2010 Beta 2, I have one application that has embedded reports in it up to this point we could not use the SSRS2008 reports with it, but now we can. So we included all the new reports that we have been using for our web app,  but couldn't use it with this version of application, to the project, next went to the prerequisites and checked Microsoft Visual studio 2010 Report Viewer.



After deploying the project we started getting calls from users apparently they were getting an error installing the package the error was

Setup has detected that the file 'C:\Users\Owner\AppData\Local\Temp\VSD98D7.tmp\ReportViewer\ReportViewer.exe' has changed since it was initially published.

I realized the default “install location” is Vendor’s web site. I figured the version of reportviewer that came with Beta 2 is older than the version on the server. After installing the latest reportviewer and republishing everything was fine and i was able to install it on the clients.

Posted On Wednesday, February 3, 2010 1:24 PM | Comments (1140)