Support Q & A Home

Ask A Question

Anyone can ask or answer a question here, but our support engineers actively monitor your questions; we typically answer within a day or two.

Filter
Viewing Page 29 of 105 (20 questions out of 2092)
5
replies

Hi,

using MSBuild on an MVC (web application) project does not publish correctly

I have used BM 4.8 and there was a build MVC project. Does this option exist in BM 5.3?

I have tried to added a target to the project file and run msbuild to publish the project. This does what I expect, however when I create artifact, the artifact has an extra subdirectory in the zip file.

should be:
zip -> list of files and directories

the artifact contains:

zip -> eb -> list of files and directories

The extra subfolder screw up the deploying of the artifact.

Product: BuildMaster
Version: 5.5.3

1
replies

Suddenly Proget stopped working on our Build machines.

c:\Program Files (x86)\NuGet.CmdLine>nuget list -allversions PinForce.Database.B
usiness http://pf-build5:81/nuget/DCANuGet
Expected an absolute, well formed http URL without a query or fragment.
Parameter name: serviceRoot

Windows Application logs

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 27/10/2016 8:00:58 PM
Event time (UTC): 27/10/2016 9:00:58 AM
Event ID: 70fc3cafc4e242a5a22ba1e1f00d1495
Event sequence: 2
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/ROOT-1-131220324553013677
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\ProGet\WebApp\
Machine name: PF-BUILD5

Process information:
Process ID: 2968
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: ActivationException
Exception message: Activation code is invalid.
at Inedo.ProGet.WebApplication.WUtil.Licensing.ValidateLicense()
at Inedo.ProGet.WebApplication.ProGetHttpModule.<BeginFirstRequest>b__9(Object _s, GetHandlerEventArgs _e)
at Inedo.Web.Handlers.DynamicHttpHandling.System.Web.IHttpHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information:
Request URL: http://pf-build5:81/nuget/DCANuGetDebug
Request path: /nuget/DCANuGetDebug
User host address: 10.1.0.218
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 3
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Inedo.ProGet.WebApplication.WUtil.Licensing.ValidateLicense()
at Inedo.ProGet.WebApplication.ProGetHttpModule.<BeginFirstRequest>b__9(Object _s, GetHandlerEventArgs _e)
at Inedo.Web.Handlers.DynamicHttpHandling.System.Web.IHttpHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Custom event details:

Product: ProGet
Version: 3.1.5

2
replies

Can someone verify if the following behaviors are intended when writing scripts directly inside a PSExec operation?

  1. Runtime variables are not evaluated when quoted.
  2. Runtime variables are evaluated to empty when the script text is a single line.

I've created a small plan that illustrates the behavior.

##AH:UseTextMode
template foobar
{
    # General
    for server MyServer
    {
        set $var1 = foo;

        set $var2 = bar;

        Execute-PowerShell echo '$var1\$var2\test';

        Execute-PowerShell >>echo '$var1';
echo '$var2';
echo '$var1\$var2\test';>>;

        Execute-PowerShell echo $var1\$var2\test;

        Execute-PowerShell >>echo $var1;
echo $var2;
echo $var1\$var2\test;>>;

        Execute-PowerShell >>echo $var1;
echo $var2;
echo '$var1\$var2\test';>>;

        Execute-PowerShell >>echo '$var1';
echo '$var2';
echo $var1\$var2\test;>>;
    }
}

Also can someone provide a clear example of defining and accessing the inner values of a List type and a Map type variable? I see there is a ListItem function and a MapItem function but I am having trouble successfully using them.

Finally, is there any way to search the Q&A knowledge base other than tags? I'm sure this variable question has been asked before but the tag search seems pretty limited.

Product: BuildMaster
Version: 5.5.3

1
replies

Hi,

You removed the option to include pre-releases in feed. Do you have idea if this option will be available again?

It disappeared in release 4.4.1, if not my mistake. I update to 4.5.1 and have the same behaviour.

Thanks

Product: ProGet
Version: 4.5.1

1
replies

Good Morning,

I am trying to install the free version of Proget on a disconnected environment, however because it requires an internet connection I am running into difficulty. Would it be possible to send me a free license key please.

