|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with delete and insert into statements
Currently, I am developing a website using asp technology and access database ... I work on two computers, and IIS is installed in both of them, in the first computer everything is working fine, but when I use the second computer I get some errors where my code have delete statements or insert statements. the errors are:
For delete statement I get: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Error Type: Microsoft JET Database Engine (0x80004005) Could not delete from specified tables. /eschool/attendance.asp, line 13 For insert into statement I get: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. With other computer I dont get these errors and everything is done in correct way ... therefore, I thought that I have to adjust my IIS settings in the second computer but I dont know which ... can anyone help me? |
|
#2
|
||||
|
||||
|
check the permissions for your database as well as the IUSR_<machinename> on the computer where it's not working.
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#3
|
||||
|
||||
|
vist this......
for database permission http://www.webwizguide.info/asp/faq/server_permissions.asp
__________________
Nothing is Impossible bcoz IMPOSSIBLE itself says.. I M POSSIBLE........................ Be cool !!!!!!!!
|
|
#4
|
|||
|
|||
|
how can I check the database permissions? GUDU your link does not help me ... I have another version of IIS ... thanks anyway
|
|
#5
|
||||
|
||||
|
to check the database permissions ...
go to the directory where the database resides right click on database and click properties check security ... make sure the database has read and write access for the IUSR_<machinname> account also try doing the same to the directory that holds the database ... the link that guddu gave should work on any IIS Server from NT4, 2K, 2K3, XP you also need to go into IIS and check that |
|
#6
|
|||
|
|||
|
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#7
|
|||
|
|||
|
Finally I fixed the problem by giving my pc another name ... thanks guys for your assistance
|
|
#8
|
||||
|
||||
|
As it may help me work out if I am having my chain yanked...
Did it have an _ (underscore) in the name? |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Problem with delete and insert into statements |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|