Ask a Question related to ASP Database, Design and Development.
-
Trapulo #1
access to access db stop
I've a server (W2K Server SP4) where my sites can access to Access db.
Sometimes, starts this error:
Microsoft JET Database Engine error '80004005'
Unspecified error
/news.asp, line 65
If I restart the server all goes ok.
What can be?
thanks
Trapulo Guest
-
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Access 2002 PDFWriter VBA Code w/WinXP does not work like Access 2000
I am trying to print an Access 2002 report (Windows XP OS) as a PDF. I had success with Access 2000 in a Windows 2000 environment, but as soon as I... -
Access Violation when using Visual Interdev to access Oracle
I am running Windows 200 Pro, IIS 5.0 and trying to connect to an Oracle 8.1 database. Prior to applying a security patch to W2k, the ASP... -
ASP pages that use Access stop working.
http://www.aspfaq.com/5003 Ray at work "Tony" <scorn@dsl-mud.org> wrote in message news:10f201c38c4a$3272f8d0$a001280a@phx.gbl... -
Access denied when creating Access application object
In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the... -
Ray at #2
Re: access to access db stop
What's your code?
What does your query look like?
What does your connection string look like?
Ray at work
"Trapulo" <nonscrivermi@qui.it> wrote in message
news:ud4ww%23jmDHA.2772@TK2MSFTNGP10.phx.gbl...> I've a server (W2K Server SP4) where my sites can access to Access db.
> Sometimes, starts this error:
>
> Microsoft JET Database Engine error '80004005'
>
> Unspecified error
>
> /news.asp, line 65
>
>
>
> If I restart the server all goes ok.
>
>
>
> What can be?
>
>
>
> thanks
>
>
>
>
Ray at Guest
-
Trapulo #3
Re: access to access db stop
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:Og$c6KkmDHA.2616@TK2MSFTNGP11.phx.gbl...sql="select * from news where lingua like 1 order by id desc> What's your code?
> What does your query look like?
Set conn = Server.CreateObject("ADODB.Connection")> What does your connection string look like?
>
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath("Database/dati.mdb")
Set RS=conn.Execute(sql)
Error on conn.open
thanks
Trapulo Guest
-
Bob Barrows #4
Re: access to access db stop
Trapulo wrote:
If you Repair/Compact the database, permissions for the new database> I've a server (W2K Server SP4) where my sites can access to Access db.
> Sometimes, starts this error:
>
> Microsoft JET Database Engine error '80004005'
>
> Unspecified error
>
> /news.asp, line 65
>
>
>
> If I restart the server all goes ok.
>
resulting from the repair/compact process may not be assigned. Remember,
IUSR needs Change permissions for the database file
HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Bob Barrows Guest
-
Ray at #5
Re: access to access db stop
You could try doing "select * from [news] where [lingua]=1 order by [id]
desc"
Also, with your database in that location, anyone in the world can download
it. Read here.
[url]http://www.aspfaq.com/2454[/url]
Also, you may want to read this and consider it after you get things worked
out.
[url]http://www.aspfaq.com/2096[/url]
Ray at work
"Trapulo" <nonscrivermi@qui.it> wrote in message
news:eYC%23HNkmDHA.3732@tk2msftngp13.phx.gbl...>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> news:Og$c6KkmDHA.2616@TK2MSFTNGP11.phx.gbl...>> > What's your code?
> > What does your query look like?
> sql="select * from news where lingua like 1 order by id desc
>>> > What does your connection string look like?
> >
> Set conn = Server.CreateObject("ADODB.Connection")
> conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
> Server.MapPath("Database/dati.mdb")
> Set RS=conn.Execute(sql)
>
> Error on conn.open
>
> thanks
>
>
Ray at Guest
-
Tom Kaminski [MVP] #6
Re: access to access db stop
"Trapulo" <nonscrivermi@qui.it> wrote in message
news:ud4ww%23jmDHA.2772@TK2MSFTNGP10.phx.gbl...[url]http://www.aspfaq.com/show.asp?id=2009[/url]> I've a server (W2K Server SP4) where my sites can access to Access db.
> Sometimes, starts this error:
>
> Microsoft JET Database Engine error '80004005'
> Unspecified error
> /news.asp, line 65
>
> If I restart the server all goes ok.
> What can be?
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
Trapulo #7
Re: access to access db stop
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eNMvGSkmDHA.988@TK2MSFTNGP10.phx.gbl...I'll try, but the problem is not with sql statement. I have the error> You could try doing "select * from [news] where [lingua]=1 order by [id]
> desc"
>
opening the connection! And not always.. only after some days the server is
running...
download> Also, with your database in that location, anyone in the world canno, I have locked reading attribute in IIS> it. Read here.
> [url]http://www.aspfaq.com/2454[/url]
worked>
> Also, you may want to read this and consider it after you get thingsSorry, I think this is not realted to my problem...> out.
> [url]http://www.aspfaq.com/2096[/url]
>
thanks
Trapulo Guest
-
Trapulo #8
Re: access to access db stop
"Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
news:eN4R%23SkmDHA.3688@TK2MSFTNGP11.phx.gbl...Interesting point. However I have not opened the db from access, neither> Trapulo wrote:>> >
> > If I restart the server all goes ok.
> >
> If you Repair/Compact the database, permissions for the new database
> resulting from the repair/compact process may not be assigned. Remember,
> IUSR needs Change permissions for the database file
>
made a repar/compat, so I think this is not the problem (however you
remainded me to try with a reapair...).
The IUSR has change on all directory....
thanks
Trapulo Guest
-
Trapulo #9
Re: access to access db stop
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bnbjbk$2e646@kcweb01.netnews.att.com...Thank you, but I didn't find any solution, because my problem is not "fix".> "Trapulo" <nonscrivermi@qui.it> wrote in message
> news:ud4ww%23jmDHA.2772@TK2MSFTNGP10.phx.gbl...>> > I've a server (W2K Server SP4) where my sites can access to Access db.
> > Sometimes, starts this error:
> >
> > Microsoft JET Database Engine error '80004005'
> > Unspecified error
> > /news.asp, line 65
> >
> > If I restart the server all goes ok.
> > What can be?
> [url]http://www.aspfaq.com/show.asp?id=2009[/url]
>
> --
The application works well, but after some days it stops...
Trapulo Guest
-
Ray at #10
Re: access to access db stop
"Trapulo" <nonscrivermi@qui.it> wrote in message
news:emEU78kmDHA.1408@TK2MSFTNGP11.phx.gbl...
I don't think so either. I was just suggesting reading it after your>> > out.
> > [url]http://www.aspfaq.com/2096[/url]
> >
> Sorry, I think this is not realted to my problem...
problem is solved.
Try [re]installing the latest version of MDAC and/or run a compact/repair on
the database.
Ray at work
Ray at Guest
-
Jacob Yang [MSFT] #11
Re: access to access db stop
Hi Trapulo,
Thank you for posting to the MSDN Managed newsgroups. We are acknowledging
your post and you should receive response from the community within 2
business days of your post.
If you have any concerns, please feel free to let us know.
Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C [url]www.microsoft.com/security[/url]
This posting is provided "as is" with no warranties and confers no rights.
Jacob Yang [MSFT] Guest
-
MSFT #12
Re: access to access db stop
Hello Trapulo,
With JET engine, we only can create less than 64 connections to the
database. You may check if there are too many connections when the error
occurred, and if you call conn.Close after you open it every time. After
the problem occurr, you may replace it with a new blank database, and test
again to see if the appliaction can open it.
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest
-
Trapulo #13
Re: access to access db stop
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:L$$PMEDnDHA.724@cpmsftngxa06.phx.gbl...Now I've the error (4 days from the last time).> Hello Trapulo,
>
> With JET engine, we only can create less than 64 connections to the
> database. You may check if there are too many connections when the error
> occurred,
How can I check this? However performance monitor for this site reports only
17 "total isapi extension request"...
yes I do>and if you call conn.Close after you open it every time.
AfterI've tried to download the db, open with access, make a compact and repair,> the problem occurr, you may replace it with a new blank database, and test
> again to see if the appliaction can open it.
>
upload over the old, and the application still not running with
Microsoft JET Database Engine error '80004005'
Unspecified error
Regards,
Trapulo Guest
-
Trapulo #14
Re: access to access db stop
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:L$$PMEDnDHA.724@cpmsftngxa06.phx.gbl...I verified the problem is with ALL Access db on this server!> Hello Trapulo,
>
> With JET engine, we only can create less than 64 connections to the
> database. You may check if there are too many connections when the error
> occurred, and if you call conn.Close after you open it every time. After
> the problem occurr, you may replace it with a new blank database, and test
> again to see if the appliaction can open it.
>
So I'm sure this problem is not db-related, but jet-related.... :(
Trapulo Guest
-
MSFT #15
Re: access to access db stop
When the error occurred, you may check the .ldb file in the same folder as
.mdb, to see if there are too many user open the database at same time.
Anyway, Access is just a desktop database, and may not be suitable for ASP
server side database. You may consider SQL server, or Even MSDE instead.
Luke
Microsoft Online Support
Get Secure! [url]www.microsoft.com/security[/url]
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
MSFT Guest
-
Trapulo #16
Re: access to access db stop
"MSFT" <lukezhan@online.microsoft.com> wrote in message
news:5HPpcGgnDHA.2828@cpmsftngxa06.phx.gbl...When you open mdb from IIS there is not the ldb file> When the error occurred, you may check the .ldb file in the same folder as
> mdb, to see if there are too many user open the database at same time.
I use SQL server. This site is hosted, and there are no more 2 users/week> Anyway, Access is just a desktop database, and may not be suitable for ASP
> server side database. You may consider SQL server, or Even MSDE instead.
accessing it, so this is not a performance problem!
However I resolved the problem. It was a strange behavior of IWAM user, with
a local profile. No configuration error, no performance problem, no
database-related problem. A bug of system installer, or a strange behavior
of IIS.
Trapulo Guest
-
Bob Barrows #17
Re: access to access db stop
Trapulo wrote:
There should be. The fact that there isn't means that the account that IIS> "MSFT" <lukezhan@online.microsoft.com> wrote in message
> news:5HPpcGgnDHA.2828@cpmsftngxa06.phx.gbl...>>> When the error occurred, you may check the .ldb file in the same
>> folder as mdb, to see if there are too many user open the database
>> at same time.
> When you open mdb from IIS there is not the ldb file
is using to connect to the database does not have sufficient rights for the
folder containing the database. You need to grant Change permissions on the
folder to both the IUSR and IWAM accounts.
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 Guest
-
Trapulo #18
Re: access to access db stop
"Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
news:%23NnP2qlnDHA.2188@TK2MSFTNGP11.phx.gbl...the> Trapulo wrote:>> > "MSFT" <lukezhan@online.microsoft.com> wrote in message
> > news:5HPpcGgnDHA.2828@cpmsftngxa06.phx.gbl...> >> >> When the error occurred, you may check the .ldb file in the same
> >> folder as mdb, to see if there are too many user open the database
> >> at same time.
> > When you open mdb from IIS there is not the ldb file
> There should be. The fact that there isn't means that the account that IIS
> is using to connect to the database does not have sufficient rights forthe> folder containing the database. You need to grant Change permissions onI know, but if I have a wrong setting the application doesn't start. On my> folder to both the IUSR and IWAM accounts.
server, it satrtst and then stops random.
However, as I said,I resolved and the problem was not here. But I don't
understand why my W2K and IIS IWAM user was running in that way.
bye
Trapulo Guest



Reply With Quote

