Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi Prism/IDE/Project Management    [ Add a report in this area ]  
Report #:  98553   Status: Open
Prism XE2 can't rename aspx files ...
Project:  Embarcadero Prism Build #:
Version:    2010.1 Submitted By:   Jens Warkentin
Report Type:  Basic functionality failure Date Reported:  9/5/2011 7:04:42 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   287447
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Prism XE2 can not rename files....

If I try to rename a WebForm (ex: WebForm1.aspx >> MySite.aspx) from the solution Explorer OR if I try to save the WebForm1.aspx as MySite.aspx PRISM brings up the Error "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt" ("Object reference not set to an instance of an object").

Steps to Reproduce:
Open Prism XE2 > Create a new ASN.Net Project > Create a new WebForm in this Project.
You can see the new WebForm (ex: webform1.aspx), the Designer file and the CodeBehind File in the SolutionExplorer.

Try to rename the WebForm1.aspx to MySite.aspx by RightClick > Rename > in the Solution Explorer >> Crash

Create a another new WebForm in this Project.
Open the new Webform.
You see the ASPX Code in the Editor Window.

Klick on File > Save "WebForm2.aspx" as > use a new Filename (ex: MySite2.aspx) > Click OK >> Crash

- remove WebForm from the Project
- rename the WebForm1.aspx, WebForm1.aspx.pas WebForm1.aspx.designer.pas with the Windows Explorer
- Add the renamed Files (MySite.aspx, MySite.aspx.pas MySite.aspx.designer.pas) to the Projet
- Open all this files in the editor
- replace all occurances of the Word "WebForm1" with "MySite"
- Save the 3 Files
- Save the Project
- Close and Reopen the Project

Tomohiro Takahashi at 9/5/2011 6:18:50 PM -
I deleted QC#98554 as Sysop. Please do not post same reports.

Server Response from: ETNACODE01