• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Error in link

I am trying to redirect and pass a parameter but I get an error.

  MM_editRedirectUrl = "EmailQnrreadytosend.asp?NewUserId=(Userid.Fields.Item('Userid').Value)"

The page doesn't display any error even though 'friendly errors' is turned off

Attached is the whole ASP code (minus the includes), maybe that will help.
ASP.txt
0
Aleks
Asked:
Aleks
  • 7
  • 5
1 Solution
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
change the link to:

MM_editRedirectUrl = "EmailQnrreadytosend.asp?NewUserId=" & Userid.Fields.Item('Userid').Value
0
 
AleksAuthor Commented:
That didn't work out, the last part of the code becomes gray and I get an error as well
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
whats the error?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
AleksAuthor Commented:
This is the error I get

An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.

Friendly errors are turned off ... so... weird
0
 
AleksAuthor Commented:
This is how the code looks like with the line above. (Gray) .. which means something is off
erroe.gif
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
you have an extra quote at the end of the line, please copy my (original) answer exactly and you won't have these problems...

MM_editRedirectUrl = "EmailQnrreadytosend.asp?NewUserId=" & Userid.Fields.Item('Userid').Value
0
 
AleksAuthor Commented:
Same error, also greyed out
error2.gif
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
make sure everything is one line, your screen shot looks like its two lines. also, change it to:

MM_editRedirectUrl = "EmailQnrreadytosend.asp?NewUserId=" & Userid.Fields.Item("Userid").Value
0
 
AleksAuthor Commented:
It worked this time, thanks !
0
 
AleksAuthor Commented:
Well .. that created another problem. Now the actual document is not being deleted physically from the drive  :(
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
open another questions with the details and we can have a look :)
0
 
AleksAuthor Commented:
Sure thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now