Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM Fasthosts -ODBC

date posted 1st August 2000 22:43

Problem seems to be that the script has not mapped the path to the
locationof the db?

Extract from TechNet....

Database Paths
Sometimes, when setting up paths to databases, you do need to use a mapped
drive or UNC path to point to your database. If you need to use one of these
path types and your database resides on the same machine as the Web server,
you will need to set the security settings not only for the folder that
contains the database, but also for the share that the mapped drive points
to. If you are using Anonymous Access on your Web server, IIS will use the
Internet Guest Account (usually IUSR_ServerName) to access those resources.
This account will need full control so that it can access the database and
also create the temporary files associated with an Access database. If the
Internet Guest Account does not have the proper access to the resource, an
error like the one below may occur.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine
cannot open the file '(unknown)'. It is already opened exclusively by
another user, or you need permission to view its data.
As a troubleshooting measure, you may want to add the following code to the
beginning of your ASP page:



When browsing the ASP page, you should see one of two things. If there is no
user listed, it means the Internet Guest Account is being used to access
your resources. However, if a user is listed, it means that NT Challenge
Response is being used to access the resource. If NT Challenge response is
being used, then you will need to give those users browsing the site access
to the resources.

If your database resides on a different machine than the Web server you will
run into problems with delegation. The article "Authentication and Security
for Internet Developers" describes in depth the security issues that are
caused by this configuration.

Essentially, the delegation issue is resolved by creating a duplicate
Internet Guest Account from the Web Server on the machine where the database
resides. This is needed because the IIS server will try accessing resources
on another machine using the Internet Guest Account. The Knowledge Base
article "HOWTO: Set Up Duplicate Anonymous Account on Separate Server" has
helpful information about setting up this configuration.

Hope this helps?

PS Are you using DNS or DNSless connection string?

Bryan

----- Original Message -----
From: Stephen C Parker [EMAIL REMOVED]
To: [EMAIL REMOVED] Net [EMAIL REMOVED]
Sent: Tuesday, August 01, 2000 11:16 AM
Subject: FN-FORUM Fasthosts -ODBC


> Freelancers,
> Some of you have written expressing their amiable experience with
> fasthosts as their web server. I have registered a domain name and have
been
> trying to getthe ODBC connectivity to work with my database.
>
> However, I get the following error:
>
> Connection to DSN A1Council Exchange
> Microsoft OLE DB Provider for ODBC Drivers error '80004005'
>
> [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database
engine
> cannot open the file '(unknown)'. It is already opened exclusively by
> another user, or you need permission to view its data.
>
> /scripts/asp/testconn.asp, line 16
>
> Who is it already opened by though? I haven't changed any permissions -
and
> the filename is pointing correctly to the database where it has been
> uploaded onto the server.
>
> I have a feeling that this has something to do with the permissions on the
> Access 2000 database. If this is the case, I cannot find in the Microsoft
> help material - or through plain exploration - where the fault may lie.
>
> The only other possibility I can gather - is that the web server does not
> host Access 2000 databases - only Access '97. But, I can't see that being
> the case as I have converted the database and it strill has the same
> problem.
>
> Any suggestions to get round this permissions problem would be greatly
> appreciated.
>
> Sincerely,
>
> Stephen C Parker
> [EMAIL REMOVED]
> http://www.orbinternet.com
> http://www.freelancers.net/scparker/index.html
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
> To subscribe to the digest for this list or for further information please
visit:
> http://www.freelancers.net/forum.html



Messages by Day
August 31st 2000
August 30th 2000
August 29th 2000
August 28th 2000
August 27th 2000
August 26th 2000
August 25th 2000
August 24th 2000
August 23rd 2000
August 22nd 2000
August 21st 2000
August 20th 2000
August 19th 2000
August 18th 2000
August 17th 2000
August 16th 2000
August 15th 2000
August 14th 2000
August 13th 2000
August 12th 2000
August 11th 2000
August 10th 2000
August 9th 2000
August 8th 2000
August 7th 2000
August 6th 2000
August 5th 2000
August 4th 2000
August 3rd 2000
August 2nd 2000
August 1st 2000


Messages by Month
December 2000
November 2000
October 2000
September 2000
August 2000
July 2000
June 2000
May 2000
April 2000
March 2000
February 2000


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000