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.
My client has the need to upgrade to Windows 2000 Server from NT4 but are concerned about whether there existing custom code (ASP,VB6,MTS, etc) will work correctly once migrated.
where I might be able to find information relating to whatfunctionality has been deprecated in Windows 2000 Server since NT4 (I know CDONTS is one of them).
I recently upgraded my servers to 2003. Since then the error-information shown in the browser has changed.For example, if under Windows 2000 I executed an SQL statement from within an ASP, and the SQL statement was syntactically incorrect, the error thrown by ADO would finally show up in the client browser.
If I do the same with an Windows 2003 Server, only a "HTTP 500, internal server error" is sent to to client browser. The IIS LogFiles still show the actual error, but looking there is not that comfortable.Is this some configuration that can be done on the Windows 2003 server?
I need to write an application which should work as web application (ASP.NET) and it should have its counterpart for winforms - (they would do the same thing). My question is... what kind of pattern shall I use (MVP or MVC) for writing these apps to minimize overhead of rewriting code (e.g. I'll start writing winform app and then create similar web app )?
I am an ASP/MSSQL noob, and have been handed the task of migrating an ASP/MSSQL environment to a new server.
I have successfully restored the MSSQL backup file, but am getting a very longwinded error when trying to process a .aspx file extension. (Please note that .asp files work fine)
Could this be an error with the web.config file? Will i need to recreate that file?
I am unable to post the entire error message due to its length, but if the rest is necessary, I can paste it in subsequent posts. Code:
I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with parent paths enabled). In my research about migration to IIS6 with W2003 it says that you need to change every INCLUDE FILE= to INCLUDE VIRTUAL=.
I call an ASP page at the root of the website and that ASP file has an include that also is at the root, and the include is like this:
<!-- INCLUDE FILE="copyrightstuff.htm" -->
So what I've read say that this has to be changed to VIRTUAL like this:
<!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->
I could do this for one website that has one name listed in IIS. However, my website code was designed to work on many different websites, each with different domain names. It seems like a LOT of work to have to change ALL the includes to accommodate the name given to the site in IIS. Code:
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 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?
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 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:
I am having trouble with installing IIS, I tried to do it in my control panel, but it wants the disk, I don't have the disk because my computer came with Windows XP Pro 2002 Service pack 2.
so I went to the microsoft website and downloaded the free download of IIS6. Then when I go to my control panel and Administrative tools it is in there and when I click on it, there is no computer name available.
I have a sign-in box that is an IFrame, with a form target of "_top", and the current (parent) page URL as a hidden field.
If sign-in in successful, there is a response.redirect to the page URL, having set the session variable LoggedInOK=true.
However, if the sign in is not OK, I want the IFrame to be the target, (i.e. _self, not _top) to display the error.
Is there a way for ASP to control whether it redirects to _top or _self, as setting the form target in the Login page requires "pre-knowledge" of whether it will be successful.
I'm writing an Online registration system for my friends new business. I'm trying to incorporate checkboxes so when a person checks on 3 or 4 checkboxes and hits the Submit button I can pass the information of what they checked_on to a new page. When I get to the new page I would like to update a database, based on what they checked_on on the previous page. I'm not sure how to do this. I'm not sure how to pass the information.
using PWS on test machine (NT4 workstation SP6) and everything was fine but cpshost.dll was used in the website we're maintaining, so I idiotically installed it from a Visual J++ disc. now the website works fine but when i navigate to 127.0.0.1 nothings happens. I've checked directory browsing is enabled but still nothing happens!
I'm aware that cpshost.dll was never meant to be used on NT workstations but as I said before the upload functionality works fine, it just seems to have screwed the directory browsing up - and also the code document.referrer equals nothing.
I am primarily a front-end designer and not familiar with ASP beyond breaking up pages into include files. Recently, one of my freelance clients wanted to display an RSS feed from his blog on his site. I did some research and found the rss2html.asp script. I chose this over a javascript solution because those scripts apparently don't affect search engine rankings.
I implemented the script and it was running fine until about a month ago, when the site and sometimes the server running it started to crash. The ISP and the blog company the RSS feed originates from blame the script. Bytescout, who wrote the script, says that it's probably the feed that's causing the problem. The RDF version of the feed validates as RSS, but the ATOM one has specs that are too new for the validator to parse correctly. Code:
i'm working on access db the problem is when i enter date in d/m/y format it wrote db m/d/y format but this happens only with small numbers i.e if date 04/09/2002 it become 09/04/2002 in db but if it is 24/09/2002 there is no problem.