Topics Topics Help/Instructions Help Edit Profile Profile Member List Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  
Randem Systems Support Board * SVC - General Questions, Report Bugs, Problems etc... * VB6 Project - vbp file could not be loaded < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 1
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 04:07 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I just installed SVC 4.0 Build 10.
I created a new project and placed a VB6 project into SVC. When I check-out the project, the files are not readable by VB6. Any ideas?

P.S. Clicking on "Purchase SVC" takes me to a web page for InnoScript? How do I purchase SVC or donate to the website?
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 87
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 04:54 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Aloha dbmaven,

You can donate on the SVC webpage at http://www.randem.com/svc.html

Look for "Support SVC".

I will check on the addition/extraction of the project.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 88
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 05:00 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

dbmaven,

I just check-in a VB6 project folder then checked it out to another folder and it opened as expected.

Could you give me a little background on the process you are using?

The Registration page has been updated to include SVC.

Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 2
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:09 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I'm using the SQL Server version. I checked out my code to the same folder. Maybe that was the problem.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 89
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:14 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Not sure... But that is one thing one should never do is to check files out into the development environment.

Let me know of your testing results.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 3
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:16 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I tried checking out to another directory. Same problem. The files seem to be corrupted.

How do I recover these files?
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 90
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:22 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

What are the steps you are taking for checkout?
Did you get any errors on Check-In?
Could you post the vbp file so that I can take a look?
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 4
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:33 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

No errors with the checkin.
I tried checking out individual files and the entire project.
application/octet-streamProject files
edcinventory.vbp (3.8 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 91
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, November 28, 2006 - 07:36 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

You would need to zip it first. Please re-post
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 5
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 07:57 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Sorry, here is the project.
application/zipVB Project
edc.zip (1.9 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 92
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 11:33 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I looked at your file and the reason it is not able to be loaded is because it is saved in Unicode format.

I will look further into this.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 93
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 11:52 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

If the Unicode parameter for the SQL database in the ini file is UniCode = False, Set it to True and try to check the files out again.

Let Me know...
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 6
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 12:36 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

It was set to True. I tried setting to to False and then checked out the project again. The vbp file is corrupted.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 94
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 12:45 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Look in the database in the table "ProgramList" for the vbp file and tell me what the field ACT_LTH is and what the Windows file size is and also what the field LTH in the table "ProgramData" is.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 95
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 02:01 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

BTW: you can convert a UniCode text file by opening it in notepad then cut and paste it to a new text file.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 96
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 07:28 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Try this file to export your data. Just replace the one in the folder where you installed SVC.

Is there anyway to get a screen shot of the programlist and programdata tables. A copy of the whole database would be helpful.
application/zipSVC Beta 4.0.11
SVC.zip (405.6 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 7
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 07:33 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Thanks, I'll send you the database on Thursday.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 97
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, November 29, 2006 - 07:44 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

application/zipSVC Beta 4.0.11
SVC.zip (405.5 k)


Usethisone.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 8
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, November 30, 2006 - 09:31 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I placed the new exe in the Program directory where SVC runs from. Now, when I try to check out anything it locks up?
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 98
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, November 30, 2006 - 10:57 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I need to see the tables in your database. None of those things happen here.

Look in the titles table for your project find the SYS_ID then look in the programlist table for the LTH and ACT_LTH fields and the programdata table for the LTH field.

It could be easier to export the database to Access then post that.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 9
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Thursday, November 30, 2006 - 11:56 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Here is a back up of the SQL Server database. I restore my projects so I can reinstall SVC and start over if needed.
application/zipSQL backup
SVC.zip (5670.3 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 99
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Friday, December 01, 2006 - 10:05 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

I seemed to have found the problem. Your database seems to be storing data in Wide Character Format not UniCode.

I am researching this...
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 100
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Saturday, December 02, 2006 - 09:34 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Ok, found the problem. It was in the creation of the table ProgramData for the field Data. It was set incorrectly as text when it should have been varbinary (max).

If you need the text project, I can retrieve them.

I have uploaded new scripts for SQL Server and a new update installation. Replacing the exe won't do. Sorry for the inconvience and thank you for bringing this to our attention.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
New member
Username: dbmaven

Post Number: 10
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, December 03, 2006 - 10:29 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Thanks!
I'll reinstall and use the new script.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 101
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Sunday, December 03, 2006 - 12:41 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

That setting seems to have migrated from when the software only handled text files. it was never changed in the script.

Let me know how it works...
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 103
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 08:44 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Any progress?
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
Junior Member
Username: dbmaven

Post Number: 11
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 09:35 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

In your script for the ProgramData table,
your have "[DATA] [varbinary](max) NULL," listed?
Did you mean the max length of a varbinary field, 8000?

The max setting doesn't work so I put in 8000 to continue testing.
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
Junior Member
Username: dbmaven

Post Number: 12
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 09:52 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

On my first import, I see this error dealing with the Programdata.data column.

Error
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 104
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 11:36 am:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Did you use the new script that is on the website to create the database?
Top of pagePrevious messageNext messageBottom of page Link to this message

dbmaven
Junior Member
Username: dbmaven

Post Number: 13
Registered: 11-2006

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 12:02 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Yes.
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 105
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 12:56 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

There should be no limit to a varbinary field. This is the correct field type. I have tested it here. What version of SQL Server are you running?
Top of pagePrevious messageNext messageBottom of page Link to this message

randem
Moderator
Username: randem

Post Number: 106
Registered: 04-2004

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, December 05, 2006 - 07:31 pm:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

dbmaven,

I have figured it out. In SQL Server 2000 that field needs to be IMAGE (other version of SQL Server are different). I have corrected the script and reuploaded it. I have double checked it on SQL Server 2000 for accuratcy and all is well.

Thanks for your time and sorry for the inconvience...

BTW: SVC also supports SQL Server Express 2005.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration