Posts Tagged ‘ASP.NET’
Article Series and Planned Topics
by Allan Sieker
When it comes time to write an interesting article about a technical topic my mind goes into a deadlock in trying to find the balance between space/time constraints and keeping the content interesting. Too short of an article and it seems trivial because the technical stuff doesn’t get covered enough. Too technical, and the article becomes long and boring. All the while, wanting to keep things original, informative, and light. So did I end up with? How about a series of related articles that covers something that is near and dear to all of us?
I bought my first computer in 1978 (yes, I still have it) and as my home network expanded to what it is now – several servers, workstations, and laptops, the need for keeping a file inventory goes with the territory. Sure, over the years I created my own file databases written in several languages (BASIC, Pascal, dBASE, Clipper, VB, C#) and they all served their purpose, but technology keeps improving and I always want more.
What if data warehousing concepts were applied to capture the “slowly changing dimension” of file updates? What if file collections were recognized and managed as applications and other entities? What if all of the computer file inventories were gathered locally then stored centrally for searches via a web interface? What if backup history were also available?
This article series will cover a broad range of technical topics with the end goal being a respectable system for home or business usage. Concepts will be discussed and code will be available for download. References to other articles and postings will also be made.
Here is a brief list of planned topics:
- Using recursive methods to collect file information from all of the folders on a drive.
- Creating console and Windows “file agent” applications to collect file data and write to an XML file.
- Creating a SQL Server file inventory database.
- Balancing cost and architecture to avoid over-costing and over-engineering.
- Importing “file agent” XML into the database.
- Creating an ASP.NET web application for searching and retrieving application & file information.
- Making “file agent” applications downloadable from the web site using ClickOnce.
- Using the Visual Studio Report Designer and the ReportViewer control to create web reports.
- Creating a “wrapper” application for Microsoft’s Backup to manage and track backups.
- Detecting media and image file duplicates based on file content instead of file name.
Feedback is always welcome.
Could not load file or assembly ‘apache fop.net’ or one of its dependencies
By George Zheng
When we deploy one of our web sites to a 64 bit web server, we get following error: “Could not load file or assembly ‘apachefop.net’ or one of its dependencies. An attempt was made to load a program with an incorrect format.”
This web site is using fop.net to generate the PDF for printing. After investigation, we realize the fop.net can’t run on IIS with 64-bit version of ASP.NET.
IIS 6.0 on a 64-bit hardware supports both the 32-bit version of ASP.NET and the 64-bit version of ASP.NET. However IIS 6.0 does not support running both modes at the same time on a 64-bit version of Windows. Here are the steps to run the 32-bit version of ASP.NET 2.0 on IIS:
- Click Start, click Run, type cmd, and then click OK.
- Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 - Type the following command to install the version of ASP.NET 2.0 (32-bit) and to install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i - Make sure that the status of ASP.NET version 2.0.50727 (32-bit) is set to Allowed in the Web service extension list in Internet Information Services Manager.
Useful Links
