Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp Files getting truncated in DW MX

Status
Not open for further replies.

JulianUK

Programmer
Apr 17, 2002
73
GB
[originally posted to the Macromedia DM forum with absolutely no response.]

Hi

I have a problem when using Dreamweaver MX, whereby it truncates a certain asp file of mine, at the same point when it opens it.

Of course, when I subsequently mod then save the file, it is truncated for good with disasterous results.

Simple question: Why?

Has anyone else has similar?

The point at which it truncates is the same, and interestingly is at the point of an #include.

the include file itself is thus:

<div align=&quot;left&quot;>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;


NB: The unclosed double quote is deliberate.

Include line is:
<!-- #include file=&quot;Includes/SearchTables1.inc&quot; -->

I can move the #include statement, even tag extra code on the end of the same line in the asp page, but it still truncates at the exact point the #include statement finishes (e.g. ...rchTables1.inc&quot; -->)

Any ideas? I'm having to use a text editor on this file in the mean time.

Thanks

Julian
 
I had seen your post but do not know of a solution, as I have never seen this before. Have you tried emailing MM to see if they have any ting to say?

Cheech

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks.
 
Hi Cheech

Yes, I've emailed them but no reply.

And as I don't have a support package, I don't have any access to them anyway me thinks. all I could find was to fill out the Customer Service enquiry form.

I must say I was unimpressed with their support service site.

I got all the way through to the form to fill out and it redirected me to the non-US/Canada site. And I picked my way through there again to be faced with the very same form! One big circle. It was 3 days before I realised what I was doing... ;o)
 
I will have a look and see if I can find anything.

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks.
 
I've found that if I close the hanging double quote in the #included itself, all is fine.

Can I stop DW parsing the file as it opens the asp page?
 
hm...
&quot; I have a 'table' with 4 'legs'. I cut out one of them and now the 'table' keeps 'falling' down. What is wrong? &quot;
'table'= <table>
'legs' = <td><tr>

sooo try to include files that does not cut down the code....also u can temp comment out the &quot;include&quot; part (as u already know its working) and this will stop DW from calling the page.....
All the best!

> need more info?
:: don't click HERE ::
 
So lebisol, I have to change my style of code, or this page (which pre-dates me using DW MX) to suit the tool? That is BAD.

If DW can't handle it then that a bug. full stop. if it were something I'm not meant to do programmatically, then surely the software would tell me so?

After all, it doesn't chop out all those unmatched tags (<table> etc.) it thinks I have, which actually match up perfectly if it looked properly at my asp.

3 legged table?

I go to milk my cow one day and someone has taken my milking stool.

&quot;where's my milking stool gone? &quot;

&quot;oh I thought it was a broken table so I threw it away&quot;

My cow doesn't get milked.

;o)
 
hehehe nice nice....life is full of workarrounds...

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top