March 2008 Entries

The rise of configuration and the fall of intellisense

I've been trying work with load testing in VSTS for Testers against what I thought would be a nice simple application, the .NET Pet Shop 4.0 application. In trying to run the application I hit a Server Error in '/Web' Application - Configuration Error. It pointed to the ShoppingCartProvider section of the web.config. Stare as I would, nothing looked wrong. Debugging the code seemed even stranger as no true line of code produced the error. I started peeling back code, even adding my own profile provider ......

.NET Pet Shop 4.0 and Vista

My last post got me past the installer problem. But I ran into a few more. Here they are: 1) The install instructions say to just double click InstallDatabases.cmd to run it. However, that didn't work correctly. Open a cmd prompt, cd to that directory and run the cmd file from there. 2) Edit the web.config file. Some settings are self explanatory, but make sure of the following: <!-- SQL connection string for Profile database --><add name="SQLProfileConnString" connectionString="Server=(l... ......

Run an .msi installer file as Administrator

I was trying to install the .Net Pet Shop 4.0 on Windows Vista and kept getting the error: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. There is no right click option, Run as administrator for .msi files. You can, however, run the CMD prompt as Admin, then the following: msiexec /a "Microsoft .NET Pet Shop 4.0.msi" Another useful command to crack open a .msi installer file: msiexec /a "Microsoft .NET Pet Shop 4.0.msi" /qb TARGETDIR=c:\temp ......