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.

Try the .NET forum - this one is for classic ASP. :slight_smile:

Ok, thanks.

You can safely open and edit .aspx file in notepad.

Discussion continued in Got a weird error and panicked