Setting Local Host Permissions
I download an application from a 3rd party for a forum that uses Microsoft Access. When I try to log in, I keep getting an error about the database being read only. I go to the hard drive and right click and uncheck "Read Only" but it never works, I've done this on the database file, the directory it is in, the parent directory, the wwwroot directory, the Inetpub directory.
View Replies
ADVERTISEMENT
is anybody know how to capture lan id(localhost id ) address in lan. u can check the same under dos using command ipconfig. but i am not geting the same id using bewlo code
<% Response.Write Request.ServerVariables("REMOTE_ADDR") %>
View Replies
View Related
Installing IIS and getting a strange error.
..Error Type:
Active Server Pages, ASP 0134 (0x80004005)
The object has an invalid ProgID of 'MSWC.MyInfo'.
//global.asa, line 1
This error comes after on Page not Found error after entering http://localhost .I have done all the localhost not found suggestions in the localhost not found thread. I also looked up the error in the knowledge base and the Anonymous login was not checked for the localstart.asp file. I also ping 127.0.0.1 just fine.
View Replies
View Related
I haven't ever used ASP on a web host but will most likely be shortly with a members area and was just wondering if someone could answer these questions. Do I have to have the ASP files in a certain file and with the database?
Do I only need to have the asp files or do I need a file like adojavas.inc like if I am using in on my local computer with a web server?
View Replies
View Related
I am developing a small website using ASP scripts to format data retrieved
from an Access database. It will run on a Windows 2003 server supporting
FrontPage extensions 2002 hosted by the company 1&1 with only limited server
configuration via a web based control panel.
My query relates to the ASP security model and how it relates to FrontPage
options for setting file access on a database file. If you know of any
online documentation covering the following issues I would be grateful for
links to it.
For various reasons (session logging, synchronising data with a master
database etc) I need to be able to write data to the database file.
Essentially the problem is this: how do I make this possible without giving
public access to the database file? Code:
View Replies
View Related
Is it possiable via a ASP to set (NTFS) permissions on files not on the IIS server?I'm sticking together an ASP to create our new user Home/Profile dir file structure. The script is running in anonymous user mode using an account which has full perm on the file severers.
It's creating the file structure OK, but when it comes to the file permissions, CALCS direct or CACLS in a .CMD doesn't appear to be able to set ther permissions when invoked from the ASP. It does however work for the user when logged on the server's local console.
View Replies
View Related
I am trying to use this bit of code to change the permissions on a file. Apparently it should work but it isn't. I am getting no error messages just nothing is happening. The path to the file is definitley correct. Does anyone have any idea what I am doing wrong?
Code:
<%
strFileOrFolder = "D:WebRoothtdocsProjects est.txt"
strUserName = "Everyone"
dim objWSH
set objWSH = CreateObject("WScript.Shell")
Call objWSH.Run("cmd /c echo y| CACLS " & strFileOrFolder & " /G /T " & trim(strUserName) & ":f", 0, True)
set objWSH = Nothing
%>
View Replies
View Related
What is the best way to set up a server with MSSQL on your local machine. I have IIS set up, and am wondering if there is some way to get MSSQL for testing purposes for a reduced cost? From what I understand, a typical MSSQL license is around $8,000, am I right
View Replies
View Related
I have just uploaded my asp pages online and set permissions to to read write and execute but i am still having trouble, it displays this message.You are not authorized to view this page
The URL you attempted to reach has an ISAPI or CGI application installed that verifies user credentials before proceeding. This application cannot verify your credentials.
Please try the following:
Contact the Web site administrator if you believe you should be able to view this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
Internet Information Services (IIS)
View Replies
View Related
I need to grab the full url of the virtual server server of the image
directory
View Replies
View Related
We've had a Fasthosts reseller account for quite a few years now and have been relatively happy until now.Unfortunately they've started to push out MySQL DBs (I think 4.2.x or 5)that don't work very well with classic ASP and basically said you can b*$£*"s if it don't work with your apps.
In which case, we do not wish to pander to the FHosts machine anymore and are looking for a new host.Bearing in mind what the Windows based FHosts reseller account can provide,can anybody suggest a better host?
Please note we were stung badly by 2 'from the attic' ISPs before so wedon't want to go down that route anymore.
View Replies
View Related
I need to get visitors ip address and host name when visitor visit my homepage. Can someone please paste an example of an asp page that handel this ?
View Replies
View Related
Does anyone know how to add a host header to a web site running IIS 5 using ASP?
View Replies
View Related
Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting
ASP on linux.
View Replies
View Related
My web host uses CDOSYS to snd mail. right direction to get some code for this please?
View Replies
View Related
I recently moved all my files and db to a new host. I cannot get the site to function properly. The site appears to be pointing to an old test template my programmer set up, and not my index page. I have lost my programmer, and I don't know ASP at all.
View Replies
View Related
I'm trying to obtain the IP of the hosts connected to my webserver.
Code:
<%
on error resume next
'trying to obtain host IP
ip = request.servervariables("remote_addr")
response.write "IP addr: " & ip & " --- "
ip = request.servervariables("remote_host")
response.write "IP host: " & ip
%>
If I use the above script, it shows me the IP of my ISP webproxy, not mine.
View Replies
View Related
I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??
View Replies
View Related
I'm sending emails to a database of 2000 people (that will be double
that in the future). My web-host provides ASPQmail. I have to send the
emails out in groups of only a few hundred at a time to avoid the page
timing out (I have set the timeout value to a very high value). Once in a
while it seems as if either the SMTP server or the web server is running
slowly and I can't get it to send even a few without timeout problems. I
never get the log file showing anything.
Is there a better web-host situation and email/SMTP I should look for?
Do I need a dedicated server? Any suggestions as to how to go about a bulk
email scenario? At least when I do have problems I would like to know
which clients received their mailing and which ones didn't.
View Replies
View Related
I have been using the ShellApplication object in an ASP script to
retrieve some file characteristics that the FileSystem object does not
access (this is one of my clients' sites on a commercial host, running
IIS 6.0).
The script ran perfectly for about 6 months, then began returning
"Microsoft VBScript runtime error '800a01a8' Object required". The code
had not been changed. The script doesn't produce an error on the
creation of the object, but at the first use of it.
The hosting company rebooted the server and it again worked fine, but
then failed again.
The hosting Co's attitude is "you are the only client using this object
and the only client affected by it failing - find a different way to do
what you want to do"
My contention is that they started/stopped doing something that has
caused this to fail and just don't want to be bothered
researching/fixing it (I use the object with no problems on several
other hosts).
Can anyone shed some light? Is there a known problem with the object or
something known to cause it to fail?
View Replies
View Related
When I use this command in a webpage
Response.Write "<a
href=""javascript:window.open('events/EventDetails.asp?EventID=" &
theEventID & "' )"">" & theLinkText & "</a>"
I get the new window to open but it also affects the "host" window. The "host" window is left with the word "[object]" in it. If I refresh the window that says [object] the new window opens again. Why and how can I make the new window open without affecting the previous one?
View Replies
View Related
When I use a host file entry to point to the host header of the site
that I have created on a Win2k server running IIS5, a cookie is not
created to hold the session id. The result is that Session_OnStart is
run every time a page is requested.
If I set up a DNS entry on the DNS server it all works fine.
I never noticed this problem before we put in Active Directory so it
may have something to do with that.
I have set "allow per session cookies" to promt(under Custom Secrity
settings in IE) to see if this is being attempted and it is not. So
the browser is not even trying to create the session cookie when using
the host file.
View Replies
View Related
does anyone know how to run a .wsf file from an ASP page?
View Replies
View Related
I have two .aspx web pages. The first one has a form with ASP textboxes, validation controls, an a submit button which calls an event handler using VB to insert data into an Access database then redirect to the second page.
Both pages work fine on my local host computer (IIS). But on my remote host, when I click the submit button, it just sits there and does nothing. When I remove the validation controls, the event handler works fine.
How can I get the validation controls to work on the remote server?
View Replies
View Related
I've just been caught out by a host that doesn't support #includes in my
ASPs. What's the best strategy for replacing these calls to files that
include everything from subs and functions, global constants, other
#includes, script directives, etc.??
View Replies
View Related
Is there a way to test if a host supports Collaborative Data Objects like
Server.CreateObject("CDONTS.NewMail")
something like phpinfo to show the servers ASP setup? which components are installed etc? i've got a form mail script im testing that seems to parse ok (no errors),but am not receiving the email at any of the recipient addresses im sending it to.
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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????
View Replies
View Related
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.
View Replies
View Related
Is there a way to list the permissions on a directory in my web folder? Like group permissions and such
View Replies
View Related
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 %>
View Replies
View Related
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?
View Replies
View Related