Solved

ASP Classic

Posted on 2013-05-13
7
265 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now