Running SQL Files Through ASP Page

I have created some SQL files which i can run on the Oracle console. Code:

View Replies


ADVERTISEMENT

Running ASP Files

Recently, I made a few ASP files connecting to MS Access file with security, I used IIS to test ASP files.

After it is done, I want the ASP files are accessed for each person via network in the company computer with security.

How can I setup a network which allow the person to run the ASP files?

Do I need to create a partition for network drive to run the ASP file/a server for running it?

View Replies View Related

Running VBS Files

Anyone think of a cleaner/nicer/eleganter way of running VBS file in
ASP than this example?

(Goal is to re-use typical VBS code that uses 'wscrip.echo' without
having to re-write everything to use 'response.write'.)

View Replies View Related

Running Bat (batch) Files On Windows Server 2003 With Asp

im trying to run a bat file on windows server 2003 and am running into nothing but problems.

i have IIS on my XP workstation that accesses the 2003 server. what im about to explain below works properly on the XP IIs.

i have two files: somefile.asp and somefile.bat. the asp file creates a wscript.shell and then tries to execute the run method for somefile.bat.

however, it isnt working. after an unexaggerated 7 hours of searching google/etc, i have found nothing but frustration and deep, seething anger regarding this problem. Code:

View Replies View Related

Blank Page Running ASP Page On Windows Vista

I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple code : <% response.write("hello") %),
it show me a blank page, I think I've put all the setttings correctly, but
maybe I must do something obvious to fix that.

View Replies View Related

Running Asp.net Page

What is required to run asp.net page with extension .aspx file,on win 2000 server with IIS ,it is not working,what upgrade is required ,I am using IE6 also.

View Replies View Related

Asp Page Is Not Running

I have been connected with proxy software which is not allonwing me to run my asp page in my local host giving the error :

Does not support loopback URL
URL Address here

what shall I do to run and see the result.

View Replies View Related

Automated Running Of Page

I am design an web application that requires information mation to be created from tables once a day, once this information has been created it is stored temporarily in another table until the folowing day. The problem is that to creat this information a seperate .asp page has to run.

I would like this page to run early in the morning when no one is in the building and accessing the servers. I have tried using windows scheduler... this works but still needs a user to press ok on the internet security password screen we have set up. Is there any other way to get the page to run without using the browser, or to change the page into a dfferent format??

View Replies View Related

Periodically Running Asp Page

I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours. How do I do this?

View Replies View Related

Running Executables From ASP Page

if it's possible to run an .exe or other command line utility form an .asp page? What I am trying to do is have a report request page where the user would supply a few details, and then submit. At this point I am hoping to pass the data to an .exe. This .exe will write its output to a text file which will be read and displayed on the page. Is this
easily accomplished?

View Replies View Related

Global.asa Running ASP Page

if it was possible to put a function in the global.asa that would call/run a page every x minutes. I have an ASP page that writes a text file and I want that file to be updated/rewritten in the background every 30 minutes so that pages that call the file are current. I have requirements as to why it can't just be a dynamic page and needs to be a text/htm file.

View Replies View Related

Running A Script From ASP-page

I need to run a script in a ASP-page. Everthing runs exect the script.

