Forum Discussion

xuandungpy's avatar
xuandungpy
Frequent Visitor
9 years ago
Solved

Asp.net error: The remote server returned an error: (403) Forbidden

I create Dataset in asp.net but error: The remote server returned an error: (403) Forbidden. Console is working.       public static string createDataset()     {         string rs = "";         ...
  • Eric_Zhang's avatar
    9 years ago

    xuandungpy

    The code snippet is good. As it works in a console, it shall work anywhere else. How you get the token? Try to debug the token value in your asp.net application. A valid token shall make it work.

  • xuandungpy's avatar
    xuandungpy
    9 years ago

    Eric_Zhang

    Thank you, I got the wrong token. It is work.