Trying to implement .aspx

Discussion in 'ASP.NET / ASP.NET Core' started by SarahLoukota, Feb 4, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm a flash developer, and I have an .aspx file that reads variables from .txt files and then flash imports the .aspx file.
    Everything works great in local testing (localhost) but once I've uploaded everything it does not work.

    I am importing the System.IO namespace in the beginning of the .aspx file. Should I not do this?

    I'm new to C# so please bear with me.
    Thanks!
    Sarah
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Post your code & error message. This will help!


    quote:Originally posted by SarahLoukota

    I'm a flash developer, and I have an .aspx file that reads variables from .txt files and then flash imports the .aspx file.
    Everything works great in local testing (localhost) but once I've uploaded everything it does not work.

    I am importing the System.IO namespace in the beginning of the .aspx file. Should I not do this?

    I'm new to C# so please bear with me.
    Thanks!
    Sarah
    </blockquote id="quote"></font id="quote">
     
  3. Actually - thanks for the response but I figured out the error. Apparently when I uploaded to the server, I was getting an error because I had a link to the text file and it was reading the slashes "\" and terminating the script. I put a "@"before each link and it solved the problem.

    Obviously it had nothing to do with the NameSpace - but I did figure out my error by setting up the web.config to show errors.

    Again, thanks for your response!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page