Microsoft HoloLens VR Test Notes

Below are screenshots as l try/test a small “hello world” project first created using Unity, then compiled for using Microsoft HoloLens using Microsoft Visual Studio.

I used:


Above is the current spot l am stuck on, working on getting that resolved.

 

Microsoft Hyper-V…

Using Windows 2008 Server Operating system, this allows you to create a server based virtualized computing platform.

  • An x64-based processor. Hyper-V is available in x64-based versions of Windows Server 2008—specifically, the x64-based versions of Windows Server 2008 Standard, Windows Server 2008 Enterprise, and Windows Server 2008 Datacenter.
  • Hardware-assisted virtualization. This is available in processors that include a virtualization option; specifically, Intel VT or AMD Virtualization (AMD-V).
  • Hardware Data Execution Protection (DEP) must be available and be enabled. Specifically, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
  • An applicable example is the Intel XEON E5430 Quad core CPU

Good microsoft setup link here.

Silverlight….

Microsoft Silverlight allows developers to create rich, cross-platform, interactive Web applications. I went through some sample code from Microsoft’s silverlight.net website and created a base page from which to demo/test the functionality of silverlight capabilities and use these as a base for learning as well as for future projects. Click here to see these awesome demos.

Unable to connect to remote server – error

If you get this message say from Visual Studio when trying to deploy SSRS reports to a SQL Server 2008 database instance, heres how this can be resolved. This is usually caused by kerberos security authentication. Navigate to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportServer Edit the file rsreportserver.config
Make the change below:
<!–<Add Key=”SecureConnectionLevel” Value=”2″/>–>
<
Add Key=SecureConnectionLevel Value=0/>

 Restart Reportserver. You should be able to deploy your reports now to SQL Server Reporting Services 2008.

Reportviewer control

Here is a code snippet l got working which enables you to render using Visual Basic .Net an SSRS (Sql Server Report Services) Report to Adobe Acrobat PDF format or Microsoft Excel XLS file.

Public Sub RenderReportTOExcel(ByVal inReportFileName As String, ByVal inReportName As String)   ‘7/14/2008 SM

        ‘converts SSRS report to microsoft excel/acrobat pdf file

        Dim objReportViewer As New FrmWithReportViewer
                ‘Dim strFormat As String = “PDF”
        Dim strFormat As String = “Excel”
        Dim strDeviceInfo As String = String.Empty
        Dim myURLAccessParams As System.Collections.Specialized.NameValueCollection = Nothing
        Dim reportStream As System.IO.Stream = Nothing
        Dim strMimeType As String = String.Empty
        Dim strFileNameExtension As String = String.Empty

        Dim file_name As String = “d:test001.xls”
       
        objReportViewer.Text = inReportName

        OFD.FileName = “exportfile.xls”
        OFD.ShowDialog()
        file_name = OFD.FileName

        Dim raw As System.IO.FileStream = New System.IO.FileStream(file_name, IO.FileMode.Create)
        Dim buffer(1024) As Byte
        Dim read As Integer = -1
        Dim intCount As Integer = 1

 

        With objReportViewer.ReportViewer
            .ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote
            .ServerReport.ReportServerUrl = New Uri(My.Settings.ReportServerURL)
            .ServerReport.ReportPath = My.Settings.ReportPath + inReportFileName
            reportStream = .ServerReport.Render(strFormat, strDeviceInfo, myURLAccessParams, strMimeType, strFileNameExtension)

            lblMessage.Text = “Working…”
            read = reportStream.Read(buffer, 0, buffer.Length)

            While (read > 0)
                raw.Write(buffer, 0, read)
                read = reportStream.Read(buffer, 0, buffer.Length)
                intCount += 1
            End While

            lblMessage.Text = “Completed.”

            raw.Flush()
            raw.Close()
            raw.Dispose()
        End With

        raw = Nothing
        reportStream = Nothing

    End Sub

Windows Tech Notes

Virtual PC 2007

Using Microsoft Virtual PC 2007, selecting other allows you to install Windows 2008 Server as l have successfully done on a Microsoft Vista Ultimate workstation and a Windows XP workstation. To add the essential Virtual Machine Additons under the action menu, make sure you are logged into the Virtual Operating System. After this, you can now go to the Edit menu/Settings and add say Shared Folders.

