I was trying to setup IIS, ASP and MSDE 2000 Rel A on a machine yesterday and my usual SQL server OLEDB dsn-less connection string would not work on this machine. I know it's down to this, as I used a tool called QTADO to setup dummy data in the db and I had to use an ODBC dsn-less connection to connect to the db. I couldn't use the program's default OLE DB method.
The machine was WinXP Pro SP2 (might have been SP1), but I thought the OLE DB thingy came as standard on this OS. I didn't have chance to try the standard SQL ODBC connection string, will do this on Wed, but I'm sure it will work. Any ideas why the OLE DB wouldn't? Just kept getting General Network error on Connection (read).
I have a OLEDB Connection String that is working very well for me. My question is that I read that you can store the Connection String in a seperate include file or somewhere else. I am just wondering where is the proper place to store this Connection String and how do I call it from my application. Code:
I use the ASP page to test whether the connection of SQL Server is fine. I use windows authentication. I get fail when I attempt to use hostname of the destination server. Contrary, I get success when I attempt to use IP address of the destination server. Does anyone know how to fix this issue?
Not sure if this is the right place but I need to get this website going and am having problems with the ODBC driver connecting to the SQL server When setting up the driver I am getting a sql error 18452 login failed reason: not associated with a trusted SQL connection I am at a loss as I installed this on another machine and it worked.
I'm given the oledb string, I would like to connect to ms sql server database through the ASP server programming language, if any one will walk me through this it will be much appreciated also how to query the database once connected?
Now I know it must be a cursor but I have tried every cursor under the sun but to no avail.
Just a few notes. The line that gives the error is
[VBS]oRS.MoveLast[/VBS]
I am using the JET.4.0 Driver to open the database.
Anyone ever run in to this problem? I have used this sort of script 100's of times with absalutly no side effects...until now Strange thing is the recordset doesn't support Bookmarks either (second )
Is it possible to use data shaping in asp using Microsoft.Jet.OLEDB.4.0? I tried it, but it returns an error saying that I must only use Insert,update,select,etc.. sentences only....
I'm on a windows VPS and I run ASP applications with mysql. I have a lot of traffic so I know I use a lot of resources.The server is running and after some hours I get this error:
message:HTTP/1.1 New Session Failed
I've supposed this is caused by the leak of memory, so I've tried different thing without any improvement.- create a paging file - set the pool recycling when at a "maximum virtual memory" amount- set the session timout in the webconfig at 5 minutes Nothing has changed. I don't know if I had some little improvements,however nothing that prevent the server from displaying that error after some hours of running properly.
I am having problems with the above mentioned error message with IIS6 on my dedicated server. The problem is apparently from leaky code that has allowed memory to max out the CPU. Can anyone offer up a suggestion to help me find the problems in my scripts? This issue is only showing up from time to time, but when it does everything is down for a few hours or until the server is restarted.
I created a calendar in access 2k and when the user clicks on the link from the web page I created I'm getting this error. The operation on th eOLE oject failed. The OLE server may not be registered. To register the OLE service, reinstall it. What shall I do, I tried reinstalling it and that wasn't the issue. Anyone has any input?
I've this return error --> Driver's SLQSetConnectAttr failed <-- My system is XP, I've development in .asp and my DB is Access 2000, someone could help me ?
Ok i'm getting a conversion error when i try to do an insert, the table i'm pulling from and the one i'm writing from are the same. i think there is something i can do to define my field data types.
error:
Conversion failed when converting character string to smalldatetime data type
Any idea why this is happening? The directory exists on the FS. It's an upload script to put files in a database directory. It errors out on the upload.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/ProspectTracking/alphatest/default/Upload/upload.asp, line 3
I am recieving an weird error when trying to check to see if a user exists in the database. The error I am recieving is:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed /PhotoBBS/NewUser.asp, line 56
I have searched on google, and nothing really came up, except to check my SQL Statement, which I have and it seems correct, tho I might have made a little mistake, could someone help me? Code:
I want my website to support multi-lingua, so I add Codepage="65001" in my english website. However, after adding that, all the string comparison failed (login page, catcha). I thought I only need to add codepage, then my website will become multi-lingua site Did I miss something?
My we site is facing a problem with HTTP 1.1 New Application Failed.
There is no database connections. And even I do not have any Global.asa Files .
What could be the problem and How could it be rectified. Where in on the same server the other asp site is running well only this site is facing the problem.
Is there any way in VB ASP of identifying if an image which is placed on a page fails (if it's simply not been put on the server for instance so IE gives it a red X)? I want to detect this if it happens and display a default image or something.
I get this error when I try to load my site, "default.asp", or any ASP file really. This error comes up inexplicably, once every month or two. I cannot seem to regain access to the site until IIS is restarted. The error is probably caused by something I'm doing in my script, and it seems to be server side in nature.
Has anyone encountered this error before?Does anyone know what would cause this?I'd be happy to offer more information about the server, and/or my script, but I am not very intimate with the server as it is administrated at a remote location by someone else, and I really don't know where to start looking in my script. The web site functions flawlessly for a month or two before this error comes up.
I'm creating a website using asp for a university assignment,and I want to create a message box for when a login fails, i.e. login failed..try again.
I can use the 'response.write' function, but I feel that a message box would look better.Could anyone shed some light on how I should go about doing it?
I've had a look at the java tags in dreamweaver and I can see that you can create a pop up 'onsubmit', but I only want to display the message/pop up in the event of a login failure.
If lJt = "GENERAL" OR lJt = "GOODS_DETAIL" Then 29: Set objUpload = Server.CreateObject("DXUpload.Form") lAction = objUpload( "ACTION" ) Else lAction = request( "ACTION" ) End If
___
here's my code... I can't see why this error occured...
I have a simple ASP code that i am trying to use in order to get records from a database in SQLserver 2000 and display it in html format.
I named the file index.asp and placed it in the home directrory for IIS. When i type in http://localhost/index.asp, i get 500 errors. On viewing the IIS logs, i am noticing the following errors:
2005-10-31 20:05:16 W3SVC1 127.0.0.1 GET /index.asp |47|80040e4d|Login_failed_for_user_'test'
After searching on the internet, I have already checked "SQL Server and Windows" authentication in SQL Server security.
here is the code that i am using to connect to the database: Code:
In my event log on my IIS 6.0 Windows 2003 Server I get the following Active Server Pages Error
Error: The Template Persistent Cache initialization failed for Application Pool 'DefaultAppPool' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
I have a Win 2003 SP1 with IIS 6 and host about 40 websites, most of them useing ASP/VB with access databases. The server is a Dell Dual 2.4Ghz XEON with 512Mb Ram.
Every few days I get the error 'HTTP/1.1 New Session Failed' and the server stops showing the sites. It comes right after a bit and then the error comes back. I have separed the sites into 10 per application pool but it still does it. Occassionally it will actually look like it is working but the sessions just keep resetting and the users get logged out every 2 or 3 minutes.
There is a hotifx 838306 which according to MS is in SP1 but according to everyone else, is NOT. It wont install on SP 1 because it needs another hotfix first (837001), which will not install because there is a later version of the 2nd hotfix in SP1. Catch 22!
So my solution is to set up my server to reboot every night at 2am. That keeps it going.... barely.
People keep saying you don't need to reboot, just recycle the app pools. Well that does not fix anything, only a cold reboot solves the problem... for a few hours anyway.