Solved

ASP Classic

Posted on 2013-05-13
7
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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