Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



The protocol is not associated with any program

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-10-2009
Member
 
Join Date: Mar 2009
Posts: 175
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:
Quote:
"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?

Reply With Quote
  #2  
Old 10-10-2009
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: The protocol is not associated with any program

Instead use url as like:
Quote:
file:///c:/my.mdb
and see if it works. Also make sure that your mdb file really is on C:?
Reply With Quote
  #3  
Old 10-10-2009
Member
 
Join Date: Mar 2009
Posts: 175
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?
Reply With Quote
  #4  
Old 10-10-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
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:

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

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "The protocol is not associated with any program"
Thread Thread Starter Forum Replies Last Post
Stateless protocol v/s stateful protocol Vedic Networking & Security 4 07-02-2011 09:48 PM
How is TCP protocol a reliable protocol ? Udyami Networking & Security 4 24-11-2010 10:42 PM
Windows DEP program continuously closes the MSN mail program Charioteer Windows Software 4 19-10-2010 11:52 AM
The server is unavailable PPP control protocol for this network protocol Gyani23 Networking & Security 4 29-12-2009 03:39 PM
Point to Point protocol and WLAN protocol Functionality arjunam Technology & Internet 3 09-06-2009 09:41 AM


All times are GMT +5.5. The time now is 09:46 AM.