Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to escape / in classic asp

Posted on 2008-10-13
2
Medium Priority
?
355 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
2 Comments
 
LVL 6

Accepted Solution

by:
tchamtieh earned 1500 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2
Suggested Courses

886 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