CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.getting_started Tags:
Item Type: NewsGroup Date Entered: 1/6/2004 11:28:35 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 21 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
JimmyDean
Asp.Net User
How do I code a link to display/download a PDF?1/6/2004 11:28:35 PM

0/0

I want to add a link to a PDF file in a Text/HTML module. I've tried this format:

Click here to view the information.

That doesn't work. Any ideas how to code something like this??

Thanks!

JimmyDean
cjsmitty
Asp.Net User
Re: How do I code a link to display/download a PDF?1/7/2004 11:00:41 AM

0/0

File location?
Is it a local document?
Intranet of internet?

Intranet: <A href="C:\your\document\location\Your.pdf">Doc<a>
Intranet <A href="http://your/document/location/Your.pdf">Doc<a>
~Chris

Net Data Design
706Horsman.us
wwwcoder
Asp.Net User
Re: How do I code a link to display/download a PDF?1/7/2004 2:11:57 PM

0/0

The one change I would place here is for a file based link not using http:

Local
Doc
Or Network:
Doc
WWWCoder.com
Redmond Gadgets
My Weblog
JimmyDean
Asp.Net User
Re: How do I code a link to display/download a PDF?1/9/2004 4:48:21 AM

0/0

Ok, try either one of these links (yes, the file does exist in both places) and let me know if you get a DNN error each time.

http://www.takenote.com/files/VFPSampleChapter.pdf

http://www.takenote.com/VFPSampleChapter.pdf

I get a "DotNetNuke Configuration Error" each time... so I re-ask the question, how do I code a HREF link like the above in a TEXT/HTML module??

Thanks,

Jimmy Dean
cjsmitty
Asp.Net User
Re: How do I code a link to display/download a PDF?1/9/2004 10:21:38 AM

0/0

Jimmy Dean;
Lower left corner of the page...

http://www.dnetdevelopers.com/DesktopDefault.aspx?tabid=29
~Chris

Net Data Design
706Horsman.us
JimmyDean
Asp.Net User
Re: How do I code a link to display/download a PDF?1/9/2004 3:34:27 PM

0/0

That is exactly what I want to do!

Did you code that in a Text/HTML module? When I code a link like the following in a Text/HTML module I get a Configuration Error:

Click <AHREF="http://www.takenote.com/VFPSampleChapter.pdf">here</A> to view PDF file.

Here's the complete text of the error screen:

**********************************************************
DotNetNuke Configuration Error
Domain Name "www.takenote.com/VFPSampleChapter.pdf" Does Not Exist In The Database

DotNetNuke supports multiple portals from a single database/codebase. It accomplishes this by converting the URL of the client browser Request to a valid PortalID in the Portals database table. The following steps describe the process:

1. Web Server Processing

When a web server receives a Request from a client browser, it compares the file name extension on the target URL resource to its Application Extension Mappings defined in IIS.
Based on the corresponding match, IIS then sends the Request to the defined Executable Path ( aspnet_asapi.dll in the case of ASP.NET Requests ).
The aspnet_isapi.dll engine processes the Request in an ordered series of events beginning with Application_BeginRequest.


2. Application_BeginRequest ( globals.asax.vb )

The Request URL is parsed based on the "/" character
A Domain Name is constructed using each of the relevant parsed URL segments.

Examples:

URL: http://www.domain.com/default.aspx = Domain Name: www.domain.com
URL: http://209.75.24.131/default.aspx = Domain Name: 209.75.24.131
URL: http://localhost/DotNetNuke/default.aspx = Domain Name: localhost/DotNetNuke
URL: http://www.domain.com/virtualdirectory/default.aspx = Domain Name: www.domain.com/virtualdirectory
URL: http://www.domain.com/directory/default.aspx = Domain Name: www.domain.com/directory


Using the Domain Name, the application queries the database ( Portals table - PortalAlias field ) to locate a matching record.

Note: If there are multiple URLs which correspond to the same portal then the PortalAlias field must contain each valid Domain Name in a comma seperated list.

Example:

URL: http://localhost/DotNetNuke/default.aspx
URL: http://MACHINENAME/DotNetNuke/default.aspx
URL: http://209.32.134.65/DotNetNuke/default.aspx
PortalAlias: localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke

Note: If you are installing the application to a remote server you must modify the PortalAlias field value for the default record in the Portals table according to the rules defined above.
**********************************************************


I just double-checked and I *know* that file is on the webserver. I shows up in the Admin File Manager as well. I've clicked on the Synchronize Database and File System just to be sure all was in order and still get the above error when trying to access a PDF. I have the same problem when coding access zip files as well. To make things stranger, if I code a link to an EXE file, it downloads just fine.

I obviously must be missing something here or have a configuration setting out of whack somewhere.

Thanks for your help...

JimmyDean
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
GIS for Everyone: Exploring Your Neighborhood and Your World with a Geographic Information System Authors: David Edward Davis, Pages: 152, Published: 2003
PHP and MySQL Web Development Authors: Luke Welling, Laura Thomson, Pages: 871, Published: 2003
Mapping Hacks: Tips & Tools for Electronic Cartography Authors: Schuyler Erle, Rich Gibson, Jo Walsh, Pages: 525, Published: 2005
HTML: A Beginner's Guide Authors: Wendy Willard, Pages: 535, Published: 2007
How the Internet Works Authors: Preston Gralla, Sarah Ishida, Mina Reimer, Stephen Adams, Pages: 323, Published: 1998
PHP and MySQL Everyday Apps for Dummies: everyday apps for dummies Authors: Janet Valade, Pages: 436, Published: 2005
Wordpress 2: Visual QuickStart Guide Authors: Maria Langer, Miraz Jordan, Pages: 294, Published: 2006
Creating Web Sites: The Missing Manual Authors: Matthew MacDonald, Pages: 548, Published: 2005
Beginning Apache Struts: From Novice to Professional Authors: Arnold Doray, Pages: 508, Published: 2006
PDF Hacks: 100 Industrial-Strength Tips and Tools Authors: Sid Steward, Simon St. Laurent, Pages: 278, Published: 2004

