Deployment Unleashit

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/6/2010 10:52:16 AM
Gravatar
Total Posts 72

Deployment Unleashit

Hi Joe,

Are you still using Unleashit for deploying mojoPortal?

I just went to deploy my first .NET 4 version of mojoPortal today and Unleashit fails to perform the deployment.

Wondered if this is something specific to .net 4 as I've never had the problem before.

Cheers,

Ben

7/6/2010 10:55:22 AM
Gravatar
Total Posts 18439

Re: Deployment Unleashit

I still use it with no troubles. I don't see how the framework version could have anything to do with an error, it just deploys files based on file extensions, it doesn't care about or know about the framework. Only kind of errors I can imagine are file system permission errors. 

Hope it helps,

Joe

7/6/2010 11:09:36 AM
Gravatar
Total Posts 72

Re: Deployment Unleashit

Admittedly it's the first time i've used it on this laptop (Windows 7 Home Premium). The error is below. I get the same error if I try and save the profile or deploy - does suggest permissions but i've got write permissions on both project directory and deployment directory.

 

Error Message: Object reference not set to an instance of an object.

Stack Trace:
   at UnleashIt.frmMain.SaveProfile()
   at UnleashIt.frmMain.Deploy_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Source: UnleashIt-GUI

Unleash It Version: 2.4.1.0

OS Version: Longhorn, 6.1.7600.0

7/6/2010 11:17:42 AM
Gravatar
Total Posts 18439

Re: Deployment Unleashit

It looks the error happens when trying to save the deployment profile, I'm not sure where it saves that, maybe under the user profile or something, it doesn't look related to the deployment folders.

I'm using Win 7, maybe try uninstall and re-install UnLeashIt. Or maybe try the File Save Profiles As and the File Load Profiles.

Hope it helps,

Joe

7/6/2010 11:46:43 AM
Gravatar
Total Posts 72

Re: Deployment Unleashit

Yeh I tried a de/re install but to no avail.

Have managed to deploy it now. Seems to work if I choose a source directory, but not if I choose the mojoportal web project. The mind boggles.

7/6/2010 12:01:41 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Deployment Unleashit

Windows 7 has special protection on some system folders (Windows, Program Files, etc). You can try running Unleashit as administrator (right click the icon, and select "run as administrator"). If the problematic operations work when you run with administrative access, then it's likely that Unleashit wants to save its settings file to the installation directory under Program Files (or Program Files (x86) if you are running Win7 x64). That was a common technique "back in the day," and since Unleashit hasn't been updated since 2004, long before even the release of Windows Vista, this could likely be the source of the problem. It's too bad that the program isn't properly catching an exception like that though!

Jamie

7/6/2010 12:06:40 PM
Gravatar
Total Posts 72

Re: Deployment Unleashit

Hi Jamie,

Yes I've tried all the normal things, running as admin, running in compat mode, forcing permission inheritance throughout the project, it just doesn't seem to when using a project file, but does if I use a directory.

It's no biggy really as i've been able to deploy and I don't normally use this laptop for development (my other machine works just fine)

Thanks anyway,

Ben

You must sign in to post in the forums. This thread is closed to new posts.