Installing SQL Server 2008

On server configuration, when you get this error message ” Must provide AGTSVCACCOUNT parameter” – heres what worked for me. Set sql server agent, sql server (MSSQL), sql server analysis, SSRS, SSIS with blank passwords, but NT_AUTHORITYNETWORK SERVICE as username. For SQL Server Browser – it defaults to NT AUTHORITYLOCAL SERVICE.

Windows Server 2008

Heres the error l get trying to log into my Windows 2008 server remotely.

” To log on to this remote computer, you must be granted the allow log on through terminal services right. By default, members of the remote desktop users group have this right. If you are not a member of the remote desktop users group or another group that has this right, or if the remote desktop user group does not have this right, you must be granted this right manually”

To get Remote Desktop to work, add the user as a menber of the Remote Desktop users group AND also, go to the local security policy, Local policies branch, right click on Allow log on through terminal services properties,  and add the Remote Desktop Users group.  You do not need to install Terminal Services Server to get this to work.

Website Platform Migration

Please note visitors, that this website will soon undergo a migration to web hosting featuring asp.net, sql server, silverlight and associated Microsoft .Net/ASP.Net technologies. This will allow me intergrate some cool emerging new features seen in most current websites including microsoft.com, myspace.com, facebook.com, dell.com and many more.

These all will now be featured on a duplicate mirror domain: http://www,mbah.us

Windows Vista

Finally got fed up with software compatibility issues and slow response with Vista premium that came pre-loaded on my Hp 6626us laptop compared to windows XP. Now the pain, uninstalling /downgrading to Windows XP. First – l tried copying the c:users folder to my western digital MyBook external usb drive as advised in PC Magazine issue for 5/2008. Kept getting Low memory error while doing this. Googled for help, and found out theres a Memory leak error known to Microsoft and l can only get the hotfix by registering for this on their website and waiting for a reply within about 8 business days. Finally decided to try xcopy from the command line. Vista kept suggesting l used the robocopy new command. I found this fails due to permissions for certain files. finally used xcopy with options for continue on error, copy all files and subdirectories. After about an hour, l had a 28Gb copy of my crucial filess. Next step, rebooting with my original XP CD. Problem – cant get into the recovery mode without the administrator password which the command lusrmgr.msc doesnt bring up. Now l find this out from the hp solutions section for their pavilion laptops:

“To logon as the Administrator, the Administrator account must be activated in Vista. By default, in Windows Vista, the Administator account is created but is not enabled.

  • In the Windows Vista Starter, Windows Vista Home Basic, and Windows Vista Home Premium editions, you cannot access or change the Administrator account.

  • In the Windows Vista Ultimate editions you can access and change the Administrator account.”

So, how can l run the following commands for preparing the laptop hard drive for XP: fixboot fixmbr cd ren windows winvista exit, from the Recovery console command prompt when l dont have access to the administrator account under Vista premium? Will let you all know how l resolve this.

Good link on installing XP on the HP pavilion 6626us

Link on resolving XP installation cannot find any hard drives due to lack of hardware support.

Update – Finally decided to upgrade my Windows Vista Premium to Vista Ultimate, which has most administrative functionality l’m used to from Windows XP. Plus l can run VPC2007 – Virtual PC 2007. Note – If you use 3DSMax 9 and have issues/errors running this under Windows Vista, simply go to the Autodesk website, support section and install SP1, then SP2. Now l;ve got to find the solution to the annoying clicking sound problem which seems to be related to a soundcard driver issue with Vista.

Changing the OEM Settings and logo in Vista:
Simply run regedit, and go to

ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionOEMInformation
You can create your own logo, as l did, simply create a 120×120 pixels BMP file and upload to c:windowssystem32oobe

If you try to install SQL Server 2005 SSRS – Reporting Services on Vista and it keeps failing saying IIS not found, follow this article – installing IIS7 on Vista. Apparently, when you install IIS 7 from the control panel, not all features are installed if a blue box shows, you need to see a check mark on the box next to IIS components for a full installation. Once this is done, the SQL Server 2005 install will allow you to install all components, especially sql server reporting services.