Solved

How to escape / in classic asp

Posted on 2008-10-13
2
328 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 500 total points
Comment Utility
Have you tried escaping it with the backslash like this: xloginx = "WindowDomain\/jsmith"
0
 

Author Closing Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now