SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Zealot Tiger_Tom's Avatar
    Join Date
    Feb 2000
    Location
    U.K.
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Edit .aspx files safely

    My question: how can you safely edit and upload .aspx and other ASCII files on a Windows server?

    A client wanted a phone number changed on his apsx/mssql website. I edited the .aspx files in a text editor, FTP'd them and got a form error. Re-uploaded the backup files and got a compiler error(?), I think.

    The developer reverted to the old backup.

    I found that there was an error in one of his scripts but it wasn't the same as the error I got initially (it's a regex form field for a UK post code. His version swaps the password, by mistake, into that field, my edited script returns a 'bad post-code error', even when it's not.)

    Weird.

    Any clues greatly appreciated.

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,631
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Try the .NET forum - this one is for classic ASP.
    Ian Anderson
    www.siteguru.co.uk

  3. #3
    SitePoint Zealot Tiger_Tom's Avatar
    Join Date
    Feb 2000
    Location
    U.K.
    Posts
    194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, thanks.

  4. #4
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can safely open and edit .aspx file in notepad.

  5. #5
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,255
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)
    Discussion continued in Got a weird error and panicked


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •