Ask a Question related to ASP Database, Design and Development.
-
Jim Bowman #1
SQL queries when Access is open
My Authorware training piece sends and retrieves data
through asp pages that are connected to an Access
database. Three asp pages use SQL SELECT, INSERT and
UPDATE statements. The data in each user record is
small: about 25 two-digit numbers.
The SQL queries fail when the Access database is open.
The error message: "Microsoft JET Database Engine
(0x80004005) Could not use; file already in use."
It would be nice if a system administrator could view
user records in the database while other people are using
the AW training piece including sending SQL queries. Is
Access unable to receive SQL queries while the database
file is open? Is there a workaround?
Thanks.
Jim Bowman Guest
-
Queries slower with SQL Server than Access
Hoping for better security and performance, I'm moving data from an Access database to SQL Server. However, our more query-intensive reports in CF... -
Simultaneous SQL queries to Access
In evaluating asp and an Access database as a way to store user data from an Authorware training piece, I ran across this article: "For... -
Creating queries in Access (for ASP)
Hi, So far I have been writing ASP and embedding my SQL in the ASP pages. But, I've heard advantages of creating queries inside the database... -
Translate Access queries to ASP
Hi, I'm still confused about my queries, I want to do something is ASP that is easily done in Access. I'll post the Access queries below as a... -
using Access queries using ADOX
Hello, I have the following code in an asp 3.0 page: Dim dbConn As adodb.Connection Dim cat As ADOX.Catalog Dim view As ADOX.view Set dbConn... -
Bob Barrows [MVP] #2
Re: SQL queries when Access is open
Jim Bowman wrote:
It's a NTFS permissions issue. See:> My Authorware training piece sends and retrieves data
> through asp pages that are connected to an Access
> database. Three asp pages use SQL SELECT, INSERT and
> UPDATE statements. The data in each user record is
> small: about 25 two-digit numbers.
>
> The SQL queries fail when the Access database is open.
> The error message: "Microsoft JET Database Engine
> (0x80004005) Could not use; file already in use."
>
> It would be nice if a system administrator could view
> user records in the database while other people are using
> the AW training piece including sending SQL queries. Is
> Access unable to receive SQL queries while the database
> file is open? Is there a workaround?
>
> Thanks.
[url]http://www.aspfaq.com/show.asp?id=2009[/url]
[url]http://www.aspfaq.com/show.asp?id=2062[/url]
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows [MVP] Guest
-
Bob Lehmann #3
Re: SQL queries when Access is open
It can't be open while your asp pages are using it. You will need to create
a web interface for the Administrator to view the records.
Bob Lehmann
"Jim Bowman" <anonymous@discussions.microsoft.com> wrote in message
news:2c4a01c4286c$b690f9f0$a301280a@phx.gbl...> My Authorware training piece sends and retrieves data
> through asp pages that are connected to an Access
> database. Three asp pages use SQL SELECT, INSERT and
> UPDATE statements. The data in each user record is
> small: about 25 two-digit numbers.
>
> The SQL queries fail when the Access database is open.
> The error message: "Microsoft JET Database Engine
> (0x80004005) Could not use; file already in use."
>
> It would be nice if a system administrator could view
> user records in the database while other people are using
> the AW training piece including sending SQL queries. Is
> Access unable to receive SQL queries while the database
> file is open? Is there a workaround?
>
> Thanks.
Bob Lehmann Guest
-
Bob Barrows [MVP] #4
Re: SQL queries when Access is open
Yes it can. As long as permissions are set correctly, it is possible. I'm
speaking from experience. I have tested asp pages that work with a database
while having that database open in Access.
Bob Barrows
Bob Lehmann wrote:--> It can't be open while your asp pages are using it. You will need to
> create a web interface for the Administrator to view the records.
>
> Bob Lehmann
>
> "Jim Bowman" <anonymous@discussions.microsoft.com> wrote in message
> news:2c4a01c4286c$b690f9f0$a301280a@phx.gbl...>> My Authorware training piece sends and retrieves data
>> through asp pages that are connected to an Access
>> database. Three asp pages use SQL SELECT, INSERT and
>> UPDATE statements. The data in each user record is
>> small: about 25 two-digit numbers.
>>
>> The SQL queries fail when the Access database is open.
>> The error message: "Microsoft JET Database Engine
>> (0x80004005) Could not use; file already in use."
>>
>> It would be nice if a system administrator could view
>> user records in the database while other people are using
>> the AW training piece including sending SQL queries. Is
>> Access unable to receive SQL queries while the database
>> file is open? Is there a workaround?
>>
>> Thanks.
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows [MVP] Guest
-
Bob Lehmann #5
Re: SQL queries when Access is open
Interesting. I've not been able to do that.
Are the permissions set differently than they normally would be for web use?
Bob Lehmann
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:#W$xLBIKEHA.3728@TK2MSFTNGP12.phx.gbl...database> Yes it can. As long as permissions are set correctly, it is possible. I'm
> speaking from experience. I have tested asp pages that work with a> while having that database open in Access.
>
> Bob Barrows
>
> Bob Lehmann wrote:>> > It can't be open while your asp pages are using it. You will need to
> > create a web interface for the Administrator to view the records.
> >
> > Bob Lehmann
> >
> > "Jim Bowman" <anonymous@discussions.microsoft.com> wrote in message
> > news:2c4a01c4286c$b690f9f0$a301280a@phx.gbl...> >> My Authorware training piece sends and retrieves data
> >> through asp pages that are connected to an Access
> >> database. Three asp pages use SQL SELECT, INSERT and
> >> UPDATE statements. The data in each user record is
> >> small: about 25 two-digit numbers.
> >>
> >> The SQL queries fail when the Access database is open.
> >> The error message: "Microsoft JET Database Engine
> >> (0x80004005) Could not use; file already in use."
> >>
> >> It would be nice if a system administrator could view
> >> user records in the database while other people are using
> >> the AW training piece including sending SQL queries. Is
> >> Access unable to receive SQL queries while the database
> >> file is open? Is there a workaround?
> >>
> >> Thanks.
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>
Bob Lehmann Guest
-
Bob Barrows [MVP] #6
Re: SQL queries when Access is open
Nope - everyone who opens the database has Change permissions for the folder
containing the database. As long as that's the case, I never have problems.
Bob Barrows
Bob Lehmann wrote:--> Interesting. I've not been able to do that.
>
> Are the permissions set differently than they normally would be for
> web use?
>
> Bob Lehmann
>
> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
> news:#W$xLBIKEHA.3728@TK2MSFTNGP12.phx.gbl...>> Yes it can. As long as permissions are set correctly, it is
>> possible. I'm speaking from experience. I have tested asp pages that
>> work with a database while having that database open in Access.
>>
>> Bob Barrows
>>
>> Bob Lehmann wrote:>>>>> It can't be open while your asp pages are using it. You will need to
>>> create a web interface for the Administrator to view the records.
>>>
>>> Bob Lehmann
>>>
>>> "Jim Bowman" <anonymous@discussions.microsoft.com> wrote in message
>>> news:2c4a01c4286c$b690f9f0$a301280a@phx.gbl...
>>>> My Authorware training piece sends and retrieves data
>>>> through asp pages that are connected to an Access
>>>> database. Three asp pages use SQL SELECT, INSERT and
>>>> UPDATE statements. The data in each user record is
>>>> small: about 25 two-digit numbers.
>>>>
>>>> The SQL queries fail when the Access database is open.
>>>> The error message: "Microsoft JET Database Engine
>>>> (0x80004005) Could not use; file already in use."
>>>>
>>>> It would be nice if a system administrator could view
>>>> user records in the database while other people are using
>>>> the AW training piece including sending SQL queries. Is
>>>> Access unable to receive SQL queries while the database
>>>> file is open? Is there a workaround?
>>>>
>>>> Thanks.
>> --
>> Microsoft MVP -- ASP/ASP.NET
>> Please reply to the newsgroup. The email account listed in my From
>> header is my spam trap, so I don't check it very often. You will get
>> a quicker response by posting to the newsgroup.
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows [MVP] Guest
-
Ray at #7
Re: SQL queries when Access is open
If it's a new database that you just manually created in Access, you must
close it one time prior to being able to access it via ASP or any other
means, whether your in "design view" or not. Aside from that, it shouldn't
be an issue!
Ray at work
"Bob Lehmann" <none> wrote in message
news:ubwH5cIKEHA.3304@TK2MSFTNGP10.phx.gbl...use?> Interesting. I've not been able to do that.
>
> Are the permissions set differently than they normally would be for web>
> Bob Lehmann
Ray at Guest
-
Re: SQL queries when Access is open
I gave Change permissions to one more user in the folder
containing the database. It works! I can now send SQL
queries while the db is open.
Thanks for the advice.
Jim
permissions for the folder>-----Original Message-----
>Nope - everyone who opens the database has Changenever have problems.>containing the database. As long as that's the case, Iwould be for>
>Bob Barrows
>Bob Lehmann wrote:>> Interesting. I've not been able to do that.
>>
>> Are the permissions set differently than they normallyin message>> web use?
>>
>> Bob Lehmann
>>
>> "Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wroteit is>> news:#W$xLBIKEHA.3728@TK2MSFTNGP12.phx.gbl...>>> Yes it can. As long as permissions are set correctly,asp pages that>>> possible. I'm speaking from experience. I have testedin Access.>>> work with a database while having that database openYou will need to>>>
>>> Bob Barrows
>>>
>>> Bob Lehmann wrote:
>>>> It can't be open while your asp pages are using it.the records.>>>> create a web interface for the Administrator to viewwrote in message>>>>
>>>> Bob Lehmann
>>>>
>>>> "Jim Bowman" <anonymous@discussions.microsoft.com>data>>>> news:2c4a01c4286c$b690f9f0$a301280a@phx.gbl...
>>>>> My Authorware training piece sends and retrievesand>>>>> through asp pages that are connected to an Access
>>>>> database. Three asp pages use SQL SELECT, INSERTopen.>>>>> UPDATE statements. The data in each user record is
>>>>> small: about 25 two-digit numbers.
>>>>>
>>>>> The SQL queries fail when the Access database isview>>>>> The error message: "Microsoft JET Database Engine
>>>>> (0x80004005) Could not use; file already in use."
>>>>>
>>>>> It would be nice if a system administrator couldusing>>>>> user records in the database while other people arequeries. Is>>>>> the AW training piece including sending SQLdatabase>>>>> Access unable to receive SQL queries while thelisted in my From>>>>> file is open? Is there a workaround?
>>>>>
>>>>> Thanks.
>>>
>>> --
>>> Microsoft MVP -- ASP/ASP.NET
>>> Please reply to the newsgroup. The email accountoften. You will get>>> header is my spam trap, so I don't check it veryin my From>>>> a quicker response by posting to the newsgroup.
>--
>Microsoft MVP -- ASP/ASP.NET
>Please reply to the newsgroup. The email account listedYou will get a>header is my spam trap, so I don't check it very often.>quicker response by posting to the newsgroup.
>
>
>.
>Guest



Reply With Quote

