Create licence keys

Hello

My Build
server is called BUILD-SRV<?: prefix = o ns = “urn:schemas-microsoft-com:office:office” />

I
requested unlock code via RDP from BUILD-SRV

I generated licence keys via RDP from
BUILD-SRV

I cannot
do like suggested “On
the build machine, be sure to install the license under the user account that
the build runs in.
”<o:p></o:p>

Because
I logon to the build server with my account of our domain<o:p></o:p>

A test
with the account of an colleague gave me
the same result in licence keys<o:p></o:p>

The
assembly witch is created with VS 2010 is called " Company.Product.Web"<o:p></o:p>

The
build results in a “goWeb Licence timed out or invalid licence” Error<o:p></o:p>

<o:p> </o:p>

Build
Solution performed locally (WORKSTATION) results fine<o:p></o:p>

<o:p> </o:p>

The
licence files are located in VisualSourcesafe<o:p></o:p>

Before
build event I copy the %COMPUTERNAME%.xcil
file, located within my project to projectroot Licence.licx<o:p></o:p>

I use
the Prebuild event to accomplish that:


***********************************************<o:p></o:p>

IF EXIST
“$(ProjectDir)Licence.licx” goto :Delete<o:p></o:p>

goto
:TryCopy<o:p></o:p>

<o:p> </o:p>

:Delete<o:p></o:p>

ATTRIB
–R “$(ProjectDir)Licence.licx”<o:p></o:p>

DEL
“$(ProjectDir)Licence.licx”<o:p></o:p>

<o:p> </o:p>

:TryCopy<o:p></o:p>

IF
“%COMPUTERNAME%” == “WORKSTATION” goto :DoCopy<o:p></o:p>

IF
“%COMPUTERNAME%” == “BUILD-SRV” goto :DoCopy<o:p></o:p>

goto eof<o:p></o:p>

<o:p> </o:p>

:DoCopy<o:p></o:p>

COPY
“$(ProjectDir)Data\Visualization\LicenceKeys%COMPUTERNAME%.xcil”
“$(ProjectDir)Licence.licx”<o:p></o:p>

<o:p> </o:p>

:eof<o:p></o:p>

***********************************************<o:p></o:p>

<o:p></o:p>

Goweb.dll
and Goweb.Layout.dll are also part of the solution in VSS. They are the
Versions installed on my development machine.<o:p></o:p>

Locally
I build directly in VS 2010 the build server builds with MSBUILD<o:p></o:p>

<o:p> </o:p>

Any idea
what I’m doing wrong?<o:p></o:p>

<o:p> </o:p>

I
observed on my development machine that it does not matter what licence keys I
use (this one from local machine or this from build server), the build result is
always functional
J ?? Even if I edit the licence key manually it works fine, even after reboot<o:p></o:p>

<o:p> </o:p>

Thank
you very much for your Help<o:p></o:p>

<o:p> Christian</o:p>

<o:p></o:p>

Try copying the key you’ve installed under your account in the Registry from

HKEY_CURRENT_USER\Software</span>Northwoods Software\Go.NET

to

HKEY_LOCAL_MACHINE\Software</span>Northwoods Software\Go.NET