CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 app breaks after chaning from asp/templ to asp

Print topic Send  topic

Author Message
Robert
Posted: 02/07/2002, 1:08 PM

I changed an app that was originally set as Lanuage=asp2.0+templates to Language=ASP2.0. I saved, regenerated and all seemed fine. I then changed it back to ASP/templates and the application now fails to run. It throws the following error:

Object required: 'ParsedBlocks'
/CC/EventsTutorial/CCProject/TemplateObj.asp, line 65

What did I break by going back and forth between templates, non-templates and then back to templates ? Is this not OK to do ?

Thank you in advance for any suggestions.

-Robert
Kumar
Posted: 02/07/2002, 5:39 PM

I had the same problem - except the application broke when I went to ASP 2.0 from ASP 2.0 + Templates. I got the error msg
-- File not found TemplateObj.asp - or something similar.
Not figured out what the problem is.

Andrew B
Posted: 02/07/2002, 6:46 PM

Thats wierd... well, the problem is that with teamplates, it generates that file and w/o templates it doesnt. The file contains the code for working with the template pages, parsing them in memory, subing variables, etc.

A simple way to fix it would be to create a new project as asp2.0 + t. and generate it. That should create the templateobj.asp file that you need. Then just copy it over to the directory of the other project.

It's odd that it is not creating it, but this is a workaround.
Nicole
Posted: 02/08/2002, 4:19 AM

Guys,
first try to delete all the files and regenerate the project. The other reason could be that you use some code in CC events, especially in Custom Show, CustomAction, Custom Navigation because mentioned events include template dependent code (some functions used in template version only).


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.