Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file compression

Status
Not open for further replies.

cmsbuffet

Programmer
Feb 3, 2009
173
CA
I would like to save an ASP file .aspx and send it to my boss. He doesn't have the Visual Studio. How do I compress the file, so that it will small enough for me to send it the boss of mine?

 
This file includes database code. So it is fairly big. I also need to send all the database files related to the Default.aspx file that I am sending.
 
Does the boss have SQL Server? May be you can only send a script to create database (.sql file) and two ASPX and ASPX.vb (or ASPX.c) files?
 
I can put all the files in one folder. But when I click on Default.aspx to open, it opens in MSVS but not in the browser.
 
And when I try to open Default.aspx with FireFox, it gives out an error -

XML Parsing Error: not well-formed
Location: file:///D:/cmsbuffet/Default.aspx
Line Number 1, Column 2:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
-^
 
In order to be able to use these pages you need to have .NET installed on the target computer.

I've also personally never tried what you're trying to do.

I think you may have better luck asking your question in ASP.NET forum here and in forums.
 
Why don't you just Zip the files up?

You can't just open an ASP or ASPX file directly in a browser, they have to be interpreted through IIS and rendered into HTML.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top