.NET Framework Bookmark and Share   
 index > .NET StockTrader Sample Application > Error when install on windows 7
 

Error when install on windows 7

Hi,

I am trying to install StockTrader 2.01 on a standalone windows 7 system. I have successfully installed SQLExpress 2008, IIS and .NET 3.5 SP1 (.NET 2.0 SP2 and .NET 3.0 SP2 are also installed). On the screen where the DB connection details are entered, the 'test connection' returns a success, but the installthen fails to connect IIS and rolls back the installation. Error content "Error 1001 the install failed, and the rollback has been performed --> failure during IIS application creation. The exception encountered was: could not load file or assembly 'microsoft.web.administration, version 7.0.0.0, Culture = neutral....'" Have I missed something?

I can connect to thedatabase instanceOK using SQL Server Management Studio using both Windows authentication and SQL Server authentication.

Thanks

phung duc tho
I have successfully installed on retail build of Win7 RC, Enterprise Edition. Under Add Remove Windows Features, make sure under IIS you have selected IIS 7 management features. This assembly is part of .NET, the new .NET system admin features for IIS7, that were added beginning with Vista.

I have not tested other editions of Win7, however, if IIS is properly installed, this assembly should be there, at least it was in my Win 7 Enterprise RC build.

Once installed on Win 7, there a few quirks, a couple of which I will fix in an update shortly:

1) Layout issues in .NET Forms apps (namely, the self-host windows .net programs--the WPF Smart client is fine). I just need to make some adjustments here, apparently. Non fatal, however.

2) Self host programs will not properly register their service URIs even when running as a logged in user that is part of the Administrators Group. The easiest fix here is to find the .exe program in the \stocktrader\builds directory, right click, and in property sheet there is an option to "Run As Administrator". The other fix is to use a tool that allows an admin to grant URI registration permissions to specific users/programs...but I do not know this offhand, need to lookup. Under Vista and Win Srver 2008, as long as the user launching the program was in the Admin Group, this was not an issue.

Also make sure when you install you are logged in as user in Admin Group.

-Greg
Greg Leake, Microsoft
Gregory Leake

You can use google to search for other answers

Custom Search

More Threads

• Short Cut key Process in windows application
• Service Endpoints
• Impersonation in Configuration Service 2.02
• Object reference - accessing service from a Web Client
• The exception encountered was: Invalid object name 'dbo.AccountProfile'
• Detailed Performance Report Available?
• Any chance to support callback?
• Creating an Oracle configuration repository
• File System Watcher Issue in Window Services
• Performance Test with Capacity Tool, load balancing issues