Showing Shared Dir
I'm working on a Intranet, and found this code to list the contents of a directory.
However, the only directory I've been able to show is the dir where the script itself is (Inetpub/Scripts).
How can I redirect to a directory somewhere else on the network ? Code:
View Replies
ADVERTISEMENT
how can i allow access to a shared network folder? i am trying to give access to my as pages only. i don't want just anyone to type in the path of my files. i can't seem to do this with a shared folder.
View Replies
View Related
I have 2 servers and I would like to access shared files on server 1 from an asp page situated in the server 2 (with the filesystem object).I can't do it, I think, due to access restriction with the user IUSER_.Both servers are Windows 2003 server no situated in a domain.Is there a solution to this problem ?
View Replies
View Related
Now I created a web site and try to start it ... but I used some dlls ... and when I asked my ISP to register those dlls for me ... they replied me like below "since your site is on the Windows shared server, we may not be able to register your .dll file" ...
"We hope you would consider the alternative ways to implement at your end." So what do I need to do? What I need to do is to remove away all the dlls and change my ASP code?
View Replies
View Related
We have a development team working on ASP.net. I shall explain the scenario we face.
Consider two systems, in the same network, one with windows server 2003 running IIS and other with windows xp. We have a shared folder "test" on the xp machine.
I want a program to be run in windows 2003 server, and want to save the files created during the process in folder "test" on xp machine.
this is working fine, when i write the program in Visual Basic, but the same is not working in ASP.net. Why is this happening?? Is it because of any folder permission given in the XP machine??? Should i need to add any permission to the folder???
View Replies
View Related
I have several folders on a test web server that are not
visible in the directory structures of several programs,
including Visual Interdev and Stac ReachOut. All these
folders have one thing in common: they are shared. I
tried turning sharing off to fix the problem - no good.
The only way to make these folders visible to my project
is to manually add them. But every time I refresh my
project view, the folders go back to not being visible
and I have to add them again. Any ideas?
View Replies
View Related
I moved a site from a dedicated server to a shared hosting environment. On my dedicated I could specify the order of precedence for the default / index files. On the shared default.asp takes precedence of index.html and I can not change that.
Support told me to look into using a web.config file to accommodate my needs. What I need to do is have the index.html file show up first, not the default.asp Is the web.config file the route to take?
View Replies
View Related
I've recently uploaded a site to a new ISP, which is on a Win2003 platform. I've had a problem in that the existing ASP scripts handling email form submissions all experience the following error:
Microsoft VBScript runtime error '800a0046' Permission denied
From what I can gather this is due to moving from Win2000 to Win2003, and specifically the problem lies in this line of code: ....
View Replies
View Related
Can anybody help me with displaying two xml content in a asp page. i want it to be shown with collape and expand feature (with those + and - feature when an xml file is opened in explorer).
i tried having html frames but i am not able to add menu in the same html page. right now i have menu and two text boxes to display this xml content. i want to use something else instead of text boxes to display xml in indented form. i thought i could use browser component in asp page but it doesnt work.
View Replies
View Related
I have an active-x control on my asp that loads a wmv video file.But i have a problem viewing the video until i have download the whole video on the active-x control.
Is there a way to see a portion of the video without complete download?
View Replies
View Related
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but no use. This is working fine on win2k IE6.Here is the html file I am using to display the tif file.
<html>
<head>
<img SRC="http://192.168.0.30/test/test.tif" BORDER="1">
</head>
</html>
View Replies
View Related
I make a intranet Project For a Company.In that Project i make some reminders that can send each other users.When the Reminder come it should be alert like yahoo or Msn means Reminder should be show right side of the Taskbar and it's come like fade.
View Replies
View Related
i have just uploaded the new files to a website i have rebuilt. I have refreshed IIS and restarted the website but the new files are not showing through on directories that existed before eg subscribe etc. The new directories that didnt exist before work fine but would the internet connection in our office be caching previous pages that are no longer there and trying to access them?
View Replies
View Related
I'm really trying to make this work. I have a dbtabel with following fields.
ID
PlayerID
Date
Point
I want to show each players point like this "1,2,5,6,4,8,9", but i want the script to first add up which player who has the most points, and then list them in order of wich player who has the most points...
1,3,5,6,4,5,9
2,1,1,3,2,3,6
2,5,6,4,1,1,0
Each row is each PlayerID's row. Is this possible.
View Replies
View Related
my problem is The updates on my asp files are not reflected in the browser. Till recently everything was working fine.
Today I installed new updates on my windows 2000. After all the cached asp contents are appearing and the updates are not getting refreshed. I dont know if this is becoz of the updates on my OS.
I had a file addfield.asp. It was working fine, I made some changes and they worked. But after that my updates are not reflected. If I rename the file to addfield1.asp. I am getting the desired results. Again if I change the contents of this file, they are not appearing.
View Replies
View Related
why some of my graphics wouldn't be showing up? I'm using css and everything looks fine in dreamweaver until I upload it then half my graphics are not visible on the page but they are there because I can still click on them, I just cant see them. Any reasons?
View Replies
View Related
I inherited a database driven site, which displays events pulled directly from an access 2000 database. when these events are edited in the admin system, or when a new record is added (again via the admin system), the record will no longer show up as being editable on the choose_event.asp page. I checked the database, and the changes are being made.
View Replies
View Related
ok so I wrote a template based CMS.... A small company requires a website, they come to my site www.mutedesigns.co.uk/sbs and choose a template, pay, register, edit ther details and pages and then view their site simple and it all works yay! Code:
View Replies
View Related
I have a table called 'players2005' with fields of 'player' and 'pdob' The 'pbod' is a DATE realted to the players date of birth.
Using ASP how can I call the access database to show members that date of birth is today.
I have the rest of the script but just nedd a SQL statement Code:
View Replies
View Related
I've been working on a page at work, which has been fine, yet when ive come to try it at home, i load the page (the page loads fine) but i see all the code etc that was hidden before.
example what i see at the top of the page:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%<% OPTION EXPLICIT %<% 'dim
oCdoMsg, oCdoConfg, st
but i see tons more than that, basically all the code to the next %>
View Replies
View Related
What to only show the Null fields on an ASP Update form. eg.
<% If "Recordset1.Fields.Item("B15-1").Value" = IsNull then %><input type="text" name="B151" value="<%=(Recordset1.Fields.Item("B15-1").Value)%>" size="32"> ...etc
get what i mean? Needs to be per field - as the exact fields will differ from record to record Any ideas?
View Replies
View Related
I'm using AbsolutePage to show the results of my recordset in different pages; of course if there is a lot of data, it's gonna show all the links (for example 100 pages, 100 links) So I want to do something like this:
pag. 1 2 3 4 ... 97 98 99 100
and of course without showing "..." if there are less than 4 pages.
What's the easiest way?
View Replies
View Related
I have a Golf leaderboard based on points given to each player after each match. That works fin, but is it possible to show everys players record after his or hers name. At the time it looks like this.
Mike 7,50
Peter 5,45
etc.
My code is like this Code:
View Replies
View Related
I am using SQL 2000 database and MS Server 2003.
I am pulling in data from a sql table. For some reason, when I include
the following line:
<tr><td><b><%if rs("Street_dir")<> "" then response.write
rs("Street_dir") & " " end if%>
<%=rs("Street_num")%> <%=rs("Street_name")%> <%=rs("Street_suf
fix")%></b></td></tr>
then the following line does not display:
<tr><td><%=rs("remarks")%></td></tr>
The REMARKS data is blank. But, if I remove the upper address line, then
the REMARKS appears. The address is 1111 Main so that does not seem to
be the issue. The address information is VARCHAR fields, 255 characters.
This works fine on another server where my files used to be, but I just
moved to a new server.
View Replies
View Related
I have an upload facility which is working fine. uploads to a folder (photos) through aspsmartupload and database. Ive checked the folder, n database to see if the file is being uploaded and it is.
ITs just not being displayed properly on the site. ALl the pictures come up with a little white box with a red cross in it, in the top left had corner.. so its identidied as an image , but its not showing the actual image. .
View Replies
View Related
I am using ASP to read code from a text file that I am displaying on my
page. Because I do not want the code from the text file to be executed, I
used the Server.HTMLEncode() method to display it as it is in the file.
However, the spaces used to indent lines is still removed by the browser.
I
cannot use VBScript's replace function to replace all spaces with
because that would replace all spaces, including ones that I do not want
replaced as well as majorly increasing the size of my file. Is there any
way to display the spaces used to indent the lines without manually writing
a function to do it?
View Replies
View Related
I would like to have the option to show and include file which has a one line table with a red background and printing to pull info out of a SQL database but only if there is data in the table. Basically it is to show breaking news when it happens before there is an article. The SQL table is called breakingnews and the column is called brknews. If the column brknews has nothing in it, I don't want the table to show up on the page but if there is data in it, I want the colored table and text to show up on the page.
View Replies
View Related
If you'll notice, there's a comment in this snippet that drops the extension. How can this be modified so that the extension IS shown?
Set myFileSys = Server.CreateObject("Scripting.FileSystemObject")
Set Folder = myFileSys.GetFolder(Server.MapPath("/meetings"))
for each file in Folder.Files
If Not file.name = "index.asp" Then
FileName = Left(file.name, (Len(file.name) - 4)) 'drop the extension
FileSize = cint(file.size / 1024) 'convert into kilobytes and drop the decimal
Response.Write("<li><a href='/meetings/" & file.name & "'>" & FileName & "</a> - " & FileSize & " K<br>" & chr(13))
End If
next
Set myFileSys = nothing
View Replies
View Related
Showing an HTML file in part of a Webform.I have a Webform with some buttons on the left side of the form. What I want when clicking one of the buttons is to show an HTML document in a part of the Webform (as if it was a Frame page).
View Replies
View Related
I saw a while page a link to show folder details ie folders / files in a directory
let me know any links to tutorials
View Replies
View Related
How do I display 'Please Select' as the default value my code is below.Code:
<option selected>Please select</option>
<%SQLStmt = "SELECT magcode FROM Magazine ORDER BY Magcode"
Set rsDistMags = Connection.Execute(SQLStmt)
Do WHILE NOT rsDistMags.EOF%>
<option value="<%=Trim(rsDistMags("magcode"))%>"<%If Request("magcode") = Trim(rsDistMags("magcode")) Then Response.Write " Selected" End If%>><%=Trim(rsDistMags("magcode"))%></option>
<%rsDistMags.MoveNext
Loop%>
</select>
View Replies
View Related
I see a similar unanswered post here, I face the same issue.Does Win XP have some bug with Microsoft Office Web Components 11.0 ?I am unable to see a pivot table which I added, in my web page.Strangely enough, this control is showing perfectly in Win 2K with the sameweb page.
View Replies
View Related
when i try to view an ASP page in my IE web browser, all i see are the codes used to design the page but when i preview 'em in Dreamweaver its okay.Why is it so ?does it mean if i publish my asp pages to the web; thats how they'll be on other people's browsers ?what do i do to be able to see the actual web page and not the codes in an ASP page.
View Replies
View Related