Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

ASP Classic

Posted on 2013-05-13
7
Medium Priority
?
283 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 2000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

580 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