Modify IIS Settings

Does anyone know if there is a way of changing IIS settings using ASP specifically:

"The content where this content should come from" radio button property set on the Virtual Directory Tab (of a VD).

View Replies


ADVERTISEMENT

Modify Variables

How do I change the text between a carriage return and a colon ":" in a variable?
I am calling a memo field in a recordset and want to change the format of text (colour) between these two points. How can I do it?

View Replies View Related

Modify A Number

I want to erase a line (or modify a number) in a text file throught asp, how do I do that? I have noticed that there are three ways of opening files,

1=ForReading - Open a file for reading. You cannot write to this file.
2=ForWriting - Open a file for writing. (If open an existing file, it deletes everything)
8=ForAppending - Open a file and write to the end of the file.

How can I just skip a few lines and erase a destinated line or maybe change a word in a line. without using an brute force (copy the file back and forth...)?

View Replies View Related

Modify Single Value

I've built an array like this and I've put it into an application:

Code:
If not isArray(Application("utenti"))thenDim online(1,4)online(0,0)=4 online(1,0)=1online(0,1)=5online(1,1)=1online(0,2)=7online(1,2)=1online(0,3)=9 online(1,3)=3online(0,4)=15online(1,4)=3application("utenti")=onlineEnd if
Now is it possible to modify some values in this application-array?For example trying to set the value in position 1,1 equal to 3 I wrote: application("utenti")(1,1)=3
or

Redim Preserve application("utenti")(1,1)
application("utenti")(1,1)=3

View Replies View Related

Modify Files From A Web App

I've developed a web app that generates documents (like word files, opendocument, excel etc) let's the user download it to their computer, edit it, and then upload the modified version, where it would be stored in a database.

I'm trying to find a way to let the user edit the file on-the-fly, and when saving it automatically update the database. That is, I'm looking for a way to automate the download-open-edit-save-upload cycle. Ideally, when clicking on a link, the user would choose to open the file with the apropiate application, and when saving it the database would be updated. So, any ideas?

View Replies View Related

Cannot Modify Or Delete...COM+ Admin SDK

I managed to find the problem with my script thanks to jmurray's help. However I am now left with a confusing puzzle and I cannot any information about a workaround.

The error I now get is:
Cannot modify or delete an object that was added using the COM+ Admin SDK

I know now the reason for this is because I changed the 'from' email address in my script. If I put it as 'service@safetouch.com' it works fine. If I change the address to ANYTHING else, I get the above error. Is this something that can be corrected through scripting? If not, any ideas where I should be looking?

View Replies View Related

How Can I MODIFY Excel Database In ASP?

I have a databse in MS Excel which I would like to use it in ASP? I got instruction on how to open and display the Excel databes in ASP, but I cannot make it to modify/add/delete the records.

View Replies View Related

Modify Word Document

any way to modify text content of a word document through ASP?

View Replies View Related

User Modify Database

I'm looking for a code already written if it is possible (as i need to do this soon)I have a database(access) and the users submit data from a asp page and it stores the values. Then it also allows the users to login to the web page using the data (username and password) inserted by the user.

What i want is that when the user logins, to be able to modify the inserted data..Perhaps the user wants to change the e-mail address. I tried doing some search in google but the results were no good.

View Replies View Related

Modify IE Page Setup

I would like to modify IE page setup before printing the window. But i want to do it without opening the FILE-> Page Setup window. In fact, i would like to remove the header and footer of pages beforeprinting them. but i want to do it using asp or vbscript and without any end user action.

View Replies View Related

Modify Excel Template (xls Or Xlt)

From the ASP application I am trying to 1) open a template 2) add data to a couple of fields (passed from order.asp to invoice.asp) 3) do a Save As so that the user can save to client.

I have this code working fine for a word document, but I am having touble with the XLT. Any suggestions?

View Replies View Related

Modify A Field Using Pure Sql

I have a program that will need to update a certain table entry repeatedly - so I want the transaction to take place without using up too much time or system resources. I basically want to update the field with the current time i.e. Now(). Let’s assume:
The table is called tblExample. The field is called LastTime.

I could do this very easily using record sets, but I understand that using pure SQL is much faster than using record sets. So, how would I update the field using only SQL?

View Replies View Related

Modify Asp Page According To Monitor Resolution.

I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this?

View Replies View Related

Modify Multiple MDB Table Designs

I've got quite 20 identical MDB files running on an IIS5 server. From time to time I need to go into various tables and add a field or two. It would be great if there were an application out there that could either: sync all MDB designs (and/or data) esignated to match one I've added some fields/tables to OR go into all designated MDBs and create new field(s) or table(s).

I've began writing something like this that right now just does part of (b) but I'd rather find something that is much more slick and complete.

View Replies View Related

Update / Modify A Exisitng Row In The Database

I manage to solve the last problem, but now I've encountered another one. I think there is something wrong with the UPDATE statement in this code. I am using Oracle 8i and Sun One ASP. Code:

View Replies View Related

Modify And Email Existing Excel Document

I have an Excel Template that is filled out in certain senarios. What I want to be able to do is access this existing Excel Template through a webpage, enter nessisary data into the template, and then e-mail these changes to certain people. The original Excel template needs to stay Unfilled out and unmodified once the process is complete. If saving a different copy to e-mail is nessisary that is ok. I have Created the Excel object on the server to be filled with database info from a query, but I'm not sure how to open an current excel document and then email that document onces it is filled out..

View Replies View Related