Web:
How do I code a link to display/download a PDF? - ASP.NET Forums Re: How do I code a link to display/download a PDF? ... Re: How do I code a link to display/download a PDF? ...
Publish a PDF file on your website - The solution Sep 30, 2008 ... For beginners in HTML, a PDF file can be uploaded on your website by adding the internal link Download PDF in the ...
Johnny Chung Lee - Projects - Wii The calibration and mouse cursor emulation software is available for you to download and try yourself. Note: My mouse emulation code isn't perfect. ...
Configure Internet Explorer to display PDF files (Acrobat 6.0-7.0 ... Control-click the link to a PDF file, and choose Download Link To Disk from the context menu ... Script section containing code for Liveperson Chat Solution ...
HTML Code Cleaner Manual Display general settings window, including Web Page formats and Check Broken .... Please click the following link to order HTML Code Cleaner safely: ...
COCA-COLA EVS REVISION 2.2 PROGRAMMING METHOD codes will show on the display. If configuration switch 4 is set to "C4 1", ... With an error code showing on the display, press select button 4 to access ...
Code Markup: a WordPress plugin » Semicolon ... text . Display: Link text ... You can download code-markup.php or view the source code. ...
Download Adobe Reader 9.0 - FileHippo.com Allows you to save a range of files attached to PDF documents, ... Copy the following code to your site to link to this page:. Download Download ...
[#MDL-9198] Frameset used to display PDF - Moodle Tracker Apr 5, 2007 ... Add a resource "link to a file or web site" and link a pdf. Visit the page with the resource. Look at the xhtml code. ...
Download and publish your Flash banner. Step 3: Get your banner code. Get your banner HTML code. This is a demo of the download page. ... To display your Flash banner on the web and and "link" it to the advertised web page, ...

Videos:
A display of SSBB skills Well, I was in the middle of editing .hack//SIGN Abridged and the power went out... yeah. Anyway, I'm procrastinating a bit to show off my skills for...
SSBB Masterpiece: Ocarina of Time Cheat Codes Note: Various Load Times and Trips were shortened to avoid the problem of YouTube's time limit. This video here is to display various codes for Supe...
Action Processing in a JSR168 Portlet: WindowStates Tutorial You can find the original, high resolution video tutorial at: http://www.scja.com/jsr168/index.jsp You can also find links to purchase my JSR168 Po...
Limewire Pro 4.17 and above latest download: rocksnyder12 just clik the download link thAT I SHOW DOWN THIS PAGE...GO AND ENJOY IT!!! link for 4.18.8: http://rapidshare.com/files/157321533/LimeWire_Pro_4.18...
الجهاد PLEASE READ VERY CAREFULLY THESE TERMS AND CONDITIONS AND THE PROGRAM FREQUENTLY ASKED QUESTIONS LOCATED ON THE PROGRAM WEBSITE AT https://upload.vi...
HTML Lockdown protect your websites $2.90 http://www.2dollar90.info/htmllockdown only $2.90 did you know that online content theft is at an all-time high right now? they could be stealing yo...
Macys Coupon Code http://www.EscapeTheCycle.com Macys Coupon Code Get Macys Coupon Code savings and cash back, click the link above. Macy's is a chain of mid-range ...
Fogos 2008 ! PLEASE READ VERY CAREFULLY THESE TERMS AND CONDITIONS AND THE PROGRAM FREQUENTLY ASKED QUESTIONS LOCATED ON THE PROGRAM WEBSITE AT https://upload.v...
Call of Duty 4: Modern Warfare /Destroying a Chopper Call of Duty 4: Modern Warfare PC Games Gameplay - Destroying a Chopper (HD, 360) ▼►About this video You must have the latest version of Macromedia ...
الله اكبر PLEASE READ VERY CAREFULLY THESE TERMS AND CONDITIONS AND THE PROGRAM FREQUENTLY ASKED QUESTIONS LOCATED ON THE PROGRAM WEBSITE AT https://upload.vi...




Search This Site:










install problem

skin question

dotnetnuke

hidden page property

fixed width for mainmenu_menuitemsel & mainmenu_menuitem only in horizontal bar - dnn 3.0.12, solpart-menu

discussion module & roles

dnn3 installation problem

dnn4.0 and framework version

will dnn3 ever support ms access!?

upload dnn to isp

file manager out of sync

more newbie help

header problem

installation problem

how to make the look and feel just like dnn main web site, no skins...

upgrade error 2.12 to 3

dotnetnuke.dll recompiling

upload directory - lack of folders

need more fields in the user accounts table

can't see designer view in vs2003

dnn online manual

privacy statement page modification

vs.net 2003 can't load project

removing read only from log files

dotnetnuke users - how do i add javascript?

ok to delete the 'admin' and 'host' accounts?

just get this error during install

register.ascx.vb : i modified and uploaded it but changes not being reflected

alias just loads portalid 1

could not find stored procedure 'dbo.gethostsettings'.

  Privacy | Contact Us
All Times Are GMT