Annoying problem on a server with IIS 5. [We have other
IIS 5 that show asp files just fine. I'm at a loss. ]
I can open htm, html, gif, jpg, all files except asp
files. The message when opening an asp file is:
"The page cannot be found...
blah blah blah
HTTP 404 - File not found"
I've looked everywhere. Permissions are okay with IUSR
and security since we can browse other files. The asp
files in question are NOT marked Hidden...
What can I do to make it render the asp files? Ideas?
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.
Am developing a website, thats only allows user with permission to acces certain file.
What I have is a webpage that list all different projects available. When a user clicks on a project, he is asked to enter username and password.
If succesful the user is then taken to a webpage displaying all files available to download for that particular project. Note: All the files asssociated with particular project are in necessary folder. So project London, has a folder called london with all its files in that folder.
How do I get all the files displayed on the webpage for that particular project?
I have 2 include files on my page which are both navigation bars. When i view my pages in IE they look fine and everything is in the correct place, however the problem is that when i look at the pages in design view in Dreamweaver i can only see my first include file. the rest of the page is not displayed so makes designing hard as i cant really see what i am doing until i view my page in IE.
WHY IS IT DOING THIS???????????????? Or is this meant to happen, i have never used include files before, but im assuming this shouldnt happen?
After qeuering from Access I store the values of the recoredset (like rs.recordcount, rs.AbsolutePage) in variables in ASP, but when i display/use them later in the page it shows -1. but the page shows the queried data properly.
<%@ Language=VBScript %> <% Response.Write "<SELECT id=select1 name=select1>" Response.Write "<OPTION value=1>One</OPTION>" Response.Write "<OPTION value=2>Two</OPTION>" Response.Write "<OPTION value=3>Three</OPTION>" Response.Write "</SELECT>" %> When open this page,select1 shows "One".I want when open the page,select1 shows none.That is to say,nothing is displayed in select1.
- we've form to be filled. and data will be mailed - what happens is, mail shows up special characters in places of commas, and other special characters inputted
I have a Combobox and a textbox in my asp page. I want the value of Combobox in Onchange event shows in the textbox. this my code but it isnot correct.
<script Language="JavaScript"> function NavTo(a1) { document.forms[0].text1.value=a1 } </Script>
I have an asp page that outputs a word document. Wnen the user attempts to open this page from a hyberlink in an email document the word document opens fine but if they save then an action cancelled message appears in a browser window. If you cut and paste this same link into IE and attempt to saves there is no browser window opened.
If the user attempts to open instead of save the document it opens in a word out side the browser. I am told this used to open up in word insdie the browser.If you cut and paste the link into explorer and acess it from there the word document is displayed in word inside the browser.
If I omit the content disposition header the word document opens inside a browser no matter how it is opened however the save problem remains.
I do not want the browser window to remain open. Or if it must then I dont want the ACTION Cacelled message. How can I control that
I have an index.html and redirect in this index to an ASP-page (so a file called XXX.asp). The browser shows me the code of XXX.asp in stead of the layout of the form. How come ?
And when I access this index.html from another machine in the network, I got the error the page XXX.asp cannot be found ?
i want to do is to have an update form that shows tick box data which is read from an access database via asp and a dsn less connection string. Have achieved it with text boxes but can't for the life of me figure out how to do the same with tickboxes.
Not sure if this is the correct newgroup to ask this, if it is not please direct me to the correct location. I have IIS5.1 on a Windows XP Pro SP2 machine. The extensions for ASP and asa are missing the DLL files. Like "inetsrvasp.dll" how can I get this back. Would this be on the original CD.
I have an asp page that I use to build the sql criteria for a Crystal report version 10.
The report writer page takes the criteria and supposedly passes the sql string with a where clause to the page that hase the viewer. Here is the code where I pass that script to the report viewer page: Code:
I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size
I am using MS Visual InterDev 6.0 SP5. When I connect up to web servers not local to my machine, I am able to create the project; however the issue comes when I am tring to create a new local project. It keeps asking me for a user name and password. I did not setup a password.
Having previously had this working on my XP machine, I've come back after a month to find this error occuring now. In the meantime, I had installed PHP (v4.2.3) which could easily be a factor.
The symptoms are that when I call an ASP page, I get a standard 404 error. However, if I dont specify a page, and a default/index page is found, it renders the page OK. I've uninstalled PHP & rebooted, but this didnt work.
Ive recently migrated from dirty ol' PWS on Win98 to IIS 5.1 on XP and Im a little unfamiliar with the IIS snap on. Would any of you be able to help me with permissions so the Db can be updated but without adding security risks.
I found this articel that says that Server.HtmlEncode will screw up unicode data. I'm using htmlencode on many pages and cannot see that data are corrupted.
It says in the "This information in this article applies to" section that it is applicable for ASP 2.0 with IIS4 and IIS5. I thought IIS5 only supported ASP 3.0? Is the Server.HtmlEncode OK to use in ASP3.0 on IIS5?
I've uploaded a copy of the ASP code and accompanying DB onto another server that is running both IIS5 & SQL Server. This is so that the development can be demonstrated to key users at particular points.
However, when I access the application [on the server] from my machine, I'm getting to odd caching behaviour that I dont understand. All the pages are being cached and I need to refresh each page to get the accurate results.
The server is configured such all content should expire immediately, and each ASP page has Response.Expires = 0 at the beginning, so AFAIK these pages shouldn't be cached! Code:
I have an ASP app that grabs the logon user, and then I use GetObject to query the user's security groups. On a Windows 2000 server running IIS5, this works excellent. I then copied it to a different networks, Windows 2003 server running IIS6, and now I get permission denied on GetObject. How can get around this?
We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:
<!-- #include virtual="../../includes/file.asp" --> will not work on IIS 6, it returns ASP 0126, include file not found.
We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.
I just upgraded to Windows XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that when an ASP page generates an error, and the Error handling is set to "On Error Goto 0" the page just stops, as if I typed a response.end, and no error information is returned to the client. If I set On Error Resume Next, and write err.desc after the offending line, the error text is written correctly. For debug purposes of course it is nice to be able to immediately see the line number, and description though.
Anyway, does anybody know what setting I need to change to fix this? I have server side, and client side debug set, and I have it set to send detailed errors to the asp page.
Another interesting thing is if there is a compile-time error, like a syntax error, or something, the page doesn't load, but I get the error message until an error happens with the above condition, after that, it will just return a blank page.
Let me first apologize for anything that makes me sound stupid. I'm really not a ASP programmer, but i am the one fixing our glitch.
First, let me explain whats going on. We have a company intranet signout board. And under our IIS4 server, it works just fine, but under IIS 5 its works except for one glitch. The board lets the user choose their name from a databse, and enter a date and time of leaving a arriving.
On the old server, if the user just entered a time, it automatically added the current date followed by the time. Now, if the user just enters a time, that all that is displayed, and for some reason the board will only allow one name to be displayed like that.
So if person A signs out with just a time, he is listed, until person B signsout and overwrites person A
I think i have narrowed the problem down to this
If FormatDateTime(Request("txtReturn" & intIndividualPerson),2) <> "12/30/99" Then
rsUDPerson("OutReturning") = Request("txtReturn" & intIndividualPerson) Else rsUDPerson("OutReturning") = Date & " " & Request("txtReturn" & intIndividualPerson) End If
The idea is, if there is a date, it wil be different then 12/30/99 so nothing is changed, but if no date if there it adds the current one. It almost acts like there is no Else statement.
We have pretty simple ASP (not ASP.Net) application, which has been running fine on IIS4 and IIS5. It has now been moved to a sever running in the DMZ and managed by a 3rd party. The server is Win2003 and IIS 6.0.
Within the Globe.asa file, have an Application_OnStart SubRoutine (Visual Basic) and it bombs out on the first line:
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.
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?