Error - cannot create a script

Started by Randem, August 22, 2013, 02:09:17 AM

Previous topic - Next topic

Randem

Aloha agupte,
 
How are things going with your computer?

agupte

I am unable to do anything right now, because my computer is Munged.  Will pick up the thread in a few days. My E: drive is just a partition on my main drive.  It is not a networked or removable drive.

Randem

Ok, I think I found the issue. It seems to happens when the Name is blank or just a \.
This issue happens on some networked drives that only return partial information when requesting path information;
mainly permissions access errors from the network.
To verify copy the VB.NET project file to a local drive then re-run InnoScript;
the problem should cease to exist for this issue.
However there may be other such issues when using the same networked drive when InnoScript wants to search the networked drive.
The same issue will occur and files will not be found.
 
I have also attached an updated InnoScript which removed the Assembly.vb file search (our fault) and just return an error message.
 
Where is your drive E: located? How is it connected?
 
Thank You for reporting this issue.
 

agupte

Sorry, forgot to attach the screen cap.

agupte

I ran it one more time and same result (see below - I get the error message immediately).  This time there is nothing in any of the logs.  When I hit create script, the error log generates and I get:
 
Randem Systems - InnoScript - Version 11.1  Build 30 - 9/2/2013 5:30:13 PM
 
 
9/2/2013 5:30:16 PM - Dependency file is missing - binDebug x86Microsoft.VisualBasic.PowerPacks.Vs.dll
9/2/2013 5:30:16 PM - E:ProjectsL3V2L3ProducerV2.0AssemblyInfo.vb
Invalid procedure call or argument
 Badly formatted Project file - (.NET)
GetNETInformation

agupte

OK, I started a brand new project, and filed out the first screen. See attached - I only filled out the first three items and later when I went back to that screen, it had filled in the additional information.
 

 
Next, I filled out the next screen.  I clicked on the .Net button and chose the vbproj file by using the file picker.  
 
 
 
and I immediately get...
 
 
 
I forgot to do the run log, but I reopened the project and the run log is empty.  So is the Debug log.  The error log says:
Randem Systems - InnoScript - Version 11.1  Build 30 - 9/2/2013 5:25:22 PM
 
 
9/2/2013 5:25:22 PM - Visual Basic Project File (.vbp)
Visual Basic Project file extension is not valid (.vbp)
 
 
 
(Message edited by AGupte on September 02, 2013)

Randem

You cannot choose a .vb file with the browse button used to select the project file. The browse button is filtered for .vbproj type files only. One would have to override InnoScript's browse function or type a different file type into the selection space to get this file in the project selection. InnoScript would not choose a .vb type of file for a project file for any reason... InnoScript does not care about .vb files...
 
Please describe the steps taken to get this error and post the error & run logs for this operation.

agupte

OK, I was a little confused. Apparently this file is automatically created.  A search found this:
 
When you create a new project using Visual Basic .NET, one of the components of the project will be a file named AssemblyInfo.vb. This file contains all of the assembly attributes that describe the assembly. To characterize your assembly, you should customize this information. You can edit the AssemblyInfo.vb file just like any other Visual Basic .NET source file.
 
But why is InnoScript even looking at this file?

agupte

I am not! :-)  This is an automatically generated file (I think) and from what I can tell, this refers to my Visual Studio Install Project.

Randem

Yes, that is not a .vbproj file. It is not a VB.NET project file. InnoScript will complain, it is not formatted like a project file.
Are you attempting to use a .vb file as a project file?

agupte

Build 30 installed OK, but I am still getting the same error.
 

 
Since it is referencing the Assemblyinfo.vb I am attaching that as well.
 
 
 
(Message edited by AGupte on August 28, 2013)

Randem

You can download the FULL version (complete) from the website (InnoScript Full Version) and install that as I have stated. You will have none of the issues you report.

agupte

I am using 11.1 Build 27.  I have tried to update but it has failed several times. At times it fails because the download times out.  At other times, it starts the install and then gives and Abort Retry Ignore message that some files it needs are still open.  I have closed all programs, but the error keeps popping up.

Randem

I ran InnoScript with your .vbproj file and there were no issues. We are using InnoScript 11.1 Build 30. Please download the complete install of InnoScript and try again with that. Let me know the results.

agupte

I am able to exit InnoScript normally and tried several times (even after a reboot).  I have attached the files



VB Project file
L3Producer.vbproj (21.4 k)