View Complete Post
i am doing a page to sell files online
the paying method is by a card or bank account and the customer is not registered to the site so i want to make sure that the customer has downloaded the file successfully after that the system completes the payment operation
so if there is any way to know do that tell me please
i use c# thanx all
Here is the page directive for the page that throws the error:<%@ Page language="c#" Inherits="University.AspNet.Index" CodeFile="Index.aspx.cs" %>The code behind file Index.aspx.cs starts like this:
Please can some one help me out in knowing on how to use a c++ .lib file in an ASP.NET webpage.
One of the monumental problems organizations face today is aggregating information that's stored in disparate formats. Knowledge workers have long wanted to be able to search for content independent of format. The next version of the Windows operating system, code-named "Longhorn," boasts a new storage subsystem that makes that task easier. That subsystem, code-named "WinFS," allows the user to perform searches based on the metadata of the stored item, regardless of what type of file it is or which application created it. This article covers the basic architecture of WinFS and explains how to use the WinFS managed API.
MSDN Magazine January 2004
I am using a download handler to handle the downloading of files from my website. I am using a slightly modified code from the Microsoft article http://support.microsoft.com/kb/812406
Everything is working fine and downloading, even with large files, but it does not show the file size for any of the files to download. Even if theyre really small.
Here is my code for the handler
public class DownloadHandler : IHttpHandler
public void ProcessRequest(HttpContext context)
string path = "";
path = context.Server.UrlDecode(context.Request.QueryString["src"]).DecryptString();
System.IO.Stream iStream = null;
byte buffer = new Byte;
string filename = System.IO.Path.GetFileName(path);
iStream = new System.IO.FileStream(context.Server.MapPath("~/" + path), System.IO.FileMode.Open,
Hello everyone. I am having an issue downloading files that I have store in SQL Server. I have no problem in a WinForm. What am I doing wrong in my code?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim sch As New clsReport
Dim fileData As New clsReport.Letter
fileData = sch.DownloadLetter(Session("LetterID"))
Dim ms As System.IO.MemoryStream = fileData.fil
Dim fil As Byte() = ms.ToArray
Dim nam As String = fileData.name
Dim ext As String = fileData.ext
If Not fil Is Nothing Then
Response.AppendHeader("Content-Disposition", "attachment; filename=" + nam & "." & ext)
' Response.AddHeader("Content-Disposition", nam & "." & ext)
Response.ContentType = "Application/octet-stream"
Response.Buffer = True
Catch ex As Exception
I'm facing an issue with the indexing.
I have 1 WFE+Index server+DB server.
Index server is not installed with MS FIlter pack 1.0
When crawling, the there will be document with warning in crawl log:
The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled.
Documents that with warning are such as doc, ppt, xls, docs, ppts and many others.
However, I view into the successful crawled document, there are doucments with ext doc and ppt.
For large file index, there are MaxGrowthFactor + MaxDownLoadSize required to be added into the index server.
As my understanding is, MS Filter Pack should installed into index server(already did, correct me if i'm wrong).
I looked into the Office SharePoint Seach(CA>Services in farm), if the server is appointed to "Use this server as indexing server", then MS Filter Pack is suppose to be installed into that particular server as well.
At the bottom, there also has another option is "Use all web front end for crawling".
The question here is, IF the option "Use all web front end for crawling" is selected.
Does the WED FRONT END Server required to installed the Ms Filte
I had created one application and this is multi client application means code is same but setup is different for each client with diff. client Code in app config file, diff product code, upgrade code, setup name, display name.
So i am looking for a way to edit my MSI file dynamically and made changes into that for each client using code or any other way dynamically.
Do any one has idea how to do this Dynamically/Anyother.
Thanks in advance.