Kind regards

Gun

Product: ProGet
Version: 4.3.1

4
replies

I am using upack push to upload universal packages to a remote feed, but at times the operation exits with the following error:

Unhandled exception: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at ProGet.Client.Program.push(String package, String target, String user)

What is the timeout on the upack push command, and can it be altered at runtime?

5
replies

We have multiple releases configured for an application. If one release is in progress, and a second release is triggered, the second release will run and possibly interfere with the first release.

Is there a way to prevent this, so only one release can run at a time for a single application?

Product: BuildMaster
Version: 5.5.1

1
replies

Is it possible to have each iteration of a loop block run in parallel? I know the general block can run statements in parallel but most of my build steps that can benefit from parallelism also benefit from being in a loop. i.e. applying database scripts

Product: BuildMaster
Version: 5.5.3

0
replies

According to the documenation this name should be the same:
https://inedo.com/support/tutorials/proget/getting-started-with-proget-private-docker-registries

However, when doing "docker push nuget.tobania.be:443/linux/php-5.6:1.0.0" the pushed package needs to be pulled with "docker pull nuget.tobania.be:80/linux/library/php-5.6:<tag>".

Why is the package named "library/php-5.6" instead of simply "php-5.6"?

Product: ProGet
Version: 4.5.0

2
replies

I am using the $GetCredentialProperty(cred,Password) to pass a password into a powershell script in a PSEnsure statement. The execution log renders all of the input parameters, including the password (as DEBUG log items). Is there a way to redact the the password? perhaps just turning off DEBUG log messages would be sufficient, but I do not know how to turn those DEBUG log messages off.


#PSEnsure Statement
PSEnsure
(
Key: ConfigureNpm,
Value: 0,
CollectScript: Test-DefaultNpmRegistry,
ConfigureScript: Set-NpmConfiguration,
UseExitCode: true,
CollectScriptParams: %(
RegistryUrl: "$DefaultNpmPullRegistryUrl"
),
ConfigureScriptParams: %(
RegistryUrl: $DefaultNpmPullRegistryUrl,
RegistryUsername: $GetCredentialProperty(devbuilder,Username),
RegistryPassword: $GetCredentialProperty(devbuilder,Password),
UserProfileName: $GetCredentialProperty(devbuilder,Username)
)
);


#Log Output
DEBUG: Found script Set-NpmConfiguration.ps1 in Default raft.
DEBUG: Assigning parameter RegistryUrl=http://proget.internal.com/npm/npm
DEBUG: Assigning parameter RegistryUsername=builderusername
DEBUG: Assigning parameter RegistryPassword=<PASSWORD_IS_RENDERED_HERE>
DEBUG: Assigning parameter UserProfileName=builderusername

4
replies

I've been experimenting with the Docker feed functionality in ProGet to host Docker images. These images are built on Windows Containers, and while I didn't think that mattered, I'm seeing the following output when I try to push:

6414040ae497: Pushed
d4e75a41b2dc: Pushed
408403a891ac: Pushed
4029baf7c8ec: Pushed
74ef148425f5: Pushed
3fd27ecef6a3: Skipped foreign layer
manifest invalid: manifest invalid

I'm able to confirm that I can push regular Linux Docker images just fine; this is only an issue with the Windows Container images. I wouldn't have thought this to be an issue, but apparently it is. Are Windows Containers supported? If so, what needs to be done to push them to the Docker feed?

Product: ProGet
Version: 4.3.1

1
replies

Hello, when I try to upload a zip file to a universal feed setup I keep getting "The file you uploaded is not a valid package." Im sure its a simple setting or something Im missing. Im not finding anything online.

Thank you,

Johnny Martinez

Product: ProGet
Version: 4.5.0

2
replies

There seems to be an issue with the default bower feed, where packages cannot be downloaded from the feed. Also adding packages manually causes an uncaught exception to be thrown.

Image Text

Product: ProGet
Version: 4.5.0

3
replies

My maven feed does not populate with packages, this is the case even when within the connectors it shows there are packages. The feed has the connector added in with a filter of *.

Connectors
Image Text

Maven feed
Image Text

Product: ProGet
Version: 4.5.0

0
replies

