Find Jobs
Hire Freelancers

ASP advice (not ASP.NET)

$30 AUD

Complété
Publié il y a plus de 11 ans

$30 AUD

Payé lors de la livraison
I need the advice of an experienced ASP programmer. I have copied ASP files from an HTML website and have now included them in an ASP.NET website. Some of the files work, some don't. There appears to be a problem accessing the "Request" object. For example, this code works fine (connectionstring hidden for security): <%[login to view URL] = 60 [login to view URL] = Now() - 1 [login to view URL] "pragma","no-cache" [login to view URL] "cache-control","private" [login to view URL] = "no-cache" Response.Buffer=True ErrCode = 0 Set oConnection = [login to view URL]("[login to view URL]") [login to view URL] "Provider=sqloledb; Network Library=DBMSSOCN; Data Source=xxxxxx; Initial Catalog=xxxxxx; User ID=xxxxxx; Password=xxxxxx;" set rsSurveyors = [login to view URL]("select * from houses where reg_no > 0 and publicstatus not in ('RETIRED', 'NON-LICENSED', 'UNREGISTERED', 'DECEASED') order by sname asc") %> ------------------------------------------------------------ ------------------------------------------------------------ But this code does not work: <%[login to view URL] = 60 [login to view URL] = Now() - 1 [login to view URL] "pragma","no-cache" [login to view URL] "cache-control","private" [login to view URL] = "no-cache" Response.Buffer=True ErrCode = 0 Session("ses") = "" Set oConnection = [login to view URL]("[login to view URL]") [login to view URL] "Provider=sqloledb; Network Library=DBMSSOCN; Data Source=xxxxxx; Initial Catalog=xxxxxx; User ID=xxxxxx; Password=xxxxxx;" Function NullOrEmpty(variablename) NullOrEmpty = false if IsNull(variablename) or variablename="" then NullOrEmpty = true end Function if NullOrEmpty(Request("errcode")) = false then errcode = Request("errcode") end if %> ----------------------------------------------------- ----------------------------------------------------- I don't know what the exact error is because it is not reporting one, and I am not running it through a specific debugger, but the code definately worked on the previous server. If I comment out the final line (the one with request('errcode') in it) then the error disappears, so I think the problem is to do with accessing the request object. Am running on Windows server under IIS and am assuming there is something to do with IIS configuration, but need some advice. PLEASE DO NOT GUESS AT THIS - I have already tried google - I am hoping that someone out there has a good idea of what's actually going on. Kind regards, Cerridiel.
N° de projet : 2588504

Concernant le projet

2 propositions
Projet à distance
Actif à il y a 12 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
Please check pmb.
$30 AUD en 0 jour
4,6 (1 commentaire)
0,9
0,9
2 freelances proposent en moyenne $30 AUD pour ce travail
Avatar de l'utilisateur
Ready to start immediately please check your PMB.
$30 AUD en 1 jour
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de AUSTRALIA
Glass House Mountains, Australia
5,0
95
Méthode de paiement vérifiée
Membre depuis juin 4, 2012

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.