Network Places
i create virtual directory on iis with network directory is a share located on another computer...after i did that ....i can't browse that virtual directory...if i browse that virtual directory ...at browser IE show message the page cannot be found
View Replies
ADVERTISEMENT
I have searched the forum and found the answer to my problem but unfortunitly it didn't tell me how to implement the solution!
The code I have thanks to previous forums:
Code:
<%=(rs("Seconds")/60=FormatNumber(2.5,2))%>
Basiclly I want to convert the seconds to minutes and round to two decimal places.
View Replies
View Related
I need to truncate a number to two decimal places without rounding. All the functions i;ve tried tend to round up the numbers. Also i cant use any string functions to limit the size because the size can vary. example, 34.56998 must be set to 34.56 .
View Replies
View Related
can anyone tell me the easiest way to make sure numbers get passed with 2
decimal places?
ie:
<select name="TagCost" id="TagCost">
<option value="25.00">1 @ 25.00</option>
<option value="50.00">2 @ 25.00</option>
</select>
fprice=request("TagCost") <------- need to make sure this is 25.00 not 25
View Replies
View Related
Alright, I have a form that needs to post to form_process.asp
However, it also needs to post to another site/, say example.com/process.asp
How would I do this?
The place it needs to post to is off site, and MY form_process.asp needs to save the data before submitting it to example.com/process.asp
Possible?
View Replies
View Related
Right now I round my number to 2 decimal places... and since I am dealing with money values I need to show $100.70...but my calculations show $100.7. Is there a way to fix this? How can I tack on a "0" if it only shows 1 decimal place?
View Replies
View Related
I am trying to display a currency field from an access db on an ASP
page. The only problem i found is that if there is a 0 (zero) after
the decimal i.e. 79.60 it is not displayed.
I tried doing the whole var = CCur(TBL("Price")) thing but there is no
zero.
View Replies
View Related
I have some code that divides a number and then prints this number. It performs a cost rollup basically and then adds a percentage. The code works fine except that the number returned has many figures afert the decimal point (as you would expect really) How can I remove these ? I am not really concerned about rounding up or down, just removing to give me a whole number.
View Replies
View Related
I have got the total amount of hours flown in the top left hand side of the home page and it is in hours.
Trouble is the decimal places need to be rounded to 2 as sometimes it says sometihg like 3254.63333333333 hours. I'd like it to say something like 3254.63 instead.. Code:
View Replies
View Related
can anyone help me i want to round off a number entered by a user to two decimal points for a number of text boxes.
View Replies
View Related
This is my souce code to upload multiple file into 1 directory. How can i improve it to make it can upload to 2 different place in the same time when i click the upload button? Code:
View Replies
View Related
Where in the following line of code would i place format percent so that the output is like this
6% (no decimal places just a number and a % sign.
<%
If (lngVotesCast>0) Then
%>
<%=CLng(objRs1("num"))/lngVotesCast%>
<%Else%>
<%End If%>
I have tried it in various places but i can't get it to work
View Replies
View Related
I'm not very familiar with classic ASP, but I need to modify an existing form on an ASP site to make the form data get posted to 2 different locations. Any suggestions on options to accomplish this?
View Replies
View Related
I have a report that will format a number to the last 2 decimal places. However it will trim off the 0 at the end. Example.
98.90 is formated to 98.9
how can i tell the format number function to not trim the 0 but still have the last 2 digits.
View Replies
View Related
My system is on the Network.The system has a Project being developed in ASP and Oracle.
shared the ASP files but in other system the file is showing as MS-Front Page.
both the systems are on Win-2k.
View Replies
View Related
I've looked all over and can't seem to find any information on whether or not you can get a file through a network. I have a webpage that needs to check to see if a file is on a specific server. Is this what it would need to look like?
Set file1 = fso.GetFile("computernamedrive
otesap.zip")
View Replies
View Related
i got an asp project, current done the phase one, is a web application over the internet. phase 2 the client need us to do a add on application to previous web application. but can only access with their own network.
that mean they want some portion of the application to be over the internet, and some portion of their application can be access by their own network only. so what do i need to do to make my system to know the station accessing the application currently is within own network or from other network?
View Replies
View Related
I've been getting this recurring "[DBMSSOCN] General Network Error" ever since we separated our web server and our database server. My connection string has been as follows:
Provider=SQLOLEDB;Data Source=machinename;Initial Catalog=xxxxxx;User
ID=xxxxxx;Password=xxxxxxx;Network Library=DBMSSOCN
Is it possible that changing the machinename to an IP address will help? Initially, it seemed as though adding the Network Library parameter was working, but recently it started to happen again.
View Replies
View Related
Is there anyway I can check to see if a server is online in my network with an if statement saying if online response.write "Online" else response.write "Offline"?
View Replies
View Related
Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------
Please try the following:
a.. Contact the Web site administrator if you believe this directory
should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Does that mean that we need to relocate the files where the server allows
ASP executable commands to function? Or can the directories properties be changed so that such executables is allowed?
View Replies
View Related
we have our Intranet in work where my ASP pages are and i want it to connect to a database on one of the network drives.. The location of my database is:-
NW-SHARE-1DATATEMPTRANCOMMON@digireportsRobbieASP es t.mdb
but the following connection code i have doesnt work:-
config.asp
Code:
View Replies
View Related
I have a dll I wrote in VB6. Basically, it can list all the printers
it finds as well as print to a selected printer.
I created a test app in VB6, added the dll as a reference, and added
the following in a button click: Code:
View Replies
View Related
<i><b>Originally posted by : Augusto (augustocm2000@yahoo.com)</b></i><br />Hi<br />I've got a problem that I´ve been trying to solve but there is no way I can find the solution.<br /><br />I am mapping a network (intranet) drive in my computer (winNT 4.0), but when I try to "see" this drive (or a directory of this drive) from an asp page, it is impossible! What I mean is that the drive is mapped and accessible in my windows explorer, but my asp code says "Path Not Found". And I have no problem when I "see" a local drive, it locates without no problem.<br />Does anyone know if this is a problem with the server??A configuration problem, for example?!<br />
View Replies
View Related
I need to know if its possible to create an ASP page that when requested
will display the network id of the requester.
Most people have told me to query the request.servervariables("LOGON_USER").
But this will get me the login of the server and not the client. In our
situation we do not want to have our users login twice (once to their machine
(the client) and then again to the server (the one that serves the asp page).
I need to know the client logon name.
View Replies
View Related
We are trying to display pdf files which is mappedre to the IIS server. For ex:
My website is located on server A and the url is http://myfolders
Now there are some pdf files ( ja.pdf,feb.pdf..) located on server B which is mapped on server A on the F drive.
So f: >> Server Bpdf folder
Using ASP we would like to allow the user to search for a pdf say jan and we display the pdf as a downloadable link.
View Replies
View Related
I am trying to write a file of emails to my mail server for a newsletter.The emails come from a form on a website and append the file.However I can not accomplish this.I have tried mapping the a network drive.Then writing to the file with the path
"U://subscrib.txt" using the filesys obj.
This did not work and I am unsure why.I could not add the internet user to the permissions on the mail server because its not the same machine.
View Replies
View Related
i m making an intranet website(asp is used) , on the home page i want to display the network user ip & user pc name when anyone opens the website. can any 1 help me out how to get the pc name & user IP of network user?
View Replies
View Related
I have a mapped drive on my intranet web server to my internet web server. When I iterate through the drives collection on my intranet site, my mapped drive does not show up. Is there anyway I can get to this drive to read a small set of known files? I don't really want to have to create a virtual folder on the internet web server and move the files in question to it so that my intranet server can get to them.
View Replies
View Related
I'm having a bit of a problem trying to capture a users LAN ID from the network. Currently I have an activex component that does it for me and I use Javascript to display/capture. Which was fine prior to the DDA guidelines. Now I need to find a way to do so without using JavaScript.
The first thing I tried was to use the Servervariables available but unfortunatly our servers use annonymous authentication, so I can't use that method. I've even tried but had no joy accessing Active Directory for the LAN ID, so I'm currently left scratching my head. Does anyone know of a way I can acheive this?
View Replies
View Related
i would map a network drive from a share on another server. it works fine with the net use command under user login but it do not work from an asp script or dll.
is this that i have to add the iuser_<computer_name> profile into network computer that share it resources?
View Replies
View Related
when i try to use request.servervariable(login_user) it returns empty in asp. i created a dll in vb using the apigetusername . when testing this in vb , it retruns the network login id. But in asp it returns the servername where the asp is running.
View Replies
View Related
i want to map to other drive/folder in other machine is possible to do ? i am just handling some file management through web(intranet). my asp files are on my webserver, i do have an file server as well.
want i want is map to my file server so that user can handle their files (of course they are restricted to some extend). some sample code on this.
View Replies
View Related
I'm trying to create an admin page that can run miscellaneous scripts for our IT department. Currently, I'm trying to create a script that can map a network drive for a user (e.g. a form where I can input pathfolder, drive letter, and domainuser). Is this possible? If so, can someone point me in the right direction?
View Replies
View Related