I'm developing an administration tool on a WinXP Pro / ASP / VBScript / MSIE 6 platform. (I know, BOO! for WinXP & File Permissions) But nonetheless, it's formated on a NTFS partition.
Anyways, I've been getting errors whom after searching online (at BLAZING 56k speeds!) keep stating that improper permissions are setup. What's hilarious is that they all say the same thing (literally, word for word, "You need to give XXX Read and Write permissions") but NONE of them tell you how to do that.
Well, in IIS, I've given the directory READ/WRITE permissions and in WinXP I've Right-Clicked on a folder, enabled it under WEB SHARING and gave it READ/WRITE permissions, and still I get random errors. The 2 errors I've been getting are:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/clients/amCart/admin/adm_administrators_add.asp, line 115
Generally, using DreamWeaver, it generates the ASP include file, with the variables, in the document I am modifying. That is where I am getting my problem. All this is was a simple insert into an Access DB. Only 2 items were being inserted. I listed the code below. Code:
I occassional get this error when trying to check passwords and usernames. It's not all the time, but occassional. I just updated the connection to the jet drivers. Code:
Has anyone seen this error before.we moved an ASP app from our internal test server onto the production and suddenly we are having this error. On our internal server we had no problems. we are using Server2003 with access database.
I'm getting an "Unspecified Error" on a page while attempting to read a db table. The error occurs on line 95 where I open the connection string. Code:
What the heck is that? I keep getting this error message and it say it is unspecified. It give me a line number and the line refers to a connection. The strange thing is is that this site is a copy of another one, and the only alteration was to the records in the DB.
I am getting Javascript Unspecified Error.I am getting this error only when Onbeforeunload function is called.When I click on OK button then this error doesnt comes up but in case if I click Cancel button this error pops up.It says:
I have a problem which is doing my head in. Basically I have 2 pages which use the same connection to open the database and an SQL statement to select records from 2 different tables. The code for the first page is as follows: Code:
I got Win2000 and I just developed an intranet solution installed on my web server (IIS). The application worked nicely and there were not any problems.
Few days ago I re - installed win2000 and I installed the IIS and my intranet solution but there is an error and the application doens't operate correctly with the Access database. When it tries to retrieve data from the database the following error appears:
Microsoft JET Database Engine (0x80004005) Unspecified error
The line of the code which is indicated by the error is the following: Code:
I need to set an online directory and file the write permissions,fot JET to use it's temp file whthout problems.
Im using ACE FTP Freeware,and the properties I ask for each element directory and each file says that the write permissions are OK, but I still got errors while trying to update it online.How can I change IIS permissions?
I have a compiled activex dll component on my server. When I log into the website under the administrator I can successfully access the dll, however using another windows NT user simply shows 'unable to create component due to permission'.I have ensured that the user in question has all writes to the dll file on the server, including the IUSR and IWAM accounts.
i got somethiung about permissions or something, like when i goto my site, and theres a bunch of bs about folder permissions set to non read... whats up witht that????
Does anyone know of an asp script, online somewhere, that I can use to find out the permissions of a folder? My ISP says these folders have full permissions, but my programs say "permission denied". I don't know if it is the programming, or if the folder don't really have the right permissions.
I keep getting"Unable to open registry key 'Temporary (volatile) Jet DSN " errors pointing to my connection string when the same connection string is working for a few of my other pages.The MSAccess database does have the right permissions configured. Below is code I'm using:
<% dbcon="DBQ=" & Server.Mappath("diary.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};" Set calConn = Server.CreateObject("ADODB.Connection") calConn.Open dbcon%> <%dim freetsql,rsfree freetsql = "select text_field from diary where dte ='" & dfm & "'" set rsfree = Server.CreateObject("ADODB.Recordset") rsfree.Open freetsql,calConn,3 %>
I know this isn't the best group to ask this in - but I also know a lot of you have experience with this kind of stuff I'm going to be creating a site where customers will be able to set up their own sub-site (ie. www.mysite.com/theirsubsite). I'll need to be able to create virtual directories on-the-fly, so I plan on using ADSI to accomplish this. My question is - what are my options when it comes to permissions? Will I need to give the IUSR account admin permissions to create these directories, or is there some way to impersonate an admin account on the script creating the directories? Has anyone dealt with this before?
i need to allow my ASP app to append and use data in text file, but restrict users from pointing directly to it and opening it for viewing.
what permissions should be set for the text file and is there a special way to access the file from the my ASPs? i am use JET ISAM driver to had data access to the text file. it all works fine except for the problem i mention. also, i have to reset permissions when ever i upload from my PC to development and production sites.
I have a database (*.mdb), which I can connect to, query on, and return results from in ASP. Now, I want to do some ADDs,UPDATEs,and DELETEs.... but I get errors executing my SQL... What's the trick?
PS My connection (thus far) is this, and works.
Dim Conn Set Conn = Server.CreateObject("ADODB.Connection") Conn.Provider="Microsoft.Jet.OLEDB.4.0" Conn.Open Server.MapPath("myDatabase.mdb")
How do I setup perrmissions in my FTP to allow anonymous access where you can only upload to and download from a separate folder but not create sub folders or change any permissions etc.
I have my trusted users with extended permission in like c:ftproot ame1, c:ftproot ame2 etc and would like to have my anonymous access directed to something like c:anonymous. I do not want them to see the trusted accounts. Can I and how do I do that?
I have a mixure of .htm / .html / .asp files on an IIS Server at our main office. When people at another location goto the web they can view the .htm,.html files but can't access the .asp because of permissions.
Now i've checked the permissions on the individual files and the two file types have the same permission settings. Is there something in the ASP platform that adds extra permissions to .asp files. (Active Directory wise).
can someone explain to me what the following privelages . eg. in one folder i want my database to be written to, but not allowed to be downloaded as a single mdb file.
in another folder i want my user to be able to upload images into it freely. other folders i want untouchable. here are the settings my host give me. if somebody could explain to me what the different users are. what certain settings will allow. in terms of ftp and website use.
here are the settings i can apply to each directory/file ....
I have a asp page that I need to check to see if the current logged on user is a member of a specific active directory group. How can I do this? I have tried so many different LDAP code examples and none seem to work.
Do I need to include a administrator username and password in the code? Does any have any samples of code I can try?
i had this site of mine running from my pc with duc no-ip for avoiding my ip from changing my ip. it was working fine, but i made an upgrade to my machine, so had to start all over again;
my web app works with access and asp;
i gave my .mdb total control to IUSER_myPcName and, in iis, in mmconsole, i go to my websites/properties/security and then in this window i click edit and i have:
anonimous access checked but the rest of it i'm unsure when i try my login, i get this error msg: Provider (0x80004005) unspecified error /a/login.asp, linha 53 that's the line where, in my script, i connect to odbc.
Ive recently migrated from dirty ol' PWS on Win98 to IIS 5.1 on XP and Im a little unfamiliar with the IIS snap on. Would any of you be able to help me with permissions so the Db can be updated but without adding security risks.