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.
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.
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.
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.
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?
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:
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. /CoxAxis/adminEditPage.asp, line 6
My code:
<% dim self, pid, i, c self = Request.ServerVariables("URL") pid = Request.Querystring("pid") set Session("pageContent") = Server.CreateObject("Scripting.Dictionary") Set custObj = Server.CreateObject("NFIFunctions.ValidateField") Line 6 set psi = Session("pageContent") set errDict = Server.CreateObject("Scripting.Dictionary") i = 1
Let me start by saying I'm fairly new to Asp coding. That said...
My ISP only uses AspSmartMail. I've created an online form that uses fill out, which is then e-mailed to the collector of the information and CC-ed to the person who submitted the information.
The error I'm receiving is this: aspSmartMail.SendMail : Error 28 error '8004001a' 504 Invalid Username or Password
In my script, I've Dimensioned several items, as you'll see below, passing the authenticating username/password to the smtp server, but it's not working. I tried not passing the information by entering in the actual info without it being passed by the diminsioned items. This didn't work either. I of course verified that the username/password I'm usine is correct.
Can someone plase tell me why I can't authenicate? I would really appreciate any help that might be out there.
Relavant Asp code below: ----------------------------------------- Dim smtpserver,youremail,yourpassword,yourusername,rem oteemail
I have a database driven (ms access) website which runs fine on my computer (win 2000 iis6). However, on uploading, some pages am receiving the following error
"An Unknown script error occured while processing your request."
I am testing a new website I built on the actual server. My section for uploading documents seems to be giving me problems. Can someone help me please? This is the error I am getting:
Microsoft JET Database Engine error '80004005'
'c:logindatairb.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
This New Company I'm with Sets their Default WebSite to a local Directory on "D" Yea I've been down the whole route reinstalling XP Pro,,, IIS 5.1 The .NET framework everything. Now I'm just frustrated.
What the Heck !! Theres a web project (C# ASP.net) in the solution containing many many some odd 19 or so projects. MSVSS is additionally in the picture to make things a little more complex. (I.E. the non web projects go elsewhere on the D drive) All I'm asking for here are the BASIC Settings to get my DEV environment and my IE to "SEE" this D:Web folder as Localhost. It worked for a sec. A very brief second. Then it was Gone. Specific ERROR:
Could not load type 'appname.web.Global'. Parser Error Server Error in '/' Application.
My text file, dsn file, and asp page are all in the same directory on the web server.My problem is that I want the text file to be on drive U: (which is each users drive)When I do this I get the following error (even if I copy the dsn file to the U: drive):-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Text Driver] '(unknown)' is not a valid path.Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
I'm getting the following error on one of the servers I maintain:code:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL server has gone away
Always occurs when the MySQL server it connects to restarts, which is hosted on another box. Nothing but an IIS restart fixes it.Is there anything I can do to get ASP to automatically pick-up the connection, or force a reconnect? I'm not an ASP coder, so a little hand-holding would be nice (don't worry, I won't kiss you).
I am getting this error after uploading an asp search page and attempting to search an MS ACCESS database.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x7d0 Thread 0x340 DBC 0x2870cd9c Jet'.
I've researched the error code online,and it seems to be server-side,but a lot of the server talk is pretty much Greek to me.
I had developed a messageboard in asp which allows users to post new messages,reply to existing messages.I am using textarea (Html tag) for a messagebox in my asp page .When the user enters any characters in messagebox except a single quote ('),the message gets inserted in oracle database without any problem.But if message contains single quotes (') , while inserting in a database it gives the following error
"Microsoft OLE DB Provider for Oracle error '80040e14' ORA-00917: missing comma ".
Is there any solution to insert messages containing single quotes in a database?