Solved

ASP Classic

Posted on 2013-05-13
7
269 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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