Classic ASP / VBscript

General PGNP discussions.

Classic ASP / VBscript

Postby h0tw1r3 » Tue Aug 25, 2009 1:14 pm

I am attempting to make a connection to a local install of pg 8.4 using ASP under IIS 7 (windows 7).

File: test.asp
Code: Select all
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.ConnectionString = "Provider=PGNP.1;Data Source=localhost;Initial Catalog=postgres;User ID=postgres;Password=admin;"
objConn.Open


Results in an infinite loop. The script never returns and I must kill the application pool. I turned on debugging, but nothing shows up.


I then decided to test a connection using the command line.

File: test.vbs
Code: Select all
Set objConn = CreateObject("ADODB.Connection")
objConn.ConnectionString = "Provider=PGNP.1;Data Source=localhost;Initial Catalog=postgres;User ID=postgres;Password=admin;"
objConn.Open


Run: cscript /nologo test.vbs

This time I get a popup dialog asking if I agree to the license (trial), I select agree, and the script continues successfully.
My problem lies in the fact that "I agree" is not saved and therefor the dialog pops up every time the dll is loaded. This is a problem when trying to evaluate your product on IIS as it suppresses the dialog and enters an infinite loop waiting for me to select "i agree", which is simply not possible.

Is there any way to work around this problem? I am currently using the open source pgoledb, but would prefer a commercially supported product.
h0tw1r3
 
Posts: 3
Joined: Tue Aug 25, 2009 12:54 pm

Re: Classic ASP / VBscript

Postby Moderator » Wed Aug 26, 2009 8:45 pm

Are you using Vista with UAC enabled? Then launch the test from command prompt with Administrator permissions. In this case the dialog will be shown only 1 time a day.

Another reason is that the IIS application is running under different user account (Local System, etc.) than your current session. Dialog is shown per user.

If none of the above helps, please PM us and we'll send you a trial build without the reminder dialog.
User avatar
Moderator
Site Admin
 
Posts: 317
Joined: Wed Oct 29, 2008 11:27 pm

Re: Classic ASP / VBscript

Postby h0tw1r3 » Thu Aug 27, 2009 12:47 pm

1. The IIS application pool is running under my local, logged-in user account.
2. Running the script from WSH command line results in the dialog every time i execute the script, regardless of what user I run it under (my account, administrator, etc).
3. Using a tool such as AnySQL Maestro and creating a connection through your driver produces the same results.

UAC was/is disabled on the machine throughout all tests.

Since I am using Windows 7, which is yet to be released, I also tried the above tests on Windows XP.
The results were exactly the same. A dialog for every new connection.

These tests would lend my to conclude that the problem is not specific to me, but perhaps the downloads available on the site are faulty. (note, I also tried all tests with the 1.3 beta download).
h0tw1r3
 
Posts: 3
Joined: Tue Aug 25, 2009 12:54 pm

Re: Classic ASP / VBscript

Postby h0tw1r3 » Thu Aug 27, 2009 1:16 pm

I was able to fix the problem on both machines by creating the registry key, HKCU\Software\PGNP.
Apparently the installer, or the dll, never properly creates the key which causes the subsequent dialog answer to never be saved.

You can reproduce the problem by uninstalling the driver, deleting all PGNP registry keys, and reinstalling.
h0tw1r3
 
Posts: 3
Joined: Tue Aug 25, 2009 12:54 pm

Re: Classic ASP / VBscript

Postby Moderator » Thu Aug 27, 2009 9:59 pm

I've checked the code... Yes, the issue occurs when the key does not exists!

We'll add code to create the key.

Thank you so much for letting us know!
User avatar
Moderator
Site Admin
 
Posts: 317
Joined: Wed Oct 29, 2008 11:27 pm

Free bonus tompkins county department of assessment

Postby Macexek » Fri Mar 13, 2015 1:11 am

