Solved

How to escape / in classic asp

Posted on 2008-10-13
2
336 Views
Last Modified: 2012-06-27
Dear Experts,

How do I escape the "/" in the following:

xloginx = "WindowDomain/jsmith"
uaccess.Parameters.Append uaccess.CreateParameter("@UserName", adVarChar, adParamInput, 50, xloginx)

The above produce the following error message:

Error Type:
ADODB.Parameters (0x800A0E7C)
Parameter object is improperly defined. Inconsistent or incomplete information was provided.

If i change xloginx = "jsmith" then it works ...

Thank you :)
0
Comment
Question by:jsissopainful
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
tchamtieh earned 500 total points
ID: 22708467
Have you tried escaping it with the backslash like this: xloginx = "WindowDomain\/jsmith"
0
 

Author Closing Comment

by:jsissopainful
ID: 31505772
it started to work even without the \ .. i must be going crazy!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question