Results 1 to 4 of 4

Thread: The protocol is not associated with any program

  1. #1
    Join Date
    Mar 2009
    Posts
    176

    The protocol is not associated with any program

    I am trying to make a link to an Access database which is located on my local drive C. To do this, I put the following code in my page:
    HTML Code:
    <a href="C:\\my.mdb">file</a>
    then I get the following message:
    "the browser can not open this address because the protocol (C) is not associated with any program"
    but when I put the database in the same file as the project's, it works. Where does the problem lies while linking to the Access database?

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: The protocol is not associated with any program

    Instead use url as like:
    file:///c:/my.mdb
    and see if it works. Also make sure that your mdb file really is on C:?

  3. #3
    Join Date
    Mar 2009
    Posts
    176

    Re: The protocol is not associated with any program

    Yes it is on my C drive. And I also tried the url of my file as file:/// ... and pasted into the address bar of my web browser, but it only displays a small window which asks me if I want to save the file my.mdb! But I don't want to do this. Instead I want to link my local drive C to an Access database. Is this possible?

  4. #4
    Join Date
    Oct 2005
    Posts
    2,393

    Re: The protocol is not associated with any program

    Yeah, because if you want to access your webpage you must use http://. Its quite normal that no browser will default to authorize you to access links file://, its a huge security hole otherwise.

    If you look at the error console of web browser, you should have an error:

    Security Error: Content at http://127.0.0.1/view-it/test.html may not load or link to file:///C:/Temp/Upload.txt.

Similar Threads

  1. Stateless protocol v/s stateful protocol
    By Vedic in forum Networking & Security
    Replies: 4
    Last Post: 07-02-2011, 10:48 PM
  2. How is TCP protocol a reliable protocol ?
    By Udyami in forum Networking & Security
    Replies: 4
    Last Post: 24-11-2010, 11:42 PM
  3. Windows DEP program continuously closes the MSN mail program
    By Charioteer in forum Windows Software
    Replies: 4
    Last Post: 19-10-2010, 11:52 AM
  4. Replies: 4
    Last Post: 29-12-2009, 04:39 PM
  5. Point to Point protocol and WLAN protocol Functionality
    By arjunam in forum Technology & Internet
    Replies: 3
    Last Post: 09-06-2009, 09:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,869,398.91677 seconds with 17 queries