Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 5 Jahren, 1 Monat
Letzter Beitrag:
vor 5 Jahren, 1 Monat
Beteiligte Autoren:
Markus K., Al, Thomas Brauner, Alexandre Leclerc

[WD18] Problem with loading report

Startbeitrag von Markus K. am 11.06.2013 10:24

Hi,

i wanted to rename a report and WD crashed after i pressed the save button. I restarted WD but the report seems to be corrupted. I cant open it and i dont know why. Before the renaming it worked without problems.

What can i do to fix it?

Thanks in advance.

Here is the error:

**********************************************

Error loading C:\My Projects\BusiMan\RPT_Verkaufsvorgang.wde report.
Unable to complete initialization:
Invalid file type:
C:\My Projects\BusiMan\RPT_Verkaufsvorgang.wde

**********************************************

Technical Information
What happened?
Error loading C:\My Projects\BusiMan\RPT_Verkaufsvorgang.wde report.
Unable to complete initialization:
Invalid file type:
C:\My Projects\BusiMan\RPT_Verkaufsvorgang.wde

Error code: 0
Level: fatal error (EL_FATAL)

Dump of the error of 'WDEtat.DLL' module (18.0.94.1).
Debugging information:
##(CWDFile)-Type demande=, type lu=##
##(CManipObjetWD)-bLectureEcriture=, Version=##
Additional Information:
EIT_SRCFILE :

Antworten:

Hallo Markus,

renaming a report or a window seems to be possible and seems to be very easy...

But DON'T DO THIS!
WD has many problems with renaming ! Especailly if you use the SCM.
I just spent several hours in order to "repair" the project after renaming.
Its been with WD17 and also with new WD18.

Send the error to PCSOFT. Maybe they can help you...

Thomas

von Thomas Brauner - am 11.06.2013 11:49
Hi Markus,

Try looking at the backup folder in your project, and copy the BKE or TKE file of your report back in your main project folder. And rename it to WDE. Then repair / recompile your project if required.

More on file extensions: http://doc.pcsoft.fr/en-US/?3084013

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 11.06.2013 14:10
Hello Thomas

Renaming in Windev has always been an interesting exercise and I believe the problems are caused because of the dual names it has for each file - the external OS file name and the internal logical name. I don't use the SCM - tried it a few times in earlier versions but always had problems so now I don't bother even looking at the new versions.

The only safe way I have found to rename a file is to open the original window/report and do a "SaveAs" and then imediately close the new file without doing anything to it. After that make sure that the original file and the renamed file are both checked into the project. If the original file is still checked out then you may get problems. You should never change the name of any Windev file from outside the IDE.

Regards
Al

von Al - am 11.06.2013 22:27
Hi,

Alexandre's way did it, thank you. :spos:

Its annoying that i cant easily rename my files.

von Markus K. - am 12.06.2013 08:04
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.