Set objWShell = CreateObject("WScript.Shell")
Set objCmd = objWShell.Exec("cscript /nologo c:ssssasysdag.js
/addclass " & Request.Form("klas"))

I get an error on the Exec-line. On the server it shows ASP-script access-denied. After closing the MS-script editor i get

WshShell.Exec error '80070005' in the browser.

Someone know a solution? Or anouther way to run that script?

View Replies View Related

Running Asp Page As Particular User

I have this situation where I have one shared folder on particular server
and this folder is shared for just one user to access it. I wrote an asp page
wich should open a file from that shared folder. However because the folder
is shared for just one user I have somehow to run the asp page as this user.

The same way like in ASP.NET application where I can use impersonation in
web.config file. Is this possible?

View Replies View Related

Running Client App From ASP Web Page

Can you run an client application (i.e. Excel) from an ASP web page? I want
to open an Excel document that is stored on the network in the Excel App (not
in browser window) allow the user to make changes to the file and then save
the file back to the network. If this is possible how do I do it?

View Replies View Related

ASP Error While Running Aspx Page

This is the error which i got when i tried to display message in my text box which is a aspx page.

Error which i got:Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error :

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

View Replies View Related

Error Running Bat File From ASP Page

I am using windows 2000 server IIS 5.0

i was trying to run bat file from asp page and getting: Access Denied

but when i run the bat file from the command prompt on the local server, it's running good the bat file copying files from target computer in the LAN to the local
computer, o.k

i give write and execute permission on the IIS for this site on the local folder(where the bat file) i assign full NTFS access for "test" user on the target computer i shared the folder with Everyone Full control and assign Full NTFS access for the "test" user
but still cannot run the .bat file

where it can be the problem, how i need to set the site on the IIS to run the bat file?

any how to run bat file from ASP page document?

View Replies View Related

Trying To Create Client Page For Site Running Asp

I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.

Unfortunately, that means refreshing the page alot.

So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.

So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information. Code:

View Replies View Related

Running A Perl Script From An ASP Page To Include QUERY_STRING

I am running IIS 6.0 on Windows 2003.

I would like to be able to run a perl script from a web page and
include the output.

I have tried doing it with an ssi:

<form action='docsearch.shtml' method='get'>
<!--#exec cgi="/cgi-bin/docsearch.pl-->
</form>

This correctly ran the script, but it was unable to include the
QUERY_STRING from the parent URL into the included perl script, and
there seems no work around to enable me to do that on IIS 6.0,
therefore on this thread:

http://groups.google.com/group/micr...6ae0d85395a3d72

I was recommended: "to a simple ASP page which will easily do exactly
what you want because it actually has the functionality you want, by
intention, and is supported." Code:

View Replies View Related

Some Of JPG Files Refuse To Show Up In The ASP Page

Some of JPG files sitting in the same folder show up OK on an HTML page,
while the other do not as if they are not there or their name is misspelt.

Tried low-upper case in an ASP page, and in the files names - same result
Then I noticed that the same files do not show up in the preview pane in the
Windows Explorer althought they still are described by Windows Explorer as
valid JPEG files.

These "wrong" files are not necessarily bigger then the good ones and in
Microsoft Photo Editor they all (good and bad) show up well and they all are
118 Pixels/cm and True Color (24 bit)

What might be wrong with these files? If there is not direct answer, perhaps spmeone recommend me a correct newsgroup?

View Replies View Related

Deleting Files On Server From ASP Page

How could I perform the task of deleting or renaming file on the server
where I have ISS via ASP page.

View Replies View Related

Linking Multiple Css Files To A Master Page

We have a master page set up and it is tied to its css file through the standard method in the <head> tag. What I would like to do though is from another page inheriting the master page to add another link to a css file.

That way i can have the sites global file used to make the general apperance consistent, then make the internal content more flexible without destroying the current css file.

Is this a possible task? When i went into the main master page and tried to add a <asp:contentplaceholder id="additionCSS" runat="server" /> tag to the head. When this is done visual studio alerts me saying it doesn't recognize the tag 'asp'. Is there a way around this? We are only just rewriting the site to use master pages now so I'm still figuring it out.

View Replies View Related

Windows Script Host Files From ASP Page

does anyone know how to run a .wsf file from an ASP page?

View Replies View Related

Included Files Paths Chg By Calling Page...

I have a standard Header.asp that I want to include in every other page in
my site. Header.asp is located in the root folder, but the calling pages are
in various folders/levels. Since the relative paths specified in header are
subject to change and are based on the relative path of the calling page,
problems arise. (Strangley, using the IFRAME method of including a header
doesn't react the same way.)

The solution I believe lies in using absolute paths in the Header.asp file
using the "virtual" include qualifier. But this assumes your development
directory structure is the same as your production environment. So I guess
that is the answer. Use absolute paths and set up your development directory
structure to be identical to your production.

View Replies View Related

Load Binary Files Directly Onto Page

I currently have my database set up so that when a user uploads a file, it writes it in binary in the database. I know the benefits of having a separate file server and storing the path, but unfortunately, I can not do it that way.

I know how to include the file in, lets say, a hyperlink so that any user can click on the file to view it. But, I would like to know how to include the file (mainly pictures) directly into the page as an <img src> Any suggestions?

P.S.
Once the information is in the database, these are the commands I use to output the file to a hyperlink. The file that this code is in is "file.asp?Id=" Where the Id is taken from the URL and used to obtain the correct file. I left out all the connection/cmd strings intentionally just show I could show the relevant information:

Response.AddHeader "Content-Disposition", "filename=" & _
rs("FileName")
Response.ContentType = rs("ContentType")
Response.BinaryWrite RS("FileData")

View Replies View Related

Incorporating Contents Of Text Files Onto A Html Page

im wondering if there is a method/command which can be used so that when an asp page is called, it can 'explode' content from a text file (.txt) onto a web page, thus enabling a n00b to alter the text within the file, rather than the web page itself?

Further more, if I wanted to incorporate the text which is exploded into a CSS to give it some style flava, how would I do this? Is it possible?

View Replies View Related

Copy Selected PDF Files From ASP Page Into Clipboard & Paste It In Outlook. How?

I want to create an ASP page, which can copy the real PDF files into
the clipboard and then the user can paste it in Outlook message as
attachments(it's like inserting attachments)

My idea is: When user checked the checkboxes for the requested PDF
files from ASP page and press the "Add To Clipboard" button, all
requested PDF files will be copied into clipboard. Then, the user open
MS outlook message and right click -> Paste all PDF files as
attachments.

But, my code is just can copy the filepaths into clipboard not the
REAL PDF FILES. How can I copy the REAL PDF FILES? Code:

View Replies View Related

How To Include Html Files In ASP (similar To Index.php?page=contact)

I'm building a site which runs on 4 templates, each a different colour. I would like to pull in different content into each template using ASP.NET, similar to the php version of index.php?page=content.

I've not programmed in ASP before so am hoping someone can either supply me with a script or point me in the right direction.

View Replies View Related

Displaying Image From Database Saves Files To Temporary Internet Files

I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.

We have other websites where we use the exact same code and these do not save files on the server when they are displayed.

Here is the code to display the image:
Set rs = objConn.Execute( SQL )
Response.ContentType = "application/octet-stream"
Response.BinaryWrite rs("Product_Image")

SQL is the SQL String to get the image from database

When I add this code:

Response.ContentType = "image/jpeg"

The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.

View Replies View Related

Asp Not Running

I've installed iis6.0 on win2003. All static content with
ssi etc rendered fine on the browser, but gives a 500
internal server error if i try access any asp page. The
log file says:

ASP_0134|Invalid_ProgID_attribute 80 - 127.0.0.1
Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1. 1.4322)
500 0 0

All the dll files are in place and I have enabled asp
scripting. Can anybody give me a clue as to where am I
going wrong?

View Replies View Related

Running ASP On A CD-ROM

I'm cobbling together an e-commerce site with thousands of items (spares, accessories etc) and want to distribute it as a catalog on CD. I don't fancy rewriting it to HTML. Is there any way to run the ASP and database on a CD-ROM. I've tried Dynamic-CD but it won't do the job and there is little or no help on their web site.

View Replies View Related

Running A VB Exe From ASP

I am trying to run a simple VB exe from the asp. I am using the following code

Set oWSH= Server.CreateObject("WScript.Shell")
oWSH.run "%COMSPEC% /C est est.exe",3, False

The exe is seen in the task manager. But it is not running. When I use this same command in the command window, it works fine. Can some please help me. It is for Intranet development. I am trying to run the exe in the server only.

View Replies View Related

ADO Running Under IIS

I have a new W2K3 box running IIS.Is there anything I have to install in order to use ADO?when I perform the following

Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open "mydsn"

I get the error

Provider error '80004005'
Unspecified error

View Replies View Related

IIS 5.1 Is Running

I had a windows xp professional and I install the windows component so that I can use the IIS 5.1 to test an ASP file. I went to start and click the run button and then type mmc. As soon as the mmc window opens I click the console but there is an error saying that there is nothing into it.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved