I'm fighting a bit of code which I simply don't understand why it won't work. originalurl is the referring page from which someone clicked a form submit. I grab originalurl using Request.ServerVariables("HTTP_REFERER")
What I need to do is to grab the value following idcategory=. Sometimes there are other querystring values following that, and my code works fine. But in the instances where it is the last querystring value, it fails on this error: Microsoft VBScript runtime error '800a01f5' Illegal assignment: 'gbdgCatQSwork'
What I want is that gbdgCatQSwork would contain the value (in this case "4") so that I can continue my process. Could someone please shed light upon what I am missing here?
I'm trying to call a package/procedure in oracle (from an ASP page) which requires a number of parameters. I have got this working using OO40 but unfortunately the transaction rollback function doesnt seem to do much.
So I'm now trying to use ADO instead (in the hope that ADO transactions will work), however I'm getting the above error. My initial searches havent turned up any suitable suggestions - there appear to be many reasons why this error might occur - none of which I have found so far fit my situation.
Can anyone suggest where I am going wrong? Better still, can anyone post a working code snippet that I can use as a model? I already have another [very similar] function which calls a different package/procedure which works fine. Code:
I have almost finished this assignment just stuck on one page I keep getting: Error: Access is Denied.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '.'. /iwsd/iwsd029/assignment2/calculate.asp, line 17
Here is my code I been stuck on this for hours and I cannot seem to figure it out Code:
I'm having problems with getting numbers to add in asp. I cannot find anything in my book on adding numbers together. All it says "you cannot add values from a textbox". I guess I'm having a brain-fart in a major way.
I working on a program to calculate the totals of rainfall for a year. Give the month that has the max and min and show amount, and show average for the year. Can some please tell me where to start or a code snippet to get me back on track. Code:
I've just installed ASPXMLRPC library and testing their main function:
xmlRPC ("URL", "command_name", params)
The function converts all parameters to XML, sends a request to third- party server and receives XML response. It seems to be getting response fine. But when I call the function like this: