Unable to catch the exceptions caused by '|', '"' and '~' symbol in the URL

I have a VB.net website with .Net framework version 1.1.
I am able to catch all the exceptions and redirect to Custom error screen.
However if I enter the invalid characters in URL specifically  '|', '"' and '~' it throws "ArgumentException" with message as "?" and not able to redirect this to Custom error screen.
All other invalid characters and symbols are being handled properly. Custom error screen is set in WEB.config and it is working for all the exceptions.
Please help me find a way to catch and redirect this exception to Custom error screen.

Hello Mr. Monkeyboy,
One of the security solutions ran a security test by entering the wrong characters in the URL (Few more cases) and there by finding if the site redirects to Custom webpage in case of errors and exceptions or not.
Our site is redirecting to Custom error page for all the errors and exceptions except when entered '|','"' or '`' in the url.
Example: If I enter: https://www.somesite.com/NotExists.aspx this get redirected to Custom error screen.
However If I enter https:////www.somesite.com/NotExi|sts.aspx this goes to Server Error in "/somesite" page.
Please note, both the URL is invalid, however one redirects to Custom error where another doesn't.
Thanks for letting me know the lack of clarity in the initial question, hope I made it clear.
I still don't understand the issue. And you should probably be posting the question in one of the ASP.Net forums which I provided a link to in my original post.
You say you enter a URL in your website. But you make no mention of how that is done. Therefore even if you post a question in one of the ASP.Net forums you will need to explain what you mean by entering a URL in your Website.
For example. "We have a website. A user can browse to the website with a WebBrowser. Then in a textbox on the website they can enter a URL (for whatever reason your website would allow a user browsing your website with a webbrowser to want to enter
some URL for some reason into a textbox at your website) and select a button (to do who knows what) and we need to validate the URL does not contain invalid characters."
Maybe these links can help or not.
Validator.Url Method
PathIsURL function
Pinvoke.Net - pathisurl (shlwapi)
Uri.TryCreate Method
I suppose you could even use Regex to validate a URL based on Regex patterns that you should be able to find on the net for doing so with Visual Basic. But I would suppose you would want to provide whoever is placing invalid URL's on the website with the
result displaying the invalid URL and which characters within it are invalid maybe.
I suspect you could even try to validate a URL with a DNS by finding out if it exists or not.
La vida loca

Similar Messages

  • Oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

    Dear Guru's,
    I am not able to solve the above issue for last couple of days.
    I am newbie to the webservice
    My Issue...
    I am using Jdeveloper 11.1.2.4.0 Release 2
    1. Using Jdev I built one small Web Service with two methods.
            While testing the Webservice...
                   I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
    2. I created another application to consume the web service i created.
                   1. I added the webservice SOAP and added the method.
                   2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
    3. While executing the created jsf page I received the error message as below
    "oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
    Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
    Can anybody help to solve this issue.
    Thanks and Regards,
    Durai S E

  • After updating my IOS TO 8.1 (12B411) on 10/23/14, I went to update my blood sugar level in the IHealth app. And now after the new IOS update I'm unable to find the blood glucose option in the IHealth app. Did Apple remove it or just mess up AGAIN?

    fter updating my IOS TO 8.1 (12B411) on 10/23/14, I went to update my blood sugar level in the IHealth app. And now after the new IOS update I'm unable to find the blood glucose option in the IHealth app. Did Apple remove it or just mess up AGAIN?

    Apple removed blood glucose until further notice. The reason behind this is that it gave a distorted picture in countries where the medical world used other measuring units. I suspect it will be available again in a future update.

  • I have an ipod touch and it is disabled cause my cousin changed the password and forgot what it is so now it is stuck .. i connected it to the itunes but still the keypad didnt appear and couldnt remember the password.. anyone can help me ?

    i have an ipod touch and it is disabled cause my cousin changed the password and forgot what it is so now it is stuck .. i connected it to the itunes but still the keypad didnt appear and couldnt remember the password.. anyone can help me ?

    Place the iPod in Recovery Mode and restore via iTunes.
    iOS: Wrong passcode results in red disabled screen
    If not successful, try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Before I updated my iPod I had all of the songs to an album that I bought on iTunes. After I updated my iPod I only have 5 of those songs from the album. I would like to know how I can get the rest of the songs cause I already paid for the album and I wen

    Before I updated my iPod I had all of the songs to an album that I bought on iTunes. After I updated my iPod I only have 5 of those songs from the album. I would like to know how I can get the rest of the songs cause I already paid for the album and I went on my computer and it said that I have to pay for them even though I already paid for the whole album. So what do I do?

    Sync with the same computer iTunes that you normally sync with.

  • I purchased a song through iTunes on my MacBook which I have owned for years using the same Apple ID and all of the sudden I am not authorized to listen to this song only? Why? How do I fix it cause it's making me very mad...

    Just purchased a song through iTunes on my MacBook which I have owned for years using the same Apple ID and all of the sudden I am not authorized to listen to this song only? Why? How do I fix it cause it's making me very mad...

    Hi E_WM7,
    Welcome to Apple Support Communities!
    Take a look at the article linked below, it provides suggestions that may be able to resolve the authorization issue.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    -Jason

  • My ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    my ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    Solving MSVCR80 issue and Windows iTunes install issues.
    Thanks to user turingtest2 for this solution.
    Solving MSVCR80 issue and Windows iTunes install issues.
    If the above doesn’t do the trick entirely, then use the instructions in the following as it applies to the version of Windows you are using:
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    You may be required to boot into safe mode to complete the folder deletion process.

  • I have checked the box "display date and time on the Menu Bar" and it does not work.  Using OS X Yosemite 10.10.2  Anybody have a fix?

    I have checked the box "display date and time on the Menu Bar" and it does not work.  Using OS X Yosemite 10.10.2  Anybody have a fix?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Pls Aadvice me  what is making the exception code 20 show up in the POs.

    Dear All,
    Need to know what is making the exception code 20 show up in the two open purchase orders.  The exception code is causing MRP to create requisition to order additional stock when we are already above MAX.
    TIA
    Kogi

    Exception code is to cancel the open Purchase orders. The req may be created due to some material master parameters- rounding value , lot size, safety stock, coverage profile etc. and maybe in excess of what is required. Check the material master.

  • Why do I get "The exception Privileged instruction (0xc0000096) occured in the application" error message when exiting LabVIEW 6.1?

    I have created a vi that uses the LV-GPIB and database connectivity vis. The program runs fine and it ends execution by running the "Close Database Connection.vi".
    After closing out my front panel windows and exiting LabVIEW 6.1, I get an error dialog box that reads the message "The exception Privileged instruction (0xc0000096) occured in the application". What does this error mean and how do I resolve it?
    Thanks,
    Taf

    Hi Taf,
    Given the broad scope of your application, it may be best to try and isolate the problem down by taking out parts of your application and simplifying it down as much as possible until you can get a consistent version that throws this exception. I would first try to take out either the GPIB or database connectivity portions of the application to narrow down our problem. This error generally occurs when accessing DLLs and external applications, so I wouldn't be surprised if it's the GPIB or database. Let's try to see exactly which one it is and then we can dig deeper into that part of the code. Thanks for your cooperation!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • I used Target mode to transfer files to a new iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and po

    IS THE SITUATION HOPELESS
    I used Target mode to transfer files to a new i7  iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and powered down the old machine. When this was restarted the next day there was a grey screen with flashing Mac symbol alternating with a 'no entry' sign and occasionally a question mark.Keyboard and mouse were unusable so k inserted the original instal disc (No.1 for 10.4. with installer 1.0.4) which came with the machine in 2006 in an attempt to boot from this. The ensuing window said this was not possible and now it cannot be ejected.I have tried everything ! It offers Disk Utility and other options like Terminal but that doesn't work either.I 'repaired disk' and that was pronounced o.k. None of the various keystrokes at start up will work, and the computer will only offer the installer disc continually.The only option would seem to be is to erase the hard drive completely from the disc in the machine.I don't want to do this as there is still material which I need to recover. I think the drive has in some way been corrupted by using it in target mode, and I don't know if there are any other options to try.
              Please tell me how to get this disc to eject !

    Graham Giles wrote:
    Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
    No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
    TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
    •  I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
    There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
    On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
    I know that using a cloned drive would work well in this instance.
    I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
    With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive?

  • Adobe Reader XI is not working. I have used the cleanup tool and reinstalled it. I try to open a .pdf file in the program the window will open and load all the tabs but I am never able to actually interact with them.

    I am unable to use adobe reader xi. I have tried to use the clean up tool and re install the reader. That doesn't seem to help. I go to open the pdf file in the reader and the window will load but I am not able to do anything past that point. Almost as if the program freezes once loaded I never get a not responding error until I open the task manager on the computer.

    Can you open Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • When I click on a picture or a link, to take a closer look, I get a blank screen and it says at the top search bookmarks and history, at the bottom it says 'stopped' - what is this problem and why is it happening

    when I click on a link to complete a form, or a link to take a closer look at a picture, I get a blank screen and it says at the top 'search bookmarks and history', at the bottom it says 'stopped' - what is this problem and why is it happening ?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • HT201413 I am receiving a message saying the iPod "TRACER's iPod" can not be synched. The required file can not be found. I ran the iTunes program repair and restarted both the computer and the iPod. Any suggestions on what else to try?

    I am receiving a message saying the iPod "TRACER's iPod" can not be synched. The required file can not be found. I ran the iTunes program repair and restarted both the computer and the iPod. but still receive the same message. Any suggestions on what else to try?

    That can sometimes be caused by a damaged ipod photo cache.
    If you remove the current ipod photo cache, does that get you past the error?
    For instructions on where to find it, see the following document:
    iTunes: Understanding the iPod Photo Cache folder

Maybe you are looking for

  • Component should not be made available for backflush during final Backflush

    Hi, In REM Scenario, during final backflush system explodes and proposes all components in the header material for GI backflush. Is there any way we can restrict certain materials not to appear for GI backflush and that can be posted at later time. y

  • Advice for working with large clip files

    A few years ago I made a movie using iMovie2. At the time I was working with clips recoded on one minidv disc. I am now ready to begin a project (just bought iLife06) that is much larger. I have roughly ten 60 min minidv discs. I am getting nervous a

  • Will MS Office 2008 work with Lion?

    I purchased Lion but cancelled the download when I read that people were having trouble running MS office programs on the operating system. Does anyone know how well MS office 2008 applications run, if at all, on Lion? Thanks!

  • Network Signal question- What does the "E" mean?

    I have an 8GB iPhone, with the prepaid account from AT&T- I notice that occasionally, I have a little emblem next to the phone carrier- it's a square with a capital E in it. What does that mean?

  • Java.lang.ClassCastException: javax.naming.Reference

    Hi All, I bound a JMS topic and connection factory into the SUN file system JNDI. When I tried to look them up I received the execption in the subject. What does that mean? Thanks All! Context ctx = getInitialContext(); TopicConnectionFactory factory