Bond pulled on his clammy trousers and sat down on the sand and dismantled his gun.
exelon buy buy cheap duricef And, and hes got a damned healthy respect for them, the American gangs. buy seroquel online robaxin buy She looked at him and her eyes hardened. buy online tofranil cheap renagel Of course hell use his front door again.
buy trental buy elavil I see shes got a good record. buy pyridium online He gazed vaguely at the softly heaving sheen of water. We all sat silent awhile and all at once Mr. exelon buy order suprax buy cheap flomax
buy online arcoxia buy online arava This is no place to stay, and on this of all nights! buy online norvasc buy zestril So intense an expression of romance, perhaps I should call it, or of unworldliness, as that which gleamed from her deep-set eyes, had never so sunk into my heart of hearts before. buy online clozaril buy cheap aggrenox He had explained this to Pooh and Christopher Robin once before, and had been waiting ever since for a chance to do it again, because it is a thing which you can easily explain twice before anybody knows what you are talking about.
mestinon buy buy cheap glucophage He got up and went out of the room, leaving the door open. cheap singulair This was precisely what had formed the subject of my reflections. Then, Legrand, I can become a party to no such absurd proceeding. order hyzaar buy cheap cyclogyl cheap topamax
cytoxan buy online order topamax Before going to bed I went round to the patients room and looked in through the observation trap. singulair buy renagel buy online My heart beat so loud all the time sometimes I thought I should faint. buy online lopressor order cyclogyl The wind sometimes was not as strong as we thought it at starting, and then we made rather less way than we could wish, while the current rendered the smack unmanageable.
deltasone buy online buy rocaltrol online I despair of conveying to the reader any distinct conception of the marvels which my friend did actually accomplish. singulair buy online Thus the difficulty of ascension, in the present case, lay more in semblance than in reality. I thought it best, however, to humor his fancy, at least for the present, or until I could adopt some more energetic measures with a chance of success. buy cheap cialis cheap robaxin flagyl buy online
buy risperdal buy cheap aggrenox Here my friend, about whose madness I now saw, or fancied that I saw, certain indications of method, removed the peg which marked the spot where the beetle fell, to a spot about three inches to the westward of its former position. buy danocrine online premarin buy We are all drifting reefwards now, and faith is our only anchor. cheap mobic buy cheap aventyl The traveller, having passed the tombs of the caliphs, just beyond the gates of the city, proceeds to the southward, nearly at right angles to the road across the desert to Suez, and after having travelled some ten miles up a low barren valley, covered with sand, gravel, and sea shells, fresh as if the tide had retired but yesterday, crosses a low range of sandhills, which has for some distance run parallel to his path.
buy online hytrin buy cheap bactrim Well get a lot of-I say, wake up, Pooh! order cipro So he began to climb the tree He climbed and he climbed and he climbed and as he climbed he sang a little song to himself. Yes, I think youd better leave off, said the Gryphon: and Alice was only too glad to do so. cheap prograf cheap compazine cheap cialis
cheap prandin cheap exelon It didnt take long for Bugsy to catch on. cheap effexor arava buy online Now it had come to where his head lay against the sheet. buy cheap atarax aristocort buy online He rubbed his hands over his face and shook his head to get rid of the thought of her.
cheap danocrine order zestril The brother had been led to his resolution (so he told me) by consideration of the unusual character of the malady of the deceased, of certain obtrusive and eager inquiries on the part of her medical men, and of the remote and exposed situation of the burial-ground of the family. buy cheap pyridium This had probably been done with the view of arousing me from sleep. She had risen, as if impulsively, from where she lay on the sofa, and raised both her hands, palms upwards, as if lifting a weight. buy cheap boniva cheap renagel buy cheap phoslo
order urispas order seroquel The poor dear was evidently terrified at something, very greatly terrified. cheap altace buy loxitane online Piglet began to say that this was because he had just had a bath, and then he thought that perhaps he wouldnt say that, and as he opened his mouth to say something else, Kanga slipped the medicine spoon in, and then patted him on the back and told him that it was really quite a nice taste when you got used to it. buy buspar online order trental His immediate and sole purpose then was to escape.
cheap levitra order mellaril In a word, why did he abandon four thousand francs in gold to encumber himself with a bundle of linen? cheap amaryl As the original design was to cross the British Channel, and alight as near Paris as possible, the voyagers had taken the precaution to prepare themselves with passports directed to all parts of the Continent, specifying the nature of the expedition, as in the case of the Nassau voyage, and entitling the adventurers to exemption from the usual formalities of office unexpected events, however, rendered these passports superfluous. Perhaps not, Alice cautiously replied: but I know I have to beat time when I learn music. buy online feldene order norvasc buy diovan
buy mellaril buy nexium The letter that he has seen and touched must comfort me till we meet. buy flomax online order cyclogyl She lay in her Vampire sleep, so full of life and voluptuous beauty that I shudder as though I have come to do murder. lasix buy online mevacor buy I had a cough, and I happened to be behind Eeyore, and I said Grrrr-oppp-ptschschschz.
buy online arcoxia buy online artane Finally, Bond felt it was time to explain the actual mechanics of the game. buy cheap seroquel She had been seized with epilepsy in the early morning, and now, at the closing in of the night, the grave was ready for its tenant, and all the preparations for the burial were completed. Impoverishment was a serious violation of the law in Saratoga. order arava order nizoral cytoxan buy online
estrace buy diflucan buy Fire might perhaps be another weapon. buy online loxitane bactrim buy I didnt mean that about the check. cheap parlodel nolvadex buy It was a wonderful card, a five.
buy pamelor buy arcoxia online He spoke quietly for five minutes. buy lopressor Then he kissed her again and she shut the door behind him. But, as it happened, it was Rabbit who saw Piglet first. cheap aggrenox tenormin buy online buy online aricept
buy cymbalta buy requip Lord, help me, and those to whom I am dear! buy online alesse cheap elavil From behind the barrier the Cayman Islander gave a broad grin. buy online prograf order nexium After a while I left him.
buy cyclogyl online buy cheap clomid Then he looked at his watch again, and, straightway holding his reins firmly-for the horses were still pawing the ground restlessly and shaking their heads-he climbed to his box as though the time had come for proceeding on our journey. buy cheap cardura Moreover, in fastening it to the wharf, he would have felt as if securing evidence against himself. Then the soft swishing began again. buy cheap nexium order pyridium buy cardura
cymbalta buy online cheap anafranil He said, Youll have to kill a lot more people to keep this thing in your hands, Doctor No. order mestinon buy cheap aggrenox Had the letter been deposited within the range of their search, these fellows would, beyond a question, have found it. buy cytoxan online order arava I fear that he does not appraise me at much.
buy premarin online buy effexor So cold that the grey heavy sky is full of snow, which when it falls will settle for all winter as the ground is hardening to receive it. lopressor buy Then she raised her head proudly, and held out one hand to Van Helsing who took it in his, and after stooping and kissing it reverently, held it fast. Le Chiffre watched them go to join the serried millions in the shadow of Bonds left arm, then he stood up slowly and without a word he brushed past the players to the break in the rail. buy cheap arava order prandin http://1qc7onlinedostinex.isnotonfacebook.com
buy tofranil online buy online tegretol If it flag for an instant, an oversight is committed resulting in injury or defeat. buy cheap sporanox buy online xylocaine So let us forget my nose and get on with the job. cheap nolvadex nexium buy But someonell get hold of them one of these days.
buy cheap sporanox buy lasix online To be sure, some bones which were thought to be human, mixed up with a quantity of odd-looking rubbish, had been lately discovered in a retired situation to the east of Rotterdam, and some people went so far as to imagine that in this spot a foul murder had been committed, and that the sufferers were in all probability Hans Pfaall and his associates. cheap desyrel A few hours before it was due, I got to the safe and rifled the million dollars in gold and disappeared into Harlem and went to ground. I could call to mind neither the period at which I had fallen into the trance, nor the locality in which I then lay. tofranil buy cheap danocrine naprosyn buy online
indocin buy online buy online zyprexa Wish you could come along and tackle Spang senior with me. topamax buy buy suprax I thus saw in vivid light a picture all unnoticed before. buy online robaxin buy cheap paxil Bond trudged on, thinking of Ms holiday in the sunshine.
buy propecia cheap aristocort I have an idea that Van Helsing thinks he knows, too, but he will only let out enough at a time to whet curiosity. buy cymbalta online It only ties you in with me. Oh, John, my friend, we are in awful straits. order actoplus buy phoslo flomax buy
lexapro buy online buy online atarax So it shall be until the Great Recorder sums me up and closes my ledger account with a balance to profit or loss. cheap duricef buy topamax online There was a slight thump as the tricycle landing gear extended under the aircraft and locked into position, and a shrill hydraulic whine as the brake flaps slid out of the trailing edge of the wings. cheap mestinon minocin buy But at that instant, another sensation swept through me as quick as lightning.
buy cheap celebrex order prograf The three big handfuls of food had warmed his stomach. buy alesse online Do you play croquet with the Queen to-day? We shook hands, and he was so earnest and so kind that it made me quite choky. buy cheap pamelor hyzaar buy ceftin buy onlinedesyrel buy onlinebuy cheap aggrenoxbuy cheap ceftinindocin buy onlinebuy altace onlinebuy biaxin onlinebuy online modureticbuy online crixivanbuy online tenormincheap lotemax
Macexek
 
Posts: 61
Joined: Fri Mar 13, 2015 1:04 am


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest

cron