Solved

ASP Classic

Posted on 2013-05-13
7
272 Views
Last Modified: 2013-06-04
I was given the ASP Classic code to append the PDF display of the Content. How do I change this 3 lines into 1 line after the actual PDF is delivered to the customer by Email and upon clicking the link within the Email the PDF should open in IE9 or IE10 and should display the company name in 1 line

Illustration: Right now its displaying like this:

The
Sigma-Aldrich
Group

But the client want to change it to the following:

The Sigma-Aldrich Group

Also the PDF has problem opening in IE 9 and IE 10, the user has to save it first and open it later in different window, it don't open right after clicking the link
Any Suggestions,
Thanks
0
Comment
Question by:skbhagat35
  • 4
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
apreed earned 500 total points
ID: 39161740
Not really sure about the 3 lines into 1 thing - can you post some code, rather than the result? It looks like you're outputting \n or \r for a newline, or possibly <br> if it's HTML.

As far as opening the PDF in the browser from an email, that's probably going to depend on the user's file associations and browser settings in Windows... I think you'd have to open it as http://<website>/document.pdf to get it opening in a browser. Again some code snippets would be useful to try and understand what you mean here.

Sounds like you're delivering both a PDF attachment and a link to the same PDF in your email, and I'm not entirely sure why you'd want to do that.
0
 

Author Comment

by:skbhagat35
ID: 39204787
ok coming back to this issue, the actual issue is pdf file is being pulled from the server and attached to the email link of the customer to show them the sample pdf bill will be looking like this etc. so my issue is the email goes thru and the link comes to the email but when i click the link i get an error HTTP 500 document could not be found. the path on the asp page looks ok to me so what other things should i check to see if the pdf file is being linked to the email, please suggest. if code is required i will provide it
0
 
LVL 4

Expert Comment

by:apreed
ID: 39219980
I take it the previous problems were resolved. Did anything I suggested help you at all?
Is this really a new problem - it certainly sounds like it?

HTTP 500 is a server error. If it was a straight http://<website>/document.pdf link, you'd get a 404 error if the document wasn't found. Are you rendering the PDF with an ASP page?

You're not really giving much to go on here. Code is essential.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:skbhagat35
ID: 39220006
it was connection problem and i solved it by giving a virtual path
0
 

Author Comment

by:skbhagat35
ID: 39220043
I've requested that this question be closed as follows:

Accepted answer: 0 points for skbhagat35's comment #a39220006

for the following reason:

the problem was resolved
0
 
LVL 4

Expert Comment

by:apreed
ID: 39220044
A virtual path as stated as the requested closing solution would not resolve the original question.
Due to the amount of time passed and the different nature of the OPs followup to my suggested answer, I suspect that the original question was resolved, and believe that my answer assisted in that resolution.
0
 

Author Comment

by:skbhagat35
ID: 39220102
well the pdf was created new with adobe but the main problem was the new pdf was not opening in the browser when it was linked with email, and that's what i m talking about if you look at the second comment i have mentioned my problem there. so finally i looked at the connection source code and found that the virtual path was not defined so i defined it and it started working. thank you all
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
transaction in asp.net, sql server 6 43
Visual Studios 1 76
Help with error in Query 2 31
Code enhancement 4 20
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question