Composite C1 site shows installation dialog instead of actual site - c1-cms

I've copied a live Composite C1 CMS based website to a local location to work on. Instead of seeing the site content I'm being taken to the installation dialog pages as if I'm installing a new Composite C1 site from scratch. Any ideas what's going on?
I'm running:
Composite C1 3.2 Patch 3
Build no. 3.2.4681.14221
It's running on IIS 8.5 locally and I believe the live shared hosting server is running IIS 6.
Thanks in advance for any insights!

Turns out the FTP'ing of files terminated prematurely and a number of files had been missed. Once these files where pulled across everything worked as expected.

Related

The existing published deployment does not appear to be a valid deployment manifest

So I was able to publish my wpf application using click once without any problem for a couple of months. But yesterday when I tried I got an odd looking message.
When choosing Yes option the publish stops and fills error list with those errors:
I tried searching online but without any success.
I resolved this issue by unchecking the passive mode check box when prompted for the ftp credentials
This issue started happening to me after I upgraded to Visual Studio 2019 16.7.3. I also updated my application from .NET Framework 4.7.2 to 4.8. (Although I doubt that's the issue, I did not revert to 4.7.2 to test it.)
My solution was to publish to a local folder and then upload those files with a separate FTP application (e.g., FileZilla). Upgrading my existing ClickOnce app worked fine.
Details: In your application's Properties page, select the Publish tab. Change the Publishing Folder Location field from "ftp://whatever" to "C:\publish-MyApp." Click the Publish Now button. VS will create the files pretty quickly. Next, use your FTP application to upload the contents of the C:\publish-MyApp folder to the existing installation folder on your server. This overwrites the existing setup.exe and MyApp.application files and adds a new folder (e.g., MyApp_1.2.3.4) in the Application Files folder.
(One side benefit of this method is that it's faster to publish because FileZilla is a lot faster at uploading than Visual Studio.)

Composite C1 Installation Fails (web platform installer)

A couple of years ago I setup a couple of Composite C1 (4) sites.
I just tried to create a new site using the web platform installer - but at the end of the installation I always get this error:
Composite C1 .NET CMS
This product did not install successfully: This access control list is not in canonical form and therefore cannot be modified.
(I can't find mention of this in Google).
How can I get this working - pretty bad that it fails right out of WPI like this. Thanks.
Now after selecting IIS Express - it gets further then comes up with "An unfortunate error has occurred"
I granted full write & full control access to the wwwroot folder to the IIS_IUSRS user.
This fixed the IIS install.

Sterling DB Windows mobile 10 support

I have a WP8.0 Silverlight app in store. It uses SterlingPhone as DB. I downloaded my app in a Windows Mobile 10 Insider Preview Version (v10.0.10536.1004) and it seems that data is removed after I exit the app.
I am using IsolatedStorageDriver:
Database = _engine.SterlingDatabase.RegisterDatabase<ItemsDatabaseInstance>(new IsolatedStorageDriver());
Has anyone faced this situation? I know Sterling is pretty old, but I think it should continue working on WM10.
In case I have to change to another Database Engine, I'd appreciate suggestions (my Data Model makes it very difficult to work with Sqlite due to nested objects).
EDIT:
Apparently Sterling is unable to find the existing database so recreates it each time the app is relauched.
Isolated storage screenshot
For anybody who found this post with the same issue, the problem lies in changed behaviour for string.GetHashCode on Windows 10 Mobile.
Sterling uses the hashcode of the database name in the path for the database. On Windows 10 Mobile the behaviour has changed and everytime the app is restarted a different hash is calculated and the path changes to the previous database is not found.
To get your app working again, get the SterlingDB code from CodePlex and change the code in the PathProvider class, in the GetDatabasePath method, then recompile your app. You can add a check to see if you are running on WM10 so users on WP8 continue to work with the old database.
The newer version of SterlingDB on GitHub doesn't appear to use the hashcode anymore so should also keep working.

unable to run "update.php"

I had a Drupal website in drupal 6.x When i wanted to upgrade it to 7.x, the custom theme i was using was absolutely outdated, so i imported my Zen subtheme from another website. For doing that, i just copied the folders "zen" and "mytheme" from the other installation to this one. Then i selected "mytheme" as the current theme and changed some little things to adapt it.
The fact is now i'm experiencing the following problems:
I can't auto-update nothing. It downloads the files but then it stacks (and leaves the site in Maintenance Mode).
I can't run update.php. I can go on until i reach the "Run updates" step, which shows a blank screen. This is the main issue, i think, as it evidences -in my oppinion- a problem of communication between the site and the database.
In the Webform module i can't select "File" as a Field Type. This one is not that important, but it may be relevant for someone who knows more than me.
Edit:
Recently i migrated from a Shared to a VPS server. When i migrated, the subdomain in which i was experiencing the issue threw an incompatibility related to the lenght of the password of the database. I changed the password and it started to work again. This may help somebody for helping me. Thanks!

How to remove previous versions of an offline clickonce application

We have an net 4.0 winforms application that we publish with clickonce to the client pc's. The installation is about 80 MB. The application is offline available and the update occurs in the startup of the app using
ApplicationDeployment.CurrentDeployment.Update
Each time we do an update of the application everything works fine and each client gets udpated. However the application cache keeps growing in size... We noticed that more then two versions are kept in the LocalAppData folder. The size of the clickonce installation folder is more then 1GB.
ClearOnlineAppCache works only for online applications and we don't find any information to clean the LocalAppData for offline application.
Is there any way to manage previous versions of our application in the LocalAppData folder from our client pc's?
Update:
We removed our custom update code and used the update mechanism of the Clickonce framework. Now old versions are removed properly and only two versions are kept in LocalAppData. I have still no idea why all versions are kept when we update through the custom update code.
I've seen this issue before, but I clarified with the ClickOnce lead at Microsoft before answering.
It keeps two versions of the deployment plus there are extra folders for each assembly. When processing an update, ClickOnce figures out which files have changed by comparing against the assembly it has already cached, and it only downloads the ones that have changed. The deployment folders have hard links to the assemblies in the separate folders. So you might see additional files, but it's not actually the file, it's a link to the files in the assembly-only folders. Explorer will show it as a file, but it's not. So unless you're running out of disk space and are just concerned about the folder size, be aware that the information reported by Windows Explorer may not be accurate.
There is an answer to this problem here
I wrote a function to clean old ClickOnce versions in the client side.
In my machine I've freed 6Gb of space. I don't want to even know the total space used by old versions org wide...

Resources