i have an ASP Page that generates a PDF document. After the generation i save the generated document as a file. all works fine.the only strange thing is, that my document is stored twice on the filesystem.
I have a web application that enables a user to download a word or excel file. I want them to be able to edit the file and then when they close the file I then update the image that contains the file in the SQL database. This is all quite simple apart from I can not see how I can get the cotents of the file.
Things like "ActiveDocument.Content.Text" seem to work in word just for the text but I need to get the lot in order that I can then post it back to the webserver when the file is closed.
When I try to save any ASP page, I get the message that "The page will not save correctly". Even though I go ahead and when I go offline the space of images is blank.
I have this website also where I am using ASP pages and my users are facing the same problem. HTML page is created but images are not saved.
What changes are required in ASP code so that images are also saved.
Is there anyway I can get the information about a file on the local machine of a user that is reading pages from my web site? Scripting.FileSystemObject does not have permission to do this, and I want to check the size of a file before I try to get it uploaded.
I have an asp template with tons of code in it. I want it to be saved into an HTML page once it is done generating the asp page. however the only way i have found possible is by inserting objTextStream.Writeline "<code here>" into every single line of html. Is there no faster way to generate an ASP page into html?
I want to move/copy/create/delete a file to/from the network folder, mypcmyshare through filesystemobject, and this shared folder has its own security setting. How can I specify the valid user info in order to make change to this network folder? Or is there any other better way to serve this purpose?
I am trying to access remote directories using the filesystemobject and ASP. This only seems to work when the security is set to anonymous. However, I want to connect to the remote server and pass through the users credentials rather than the "connect as" anonymous credentials. The web server is 2003 and running IIS6.
I am trying to use the Filesystem Object to create a folder but I cannot get the code to process. Every time I try to view the code in the browser it takes a very long time for it to think and then times out.
I have the permissions set correctly on the folder (I think) I have given IUSR_Machine acct full access as well as the ASPNET machine account. Here is my code:
I have got a problem wit da FILESYSTEM in ASP coding. Before I use window 98 installing PWS. Everything works fine....
And now, I use Window XP professional ( Laplop ), everything is updated ( Service Pack, .NET component, ASP.net stuff...
All my ASP code with FileSystem which used to be properly ran cant be executed on my XP server.
There is no message error on da page, but the browser icon keeps spinning and da content is blank, it means u dont see anything happens. I wanna ensure dat all da code is right, cos it work properly with PSW and other servers. I even tested with a simple code, but It still doesnt work..... Code:
I want to write a script that can read and write files to a place on a network file-server. Since the machine-local IUSR is not a domain user, it cannot access the resource.I want to provide IUSR limited access to a particular place on the file server.
Can anyone help me think of a reasonably secure work-around to this issue. We tried creating a virtual directory that points to the share(using a domain account), but even then, site users can see the files (no security), but the fso (IUSR) cannot (no functionality). There must be a way.
I can successfully copy file from server1 to server4 but am not able to copy file from server2 to server4
If I use the code to check for file on server 4 ie If Fileexists(server4filename) then response.write("File exists") else response.write("File Does not exist") end if If I run this code from server1 I get file exists
But if I run the same code from server2 I get file does not exist.
I am logged on as the same user.
Could anyone PLEASE let me know what is the difference on both the servers ie. server 2 and server1.
I am going crazy trying to figure out why the FileExists method of the FileSystem object returns false when the file passed to it DOES exist.
The FolderExists method of the same object recognizes the existence of the folder containing the files in question, but FileExists always returns false.
I recieved an FTP address and found no files in html, but in asp. The source code of the site looks like normal html and I updated it locally but don't know how to save it to .asp and replace the file on the server. I can't open the .asp file. What do I need to do this?
How do I load and save a UTF-8 document in XML in ASP/VBS?
Well, the loading* is not the problem actually -- the file is in UTF-8, and understood correctly -- but once saved, the UTF-8 is replaced by what seems to be iso-8859-1 (which Flash doesn't understand, but that's another problem).
i am encountering some problems in converting some data into CSV format..i have alreadi retrieve the data however i do not knoe of ani methods of converting to CSV...is there ani method to save the directory to .csv
I'm currently doing some work with ASP and XML DOM.
Is there any way when saving XML to get ASP to save it in a formatted way? Similar to PHP's formatOutput setting? At the moment my xml is being appended on line e.g
<test>1</test><test>2</test> Is there a setting to get ASP to save XML like:
<test>1</test> <test>2</test>
The XML document I'm working on is fairly large and its proving very difficult to read through the xml at the moment.
--------------------------- <IMG SRC="calendar.gif" Align="center" Border="0" onMousedown="alert('Please! Do not download this image. Thanks!')"> -----------------------------
Now what this thing does is that it displays a dialog saying "Plz DO ..." ... What should i do if i want that NOTHING should happen when a User right clicks on IMAGE ..absolutely nothing should happen ...
Is It POSSIBLE?
Another thing ... When the MOUSE moves over the image a FLOATING TOOLBOX kind of thing appears which has buttons likes SAVE,PRINT,EMAIL and things like that ... so what should i do so that NOTHING happens when the mouse moves over the IMAGE ...
i can't seem to think of a way around, this maybe more of a security question but htought i'd give this forum a shot first.
I have server A and server B
IIS on A but not on B
I have a webapplication that needs to save a file on server B. I can't set up a virtual directory with B since it doens't have iis i believe. If i were to do shortcuts or mapped drives those i think would use the credentials of the internet user i believe which won't have access to the directory, at least that's why i think it won't access them.
Can any one think of a clever workaround this? Can i just set the permissions to allow internet users to write to a folder on server B and it'll save that way?
--------------------------- <IMG SRC="calendar.gif" Align="center" Border="0" onMousedown="alert('Please! Do not download this image. Thanks!')"> -----------------------------
Now what this thing does is that it displays a dialog saying "Plz DO ..." ... What should i do if i want that NOTHING should happen when a User right clicks on IMAGE ..absolutely nothing should happen ...
Is It POSSIBLE ?????
Another thing ... When the MOUSE moves over the image a FLOATING TOOLBOX kind of thing appears which has buttons likes SAVE,PRINT,EMAIL and things like that ... so what should i do so that NOTHING happens when the mouse moves over the IMAGE ...
Is it possible to remove just the session.sessionID, I have other session variables that I would like to keep?I use this for saving cart information but it needs to be different each time.
I have an asp application that should allow the user to enter Unicode characters.
The characters appear correctly in the browser. When saved in sql 2000 thought they are converted to question marks etc.
When I enter the characters directly in SQL (using enterprise manager), they appear correctly in sql as well as in the browser when the asp page retrieves them.
As soon as I hit save they get overwritten in sql incorrectly.
I am using IIS as a remote configuration tool to modify an XML config file on the server. So I pull my XML config file through XSLT to give me an HTML file with forms on. Something like this: Code:
Forme time to time, when attempting to save a webpage in IE6, I see the error: ------------------------------------ Error saving web page The web page cannot be saved to the selectged location ------------------------------------ It would not save on any other location. What is the reason for this error?
Is this a code (server side or client side) to prevent a page from being saved
I made a website for my work and we have it secure to where you have to login when you come to the site. But for some reason when you use the check box to SAVE PASSWORD it will not save the password.
So each time a client comes back to the site they have to put thier password in (and they arent happy about it) Just wondering if there is a setting I can turn off or turn on to enable the passwords to be saved.
I live in the UK and thus our standard date format is:
DAY/MONTH/YEAR
In my ASP page, when i try to save a date value to a date field in my MS ACCESS database, it will switch the day and month around if the day value is less than the month value. EXAMPLE:
Try to save the 1st of February 2004 as 01/02/2004. When this is saved in to the database, it is saved as 02/01/2004. This plays havoc with my search pages as they cannot find that date since half of it has been swapped around. Ive tried saving it as a string in to a text field and it still does the same.
i have been trying to save data collected from a form to a access db. The problem is that whenever the page refreshes the asp script to save the data is executing. how can i make sure that the insert statement is executed only if the button is clicked.
ive got something on my site where if they visit a page that does not exist a asp page will come up where you can inform me about it if its a broken link ive got a code which i have took from a registration form in a login system but it still runs a query im quite new to asp and dont know how to remove it if ne1 can help the code is below! Code:
I am building a site using ASP & MS Access. I will be migrating the database to Oracle 8i when it is built. I have some date fields on one of my pages which are optional, i.e. users don't have to put dates in them. However, when the date fields are left blank, the information does not get saved to the database, because the SQL statement is incorrect. what value do I put in my SQL statement in order to save a date as 'Null'?
I have created an access DB with a few BLOBs in it to upload files to, all good and well this is working fine.
However found out I can not write the data directly to the BLOB as I have to upload the file first to the server and than read it with the ADODB.Stream object.
This is like a double action: first I have to write the file to the server and only then I can read it to the DB...
Is there anyway to do this all at once, I.E. read a file from the client and as I am reading it to actually write it to the DB???