I am new to AWS. I have done a great deal of background reading/research which always helps when you are trying to resolve a problem.
That being said, I have a problem which I do not understand.
We have an ASP legacy system which will remain in ASP indefinitely.
We have stored pdfs with images – S3 in the AWS cloud.
The images and pdfs are “public”.
Part of the URL is dynamically constructed each time based on the “user” that logins (tagged onto the AWS info) We have a newer system – codeigniter/php – which will display the pdfs and image just fine with the dynamically created URL.
But will not do so in our ASP legacy system.
I understand that by the simple use of a URL, I should be able to access the pdf etc., and particularly since the pdfs and images are “public”.
I develop using localhost, (PHP-Wampserver) but can also develop ASP.
SO my question is two fold.
Do we need to install a something on our ASP server to enable us to view the images as well??
And what SDK must I install on my localhost (I am thinking the JavaScript and PHP)
I thought maybe it might be a security/permission issue with the ASP server accessing the cloud but that doesn’t make sense because on the ASP side, it will display the pdf but not the image.
This is becoming urgent and any help/advice/pointers would really be appreciated. Thank you.
Based on just that statement, I would say the following:
First of all, there is a lot of info here that is confusing. Is AWS new? Did you use AWS previously with classic asp? If not make sure asp is available. Can you run this code on your AWS site?
Open in new window
If you can, then you can run classic asp.Next step is to make a very simple page in static html that will load the pdf.
Open in new window
Get that to work with whatever pdf you are trying to display/open. Once that works, try it out in asp that you control (not from the database)
Open in new window
Once you have that working, back in with your full code that uses your database. If it is working up to this point and not with the database, make sure to view the source, copy the html and paste it to a static html page and compare to the examples above. What is different? If the code is working and the file is not loading, is the file in the right path or the rendered path correct?However, you then said, "I thought maybe it might be a security/permission issue with the ASP server accessing the cloud but that doesn’t make sense because on the ASP side, it will display the pdf but not the image."
What image? Images in the pdf file? Image separate from the pdf? Displaying the pdf and images is not a server side issue (asp) it is a client side issue (browser / html / css / javascript)
As far as the other issues you in your question, save those for another question thread and let's just work on this one thing here.