Need To Modify A Dreamweaver Update Record Script

I need to alter a dremweaver Update Record function but am a bit lost with it. I basically need to take the values from 3 drop downs that let you selct the date (day, month year). I've written a variavble that adds these together to make a date:

JJ_theDate = Request.Form(selectDay) & "-" & Request.Form(selectMonth) & "-" & Request.Form(selectYear)

but have no idea how/where to slot this in with Dreamwevers code (below) that does the SQL update.. Code:

View Replies View Related

Modify Data Results Linkbar Buttons

If anyone can guide me to change my basic data results link bar buttons (First, Next, Previous Last). I will like to use my custom arrow buttons but don't know how. The default buttons are generated by default with i create a query. Where do i go to modify these buttons, and what code do i use in the new buttons i will like to use....

View Replies View Related

Local Settings

The webserver I'm using (which I can't make any changes to) has a
Dutch-localsettings. When doing simple calculations the decimal-symbol in
ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol
by code? (IIS5)

View Replies View Related

MySQL Settings

trying to connect to mySQL4...using....
set conn = server.createobject("adodb.connection")
conn.open "driver=MySQL ODBC 3.51 Driver;database=kraken1"
Set rs = Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * FROM Access"
rs.CursorType = adOpenKeyset
Set rs = conn.Execute(SQL)

And what i get is the error...
"Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype."

Is adOpenKeyset NOT the cursor to use????

View Replies View Related

SMTP Settings

I'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.

View Replies View Related

Regional Settings

I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78. But when I open my web site all number are diplayed with the old format which is 123,456.78. I changes also the regional setting of my computer but it does not work.

View Replies View Related

Resetting All Iis Settings

is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?

View Replies View Related

Is It Possible To Change IIS Settings From ASP?

That was the first question. BTW, I am using Windows 2000 Server.

Second questions is how do I transfer session variables from one virtual
website to another website. Currently I have session variables set in say
www.first.com and then I click a link and goto www.second.com. How can I
transfer session variables from www.first.com to www.second.com? Both sites
are virtual websites and running on the same physical server running Windows
2000 Server and IIS.

Is it even possible to transfer session variables between 2 websites? Or
share the same variables?

View Replies View Related

Get To The Ragional Settings

how can i tell the user location (from the ragional settings?) in asp? i have a website written in several languages, i want to check the user country and redirect to his language automatically.

View Replies View Related

SessionState - Db Settings

In a asp.net app in the web.config the session state can be looked after by the data base - the settings need to be entered into the web config such:

<sessionState
mode="InProc
stateConnectionString="tcpip=127.0.0.1:42424
sqlConnectionString="data source=127.0.0.1;user id=sa;password=t09
cookieless="false"
timeout="1200"
/

Our problem is that we do not want to expose the password of the data base user here - rather maintain it in a dll - is there a way for the code behind classes to set the user/password programmatically ? and if so how?

View Replies View Related

Window Settings

Is it possible to declare the window settings (like toolbar displayed, width and height, etc.) when a page is loaded? Or is it only possible when with a link to a page? And is it possible with ASP only, or do you need javascript? Does anyone has some examples/tutorials?

View Replies View Related

Dayofweek Regional Settings?

I just installed a win2k server with sql2k and when i run datepart(wk,getdate()) it gives the american day of week, not european were monday =1 how do i fix that? can i set something in control panel? everywhere i look in regional settings I see it all set to swedish.

View Replies View Related

Regional Settings In IIS6

I am trying to set a webserver to use French regional settings for testing
ASP pages.
According to http://support.microsoft.com/kb/q306044, for IIS5, this is a
matter of changing the regional settings for the authenticated user, and if
this user does not have a user profile then the default regional settings.
Unfortunately, this does not seem to be working in IIS6, in that I have
change the default user's settings and I am still getting English dates. Can
anyone tell me if this is because the way IIS chooses its settings has
changed for IIS6 or just because I have done something wrong?

View Replies View Related

Regional Settings In Iis Server

Iīve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6.
All regional settings on the server is swedish(thatīs what i want) and it
looks correct in all ways but when running the date function in a asp page
it returns english short date format 24/5/2004 when I think it should be
2004-05-24.

The problem is that the application assumes swedish short date format.

Iīve read somewhere that the IIS server account has itīs own settings, how
do I change this ?

View Replies View Related

Visual Studio Settings

How do I turn off the feature that adds code to my ASP pages in Visual Studio 6? I using include files and the editor keeps adding

<html>
<title>
etc.....

to all of my pages causing them not to display properly in IE or NS. It's a pain going back in and deleting all of the unnecessary code it adds to my pages.

View Replies View Related

Cannot Read Application Settings

I've defined two application settings in my web.config file. But in the following code :

Dim rootWebConfig1 As System.Configuration.Configuration
rootWebConfig1 =
System.Web.Configuration.WebConfigurationManager.O penWebConfiguration(Nothing)
If (rootWebConfig1.AppSettings.Settings.Count 0) Then

sField1 = rootWebConfig1.AppSettings.Settings("field1")
sField2 = rootWebConfig1.AppSettings.Settings("field2")

End If

rootWebConfig1.AppSettings.Settings.Count always returns 0.

What am I doing wrong?

View Replies View Related

Visual Studio IIS Settings

I have been trying for ages to get IIS running ASP script pages, without success.I don't know if it is a problem with IIS or visual studio I have tinkered with all the obvious stuff. point me to a website or a book which covers initial setup, step by step.

View Replies View Related







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