I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.
So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?
i have 2 asp pages. the parent and the child. the parent has has a value doc_id which is null. and a button to open the child window. it has other variables and input fields.
the child window creates the doc_id.
Now heres the problem. I want to close the child window, and send the doc_id(created in the child) to the doc_id(in the parent). and close the child window.
But keep the original variables in the parent id. (e.g if the user entered their name in the parent window, then opened the child window, then created the doc_id, then closed the child window, i want to parent to have the user name, and the new doc_id)
I am trying to redirect back to a child form after a submit with a file upload and verification of file data. I would like to go back to the form and display a message returning the status of the data. Is that possible? Any suggestions on an alternate? I am using classic ASP, javascript and vbscript.
When a user clicks in the text box, by using the onclick event, i am opening a popupwindow with a list box. Now when the user selects a value in this list box, i want to pass that value to the parent window and populate the parent textbox.
I have two menu form elements that need to refelect a parent child relationship. There are 85 zones and 2200 zone-network combinations.
I want to bind the networkid element to an xml datasource that contains only the networks related to that zone. I have read about something like this before but have never implemented it.
I have two dropdown boxes, one is a state dropdown (statedrpdwn) and the other is a city dropdown (citydrpdwn). I want the values in the citydrpdwn to be dependent on what is selected in the statedrpdwn.
So when the user selects a state, I want the city drpdwn to only display the cities in that state. How can I do that? I also need to save this information to a database and retrieve it back correctly from the database. How can I do that?
I have a cross-reference table already set up that contains the information about programs that run in our database. It contains the program name, the tables used as inputs and the tables used as outputs. There is a row for each input to a program and a row for each output from a program. Code:
(I include a bmp file to make sure u all understand what my problem is)..as U all can see from the bmp I supply with this message.. I got 2 Table which is Master and Child table...the problem is I kindda want to make it like a Parent Child Relationship like In ms Access.
I have an asp page (parent) which opens a new window (child) with "window.open()". What i want is, when the child window is closed with "self.close()" then the parent window has to be refreshed. Any of you guys know how to do this?
But as i carry some data from previous previous page, when i use (window.opener.location = window.opener.location), it can't capture my data as it just load the page. It will pop up error as no data captured :
Microsoft VBScript runtime error '800a000d' Type mismatch: '[string: ""]'
i have a form that pops up based on a click. the popup opens up correctly. now what i want it to do is this.
1. submit the data to an asp page. that part i got working 2. close the popup box. have that working as well. 3. after processing the data on the asp page, direct to and refresh the parent page that the popup was created from.
to be more specific....
i have a bracket page, where you click on the winners name to move them over. works fine. that sends variables to a pop up box, where you enter a score. that works fine. now when i submit, it only sneds the data to the asp page, and even though the bottom of the asp page redirects it to the parent page, it doesn't. it seems like it is trying to redirect to the popup that doesn't exist anymore, so it does nothing.
I am trying to port PRAX (PHP Record-oriented API for XML) to ASP and have run into a problem. With Microsoft's XML Parser, to get child nodes, the only way I have seen is by calling on obj.childNodes(1). I need to get a child node by name, not by number, since it could be in any order. Is there a way?
If not, I will have to write that part of the code differently by using an array. I don't want to do this because it would make the code more memory intensive and not as powerful as the PRAX implementation.
I have a submit button which opens a child window,and submit parent window to itself and then begins some processing on parent window. On completion there appears close button on parent page.
Can anybody suggest me how to close the child window on the click of close button on parent window and then redirect to other page?
I am trying to update and append to an existing XML file. However I seem to be stuck. I am using ASP as my scripting language.
The form fields has the same value as the KEY attribute so all i have to do is loop through the submiting form for its fields and use the name to update the XML via the keys... Code:
I have a domain www.company.com and also a sub domain like forum.company.com I have learned that the sub domain is actually a folder under my main domain so if I typed www.company.com/forum - it would go to the same file as if I typed the sub domain, unfortunatly all the files in the subdomain point to root paths eg: /Images/logo.gif
This isn't a problem as the subdomain is seperate and I treat it like its a new website.
I was wondering before I spend more money and activate a 10mb SSL folder - how would I actually code for this folder?
Is the SSL on a seperate server, or just a folder off the main domain name?
I want to do a register system "username" etc & some personnal details through a sercure line.
My web site is entirely based on XML/XSL. Transformation of XML into HTML is a server-side process. All my URLs are like this: http://host/Application/?Document=AnyDoc&Chapter=3. There is only one script, default.asp, in the root web that processes requests and displays HTML content based on the query string.I'd like to intercept calls to http://host/Application/Catalog and translate into http://host/Application/?Document=Catalog before it is passed to the custom error 404 handler. Can it be done - do I need a HTML filter or something?
I am writing an intranet and want to be able to hyperlink to all files within a specific folder AND it's subfolders. Whilst I can hyperlink to the files in the specified folder AND I can also iterate through the subfolders and list them, for some reason I cannot hyperlink to the sub folders. I am writing this software at home using a computer that has IIS and Windows 98 and am accessing this as my server from another computer on my network.
My Home Page on the Server is http://maxitek (the name of my Windows98 Computer) and when I look at the value of the variable "PathSpec" - it becomes C:Inetpubwwwroot which when I try to create links to the sub folder it is probably here where the problem is. The files themselves link, but not with their full subfolder names, i.e., for a file called "C:Inetpubwwwrootmytestmytest2mytest.txt" I am getting a link that just looks like this Code:
I've looked everywhere and can't seem to figure out how to create folders. I've got a tonne of other stuff sussed and am about to attempt creating text files, but folders elude me still.
I have written some ASP code that creates a group of folders using the FileSystemObject. It all works fine when the folders are being created on the same server becuase I have the correct permissions. The problem is that the code is going to be activated when people do something on our intranet. The guy in IT has set up the permissions for the Inetuser account so that in theory it should work.
It isn't working though. The first place it falls over is when I check to see if a folder exists on this other server, it doesn't find it. I am trying to access it using the full path i.e.
If fso.FolderExists(//servername/folder1/folder2)) then...
That doesn't seem to work though because it doesn't find it when it definitely exists. Does anyone know how I should be doing this?
I expect this has been covered before but I can't anything to reflect this. How (with code) can you view folders within a directory from within a drop down menu?
Is there something similar that will allow you to select a partcular directory? For example, I may want to select a folder called projects rather than a file.
When I click search in Editplus, I get a browse button that allows me to select directories. Under ODBC Data Sources in my control panel, there is a button to select directories. What programming is needed to get this type of browse capability?
If I have 1 Virtual Dirctory with 2 different subfolders are these 2 different folders different virtual folders? Or if I have 2 different Virtual Directories each containing a subfolder are these two subfolders 2 different virtual folders?
I'm asking because Microsoft is using the term "virtual folders" and I am not sure if they mean the former or the later.
I am trying to use the FileSystemObject to create a copy of a directory (including all sub-folders and files within this directory) but i just cant get me head around it.
Can anyone point me to a tutorial or some sourcecode that i can play with?
Seems that my XP Pro IIS is being a jackass. When I run my ASP scripts it seems to give me this wierd error. Big_Al told me that it was because my script is inside a read-only folder and that something along the lines is really messing it all up.
Now this had brought a new problem. I changed the IIS Console features to Read, Write etc. but its not changing the wwwroot nor the sub folders. Whenever I un select read-only it simply reactivates itself ! What do I do to make the damned thing change!?!?!
I currently have a asp page that will display what is currently in my windows folder. The problem i have is with permissions. I have all my departments on a page when i type in called: http://myserver/Website/dir_list.asp
in this i am showing different departments in hyperlinks to the windows structure. I have beside each department to tell me the amount of files that are in that department(folder).
I am having a problem whereby if i right click n the eningeering department and get rid of myserverusers account. I do not want everybody to have access to this.Only a dedicated person for the engineering department.
when i put the person individual login name to have access to it and get rid of myserverusers, it will come up with permission denied on the count, even though i have given myself administrator permission to the folder.
I basically have to take the permissions for myserverusers away from the folder but if i do, no matter what permissions i give the folder, it will keep denying me access without this. IUSR_<machinename>
Has any one ever comes across something like this before?
Would anyone have a way to access certain Exchange public folders that contain news group emails, perform a query on the folders for keywords and return a list of those emails?
Basically, I've been asked to put a simple single field on a web page that will query a list of exchange public folders and return a list of those emails that have a key word match.
sort of like the MS Index server does on folders with files where one has an asp interface to query the index data base.
The VIRTUALSITE name is really the virtual directory created under IIS.
I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?
I am developing a small e-commerce site that allows users to create an account, pay, and then download audio files.I have only been doing ASP for about 6 months and this is a new problem for me: I need to not only password protect the pages (using Sessions and checking usernames and passwords against an Access database), but I also need to password protect the audio files themselves, so that users can't just type in the absolute URL to the audio files and get them for free.
I'm guessing password protecting the entire folder that contains the pages and audio files would be the best way to go, but I have no idea how to do this, and haven't been able to find any info on it.the site is part of a larger already existing site which is on a Shared Windows hosting account, so I have no root-level access to install any new software or technologies.