Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: agupte on August 22, 2013, 02:09:17 AM

Title: Error - cannot create a script
Post by: agupte on August 22, 2013, 02:09:17 AM
I started my first project using the instructions in Quick Start.  I get the Error
 
Invalid procedure call or argument
Badly formatted Project file - (.Net)
GetNETInformation
 
Using Innoscript Version 11.1 Build 27
Oh, and I get an error trying to update the software as well.  It tells me I need to close all programs (which I have) and will not continue beyond the Abort, Retry Ignore dialog box.
 
Any help will be appreciated.
Title: Error - cannot create a script
Post by: Randem on August 23, 2013, 09:59:17 PM
Sorry, for the delay. We have been having some ISP/Hosting issues lately.
 
Could you zip and post the InnoScript Project File (.pjt) and the .NET project file (.vbproj) file so that I can take a look at it.
 
We have not seen the errors you mention. We update our systems in the same way you would update yours and we have not seen this error. Could you give me some more details about this; IE. OS Version etc.
 
When this happens you could open the task manager and close InnoScript then click to retry. My guess is that something is not allowing InnoScript to close.
Title: Error - cannot create a script
Post by: agupte on August 27, 2013, 09:07:50 PM
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 (https://randemsystems.support/index.php?topic=1.0) (21.4 k)
Title: Error - cannot create a script
Post by: Randem on August 27, 2013, 09:38:47 PM
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.
Title: Error - cannot create a script
Post by: agupte on August 28, 2013, 12:37:00 AM
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.
Title: Error - cannot create a script
Post by: Randem on August 28, 2013, 09:00:13 AM
You can download the FULL version (complete) from the website (InnoScript Full Version (https://randemsystems.com/innoscript//)) and install that as I have stated. You will have none of the issues you report.
Title: Error - cannot create a script
Post by: agupte on August 28, 2013, 06:37:49 PM
Build 30 installed OK, but I am still getting the same error.
 
(https://randemsystems.support/discus/messages/12/11021.jpg)
 
Since it is referencing the Assemblyinfo.vb I am attaching that as well.
 
 
 
(Message edited by AGupte on August 28, 2013)
Title: Error - cannot create a script
Post by: Randem on August 28, 2013, 06:48:43 PM
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?
Title: Error - cannot create a script
Post by: agupte on August 28, 2013, 08:04:48 PM
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.
Title: Error - cannot create a script
Post by: agupte on August 28, 2013, 08:12:32 PM
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?
Title: Error - cannot create a script
Post by: Randem on August 30, 2013, 04:20:21 PM
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.
Title: Error - cannot create a script
Post by: agupte on September 02, 2013, 01:53:32 AM
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.
 
(https://randemsystems.support/discus/messages/12/11027.jpg)
 
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)
Title: Error - cannot create a script
Post by: agupte on September 02, 2013, 02:02:48 AM
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
Title: Error - cannot create a script
Post by: agupte on September 02, 2013, 02:05:20 AM
Sorry, forgot to attach the screen cap.(https://randemsystems.support/discus/messages/12/11032.jpg)
Title: Error - cannot create a script
Post by: Randem on September 02, 2013, 07:21:40 PM
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.
 
Title: Error - cannot create a script
Post by: agupte on September 10, 2013, 04:24:43 AM
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.
Title: Error - cannot create a script
Post by: Randem on September 16, 2013, 08:46:02 PM
Aloha agupte,
 
How are things going with your computer?