Scott Hanselman

Mono 1.0 was just released

June 30, 2004 Comment on this post [2] Posted in ASP.NET | DasBlog | Bugs
Sponsored By

Congrats to all! Anyone out there running their dasBlog on Mono?

Mono is a comprehensive open source development platform based on the .NET framework that allows IT and ISV developers to build Linux and cross-platform applications with unprecedented productivity.

Mono's .NET implementation is based on the ECMA standards for C# and the Common Language InfrastructureMono includes a compiler for the C# language, an ECMA-compatible runtime engine (the Common Language Runtime, or CLR),and class libraries. The libraries include Microsoft .NET compatibility libraries (including ADO.NET and ASP.NET), Mono's own and third party class libraries. Mono's runtime can be embedded into applications for simplified packaging and shipping. In addition, the Mono project offers an IDE, debugger, and documentation browser.

If you have questions about the project, read the project launch statement or visit our list of Frequently Asked QuestionsFor details on the project's future direction, read the roadmap, and download Mono 1.0.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Visual Studio Express 2005 - C# Edition - will upgrade your ASP.NET to 2.0 without asking...Fix here...

June 30, 2004 Comment on this post [7] Posted in Web Services | ASP.NET
Sponsored By

Even though it is called the Visual C# 2005 Express Edition and they explicitly point you to the Visual Web Developer 2005 Express Edition for web site development, the Visual C# 2005 Express Edition (and no doubt others) will still upgrade your ALL YOUR ASP.NET VDIRS to version 2.0.40607.0 without asking.

You can go your %windir%\Microsoft.NET\Framework\v1.1.4322 directory and run:

ASPNET_REGIIS -r

to replace the ScriptMaps with ASP.NET 1.1, and you're back in business.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

CRASH WARNING: SnapStream Beyond TV doesn't work at ALL with .NET Framework 2.0 BETA, fix here.

June 30, 2004 Comment on this post [5] Posted in XML
Sponsored By

Today's warning to the PVR user, SnapStream's Beyond TV doesn't work at ALL with .NET Framework 2.0 BETA.  It's a 1.1 app, and .NET 2.0 is automatically being used when it loads and it crashes stupendously.  Since I have .NET 1.1 on my box, I'm surprised it automatically used the newer Framework.  I need to refresh myself on the rules.

To fix it, add files

  • WTLPVSApp.exe.config
  • PVSGuideUpdaterService.exe.config
  • PVSLogService.exe.config
  • SSBatchProcessorService.exe.config

and to each add these lines:

<?xml version="1.0"?>
<configuration>
  <startup>
    <supportedRuntime version="v1.1.4322" />
  </startup>
</configuration>

NOTE: This fix (with the appropriate my.exe.config) will likely fix other apps that may start acting strange after you install Visual Studio.NET Express or the Community Edition.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Visual Studio.NET Express Beta 1 requires the Windows SP2 Firewall be turned off to install. Oy.

June 29, 2004 Comment on this post [2] Posted in ASP.NET | Tools
Sponsored By

The readme for the new Visual Studio Express Beta

Windows XP SP2
Issue: On a computer running Windows XP Service Pack 2 (SP2), the Web download will fail, as the firewall is enabled by default.

Workaround: Disable the firewall and check to make sure the Proxy settings are enabled. This can be checked by opening Internet Explorer. On the Tools menu, click Internet Options, and then click the Connections tab. Click LAN Settings. The Automatically Detect Settings check box should be checked. If it is not, check it and click OK. Then run Setup again."

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

How to list all the files in an MSI Installer using VBSciript

June 29, 2004 Comment on this post [1] Posted in Programming
Sponsored By

Just a quickie today, someone wanted me to give them a list of all the files that were inside an Windows Installer (MSI) and I remembered that MSI's were databases (Access?) so:

Option Explicit
Const msiOpenDatabaseModeReadOnly = 0
Dim installer : Set installer = Nothing
Dim WshShell : Set WshShell = CreateObject("Wscript.Shell")
Dim szMSI : szMSI = WScript.Arguments.Item(0)
Dim folder : folder = WshShell.CurrentDirectory
Set installer = Wscript.CreateObject("WindowsInstaller.Installer")
Dim database : Set database = installer.OpenDatabase(szMSI, msiOpenDatabaseModeReadOnly)
Dim View, Record
Set View = database.OpenView("SELECT FileName FROM File") 'could include FileSize, etc
View.Execute
Do
 Set Record = View.Fetch
 If Record Is Nothing Then Exit Do
 Wscript.Echo Record.StringData(1)
Loop
Set View = Nothing
Wscript.Quit(0)

You call it like this: cscript WhateverFileName.vbs YourInstallerDatabase.msi

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.