How to migrate project in PeopleSoft if connect id password is different? - peoplesoft

To migrate a project from one environment to another in PeopleSoft using Application Designer Connect Id credentials(default is people/peop1e) must be same in both environment.
Is there any way we can migrate projects if connect id and password are different in both the environment.

You could copy the project to a file between environments:
Save the project to a file from the source environment
Change the connect information in Configuration Manager
Copy the project from a file in the destination environment
Or it looks like you could you use App Designer Command Line parameters to copy the project from one database to another with different connect passwords but I haven't tried it. Here is the PeopleBooks page for Understanding PeopleSoft Application Designer Command Line Parameters and the Command Line Parameter Reference

Related

How to deploy Javafx desktop application with Hsqldb

I've completed a Java project with Hsqldb, the application works fine on my local machine, this is intended to be used as a standalone desktop application on the Windows platform. Please could you suggest any references/documentation on how to go about the deployment processes. Thanks in advance.
For deploying an embedded HSQLDB database, the only thing that can be different on the target is the location of the database files.
You define the directory where files are stored and it should be a writable directory. In this case, define the path and use it as an absolute path (which includes the drive name if any) to connect to HSQLDB.
You can also define the database connection URL to contain the user home directory path. This allows storing the database is a subdirectory of the user's home directory. See http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#dpc_variables_url

User's to create content and save on server

I am creating a Asp.Net Web APP, and I'm trying to figure out how I can allow users to create content and save it on a large file system in my Computer
My thought process being something like this:
User john113 creates a project: projectA
If the directory on the remote machine /serverstore/john113 does not exist, create it.
If the directory on the remote machine /serverstore/john113/projectA does not exist, create it.
john113 creates itemA in projectA and saves the item, I write the file to /serverstore/john113/projectA/itemA
How can I access this remote server , which is a windows machine, and be able to do the actions I've listed above.
Will I need some instance of Windows Server running on this remote machine, with open file permissions?

How to create database file into msi file for clickonce

I am developing a CMS based application and I want that my application should install the database automatically while installing the application. How can I create a MSI file so that I can install my database automaitcally on startup.
You can either
1) include the .mdf/.ldf files for an "empty" database into your MSI and place them in the right directory for SQL Server and then use e.g. sqlcmd.exe to attach those database files to the server
OR:
2) you could include a bunch of scripts to create this database into your project, and have some utility (e.g. SSW's SQL Deploy) execute those scripts in a given order, to create the database, database objects, and seed the lookup / system tables
OR:
3) you could look into Microsoft's new WebDeploy technology - it allows you to deploy a web app including stuff like IIS configuration and database scripts to a new machine.
Web Deploy 2.0 Home Page
Web Deployment Made Awesome: If You're Using XCopy, You're Doing It Wrong

Publishing ASP.Net Web application with SQL Server database installation

My requirement is to deploy an ASP.NET application in which I have a core library class project, service layer and a UI layer, using SQL Server database as backend.
My client needs to deploy it using some MSI or EXE, in which he / she should able to customize the installation to IIS and his SQL Server.
What I want to say, when I execute the EXE, it will ask me the basic requirement for the IIS like server name, virtual directory name, app pool etc , then automatically deploy it there. Now it should also ask the same for SQL Server database installation like server name, authentication, database name and so on....
I have tried but I can manage to deploy ASP.NET app not able to customize the SQL Server installation.
Also tell a feasible solution, as my database size is around 6GB. What will be optimized way to create a installer for that?
I once had to do something similar but my database was much smaller.
I scripted out my database into T-SQL statements for its creation from scratch and stored those in a text file.
I then wrote a .NET windows app that would prompt the user for SQL Server network location and credential information. This .NET application had the database creation SQL text file included in the executable as a resource file, and would connect to the specified SQL Server and execute the commands in the text file one by one. I was able to read the text file and parse commands out by delimiting on the keyword "GO"(linebreak).

ASP.NET project installer registry key?

I have a asp.net project, and wrote a web installer.
The setup exe/msi copies that project in directory chosen by the installing user, and creates an application for it.
How can I get the path my asp.net application got installed to (in the installer)?
I want to write the physical path of my ASP.net application into the registry, because a windows service needs to watch a directory of this web project, and it can't do that, unless it knows where the web project was installed to.
Does the Webinstaller project by any chance write this value into the registry automatically ?
It is possible:
Right-click on the setup project, and choose View->Registry from the context menu.
Right-click on HKEY_Local_Machine, add a new key, call it Software.
Right click on Software, add a new key, call it "MyCompanyName".
Right click on MyCompanyName, from the context-menu, choose new->String
call it installation folder.
Left click on the installationFolder key, and set property value to [TARGETDIR]
Add an additional string key, call it version and give it the value [ProductVersion]
including the []
On x64, you'll find your registry key in regedit under
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\YourCompany]
But programmatically, you can read it normally, from normal projects and web projects, with:
My.Computer.Registry.GetValue("HKEY_CURRENT_USER\Software\YourCompanyName", "Installation Folder", Nothing)
Unfortunately no; IIS uses means other than the registry to store its configuration.
For IIS4, IIS5 and IIS6, you'll need to take a look through the IIS Metabase. This is an XML file in your Windows folder under system32\inetsrv\Metabase.xml; it's XML, so you should be able to read it directly to find the information you need.
IIS7 doesn't use the Metabase any more; instead, see here for details of the managed API to the IIS configuration.
So you may find it best to rework your application to look in either of these places for the directory information that you need.

Resources