I've upload a package on my NuGet repository. I'm able to see this package on web interface.

However, I'm trying to get this package from VS2015 and it's not listed. I've already added my NuGet repository as a source in VS2015 and I've been requested for a user and password correctly, nevertheless it's no listed yet.

Any ideas?

Product: BuildMaster
Version: 5.5.3

3
replies

I'm trying to run an npm install of one of our feeds, but keep getting blocked because of authentication issues

$ npm install --registry=https://proget.css.rxweb-dev.com/npm-feeds/private-npm/exhibitor-list@0.0.6

and I get an output of


npm ERR! registry error parsing json

npm ERR! Darwin 15.6.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--registry=https://proget.css.rxweb-dev.com/npm-feeds/private-npm/exhibitor-list@0.0.6"

npm ERR! node v4.2.1

npm ERR! npm v3.7.3

npm ERR! Unexpected token <

npm ERR! <!DOCTYPE html>

npm ERR! <html>

npm ERR! <head>

npm ERR! <title>Log In</title>

npm ERR!

npm ERR! <link type="text/css" rel="stylesheet" href="/resources/InedoLibWeb/styles/common.css?416.1.0.0" />

................ etc etc.........

<span class="info-block info" style="text-align: left">The page you are attempting to access requires authentication and you are currently browsing as the anonymous user.</span>..........


I've tried playing with the ~/.npmrc file. So far I have:

registry=https://proget.css.rxweb-dev.com/npm-feeds/private-npm/

strict-ssl=false

but when I try to add the username, password, email, on the commandline using npm adduser I get the following error:


npm ERR! <html><head><title>Object moved</title></head><body>
npm ERR!Object moved to <a href="/log-in?ReturnUrl=%2Fnpm-feeds%2Fprivate-npm%2F-%2Fuser%2Forg.couchdb.user%3Aci-aem-user">here</a>.
npm ERR! </body></html>


So it seems that I can't manage send through the credentials when I run the command
Any help would be greatly appreciated

Product: ProGet
Version: 4.5.0

2
replies

Take Execution completed event listener, when creating a "My Event Listener" for it, the default email address doesn't seem to work (although my email appears as a gray text in the textbox, which leads to the thought, its has a sensible default value).

Ideally for "My Event Listener", current user's email should be added automatically as a default email, unless specified otherwise. What do you think?

Product: BuildMaster
Version: 5.5.3

1
replies

Unlike Application filter, and application group filter, which shows the available options in the dropdown, Pipeline stage filter default to all stages, and there's no dropdown to show its available options.

How to use this filter to register only more "important" stages of a deployment?

Product: BuildMaster
Version: 5.5.3

1
replies

After manually executing a couple of artifact-removing retention policies in Buildmaster 4.6.2, I wanted to view the associated Purge History, since available disk space on the hosted Buildmaster server didn't increase.

Clicking the 'View purge history' button in the Retention Policies section of Buildmaster 4.6.2 resulted in

"Server Error in '/' Application.

Array cannot be null.
Parameter name: bytes

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Array cannot be null.
Parameter name: bytes

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Array cannot be null.
Parameter name: bytes]
System.Text.Encoding.GetString(Byte[] bytes) +129
Inedo.BuildMaster.Web.WebApplication.Pages.Administration.Retention.RetentionPoliciesPurgeHistoryPage.CreateChildControls() +433
System.Web.UI.Control.EnsureChildControls() +139
System.Web.UI.Control.PreRenderRecursiveInternal() +63
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6453"

Product: BuildMaster
Version: 4.6.2

2
replies

This is sort of a follow-up to

http://inedo.com/support/questions/4365

I hade the same problem (network account did not have permission to database) and added both NT-AUTHORITY\SYSTEM and NT-AUTHORITY\NETWORK and then the error messages in SQLEXPRESS were gone.

But, I can still not acces the webpage under localhost:81

I am working on a normal Windows 7 Prof. workstation to evaluate the software. I used the integrated webserver during the installation and the installation did not throw any errors.

As with the other question, the service takes a very long time to start.

Where else can I look to debug this? Is there any logging I can look into?

Product: ProGet
Version: 4.4.2

Ask A Question
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105