Installing HTML Server and HTML DB

I am installing the HTML server and HTML db. I get to the screen to enter the HTML DB information and an failing with an error ORA-01017:Invalid username and password. I have checked my SYS password by logging into the database I am using. From the instructions I though the HTML DB Password would be created on install. I have gotten this error before when my tnsnames.ora file was not correct, but I am using it with not problems for database links.
Does anybody have a suggestion
Thanks

Thanks for the response.
I have a running Oracle 10g Enterprise running in /var/oracle/product/10.1.01.E.on a test Linux system. I have started the install of the companion disk, and when the install screen comes up I enter Name=>MasterProjEntHTML (MasterProjEnt is the name of the database I am using). I enter a new directory for path ( as per the Companion CD Install Instruction that said you need to install the HTML server in a new oracle home directory), /var/oracle/product/companion_1. I then press next and wait for it to load. I select Oracle Database 10g Companion Products. I select Apache Standalone and HTML DB from the Available Products Components screen. Next comes up the Enter HTML DB Congif screen. I enter host name, port, DSN as mral.home.com ( as listed in global naming parameter and tnsnames.ora), I enter my sys password and then the HTML DB password. When I hit next, if get the following. "ERROR: SQLException occured while connecting to the database. Please check the connection details of the database you specifiec and retry. ORA_01017:Invalid username/password, logon denied"
At this point I went to my desktop and remote logged in using my user password and name. I was able to connect. Next I went back on the server and logged in as sys with the password and was able to connect. So at this stage I think my sys password is ok.
Did I misunderstand the instructions about the directory for the HMTL server?
Any help would be appreciated as I am working on my masters and this is necessary to complete the project.
Thanks again

Similar Messages

  • How to identify the installed Weblogic Server and JDK are 32bit or 64bit?

    Hi everyone,
    I have a question ~
    Both Weblogic Server and JAVA JDK are installed on the server already, but I only know the Weblogic Server is 10.3.4.0 and JAVA JDK version is 1.6.0_25.
    I know the 64bit Weblogic Server installation file is a wlsXXXX_generic.jar package and 64bit JAVA JDK needed also.
    But, since the Weblogic installed already, there are no such installation files on the Linux Server now.
    I have tried the "java -version" for java version and check the Weblogic version from Weblogic console.
    How to identify the installed Weblogic Server and JDK are 32bit or 64bit with Linux command? Or is there any way to check it?

    What you can try to do is use WLST (or an MBean browser, such as JConsole or JRockit Mission Control) and connect to the adminserver.
    For example when using WLST:
    # set the environment by using setWLSEnv.sh (located in the ${WL_HOME}/server/bin directory).
    # start WLST by using: java weblogic.WLST
    # connect to the adminserver
    connect('adminusername','adminpassword');
    # change to the serverruntime environment
    serverRuntime();
    # show the attributes
    ls();
    # Here an attribute is shown called WebLogicVersion that shows the version of WebLogic
    -r--   WeblogicVersion                              WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638
    # Note that this does not show if is 32 bits or 64 bits to retrieve this information you have obtain the JVM version
    # change the directory
    cd('JVMRuntime/AdminServer');
    # show the attributes
    ls();
    -r--   Version                                      R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
    # when you have something like x86 at the you are running a 32 bit version, if you have something like x86_64 you are running a 64 bits versionAs mentioned above you can also retrieve this information by using a MBean browser.

  • Help required in installing VM Server and Manager 3.1.1 + latest patch.

    Hi,
    I have 3 servers with 12GB ram and two 300 GB HDD (local) each, No Shared storage.
    I am planning to install Oracle VM server 3.1.1 Build 544 and VM Manager 3.1.1 Build 524.
    VM manager installed on Dom0 in one of the VM server (found some blog which describes how to implement it).
    I have some questions running through my mind and help to solve it s really appreciated.
    1) Is ORACLE VM SERVER PATCH 3.1.1-524 RELEASE is complete OS or its just patch which has to installed over 3.1.1 VM server. Because the patch readme says *"This patch update is a complete Oracle VM Server 3.1.1 installer ISO" ??*
    2) I read somewhere in the forum that the 3.X version cannot use the disk where OS is installed as storage repository. in that case i will be loosing around 250 GB on each machine, on which i have installed VM server. Is it TRUE??
    3) Is it possible to update VM server first and then update VM manager ( before creating server pool etc) ??
    The servers are not connected to internet or SAN no i cannot use YUM or SAN update methods and I have very limited access to this servers physically.
    Thanks in advance.

    1. Its patch 544. Both can be downloaded and are complete installs. If you have YUM setup in an existing environment.... the VM servers can be upgraded via YUM. The VM Manager has to be upgraded via the installer.
    2. Yes. This is true. Maybe your local RAID controller can present the storage as two separate LUNS/Disks even though they maybe setup as a mirror. If not, then you're out of luck. Virtual box can use local storage that OS is installed on. Oracle VM 3.1.1 can't.
    3. Yes. You can install the 544 version of 3.1.1 on the servers before attaching them to the VM Manager. YUM should be used to upgrade the servers if they are already attached to a VM Manager. You would then upgrade the manager first and then upgrade the servers.

  • Microsoft outlook 2010 not working after installing proxy server and ForeFront TMG firewall

    I am trying to have Outlook 2010 work though proxy server recently installed on internal network, I have configured IE to use the proxy settings, but I cannot find the
    same with Outlook 2010, I want to clarify that we use Outlook 2010 to connect to internet email and we installed ForeFront TMG firewall on the proxy server and as a result of that we changed the IP settings and after that Outlook stopped sending and receiving
    mails and gives error: “receiving reported error (0x800408fc): 'The Server name you entered cannot be found (it might be down temporarily).”
    So please help us by sharing how to fix this issue to make Outlook work though proxy server
    Thanks

    Hi,
    Are you using Exchange account? If you are changing your Exchange account to use a proxy server, I suggest we can create new profile and automatically re-configuring your account with autodiscover service to have a try:
    http://support.microsoft.com/kb/829918
    If the account can’t be configured automatically, please manually configure the account and change the settings for procy server:
    1. In the Account Settings dialog box, click the
    Email tab, click to select the Exchange account, and then click
    Change.
    2. Click More Settings. On the Connections tab, click
    Exchange Proxy Settings.
    3. In Connection settings, type the proxy server FQDN under Use this URL to connect to my proxy server for Exchange, click OK to have a try, and then click
    OK to save all settings.
    4. Restart Outlook.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Installing RADIUS server and Snap-Ins

    Following TID 10078616 to install RADIUS server components and Snap-Ins
    and the option to choose those two items are not available. Just
    wondering what gives? Any ideas or has anyone else run across this?
    Running BM3.8 sp2a on Netware 6.5 sp2.
    Thanks in advance,
    Ben

    To do a manual install of RADIUS you need the following files
    bauthpxy.nlm
    radus.nlm
    You should be able to find them on the BM disks and you can
    place them on any up to date NW server running NMAS without
    any license issues.
    Roger
    <[email protected]> wrote in message news:cYF4e.3659$[email protected]..
    > Following TID 10078616 to install RADIUS server components and Snap-Ins
    > and the option to choose those two items are not available. Just
    > wondering what gives? Any ideas or has anyone else run across this?
    > Running BM3.8 sp2a on Netware 6.5 sp2.
    >
    > Thanks in advance,
    >
    > Ben

  • I installed Lion Server and when I click on the Profile Manager I get an error and nothing shows - I can't figure out how to re install Lion Server to fix this - any ideas

    I installed Lion Server on my Mac Pro.  Everything looked to be working until I checked Profile Manager and I get an error message "Error Reading Settings"  Not sure how to fix it.  Tried to download Server agian but can't.

    Look at /usr/lib/libpq library. I have had the same problem. There were following files:
    -rwxr-xr-x  1 root  wheel  163680 30 jul 21:17 /usr/lib/libpq.5.4.dylib
    lrwxr-xr-x  1 root  wheel      15 30 jul 21:20 /usr/lib/libpq.dylib -> libpq.5.4.dylib
    Result for command sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh was:
    Password:
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    Couldn't drop device_management : #<RuntimeError: Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backen d/vendor/gems/pg-0.9.0/lib/pg_ext.bundle, 9): Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle
      Reason: image not found - /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle)>
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backen d/vendor/gems/pg-0.9.0/lib/pg_ext.bundle, 9): Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle
      Reason: image not found - /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle)
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/activerecord/lib/active_record/connection_adapters/abstract/connection_spe cification.rb:76:in `establish_connection'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/railties/lib/tasks/databases.rake:69:in `create_database'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/railties/lib/tasks/databases.rake:31
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 636:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 636:in `execute'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 631:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 631:in `execute'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 597:in `invoke_with_call_chain'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor. rb:242:in `synchronize'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 590:in `invoke_with_call_chain'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 583:in `invoke'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2051:in `invoke_task'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2068:in `standard_exception_handling'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2023:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2001:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2068:in `standard_exception_handling'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 1998:in `run'
    /usr/bin/rake:31
    Couldn't create database for {"adapter"=>"postgresql", "username"=>"_devicemgr", "encoding"=>"UTF8", "pool"=>5, "database"=>"device_management"}
    devicemgr:state = "STARTING"
    There was missing symlink to right version of libpq dynamic library!
    After I entered the following commands and now it works well for me:
    $ cd /usr/lib
    $ sudo ln -s libpq.5.4.dylib libpq.5.dylib
    $ sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    devicemgr:state = "RUNNING"
    Milan

  • Installing EP server and NWDS

    Hi all,
    I didnt know where to post this, so i did it here.
    I bought a new laptop and i am trying to install the EP server and NWDS. My laptop has Window 7 Professional 64 bit OS. Did anyone try to install and be able to work with the same. Please help me.
    Thank You.
    Kind Regards,
    Manoj Durairaj

    Hi Manoj,
    See /message/9180864#9180864 [original link is broken] and the links provided there for some hints.
    Have you had some success in the meantime?!
    Hope it helps
    Detlev

  • Installed mavericks server and now some users don't have access to folders!? Why and how do I fix it???

    I have just upgraded the server and os to mavericks and now users that used to be able to open and save or even log in are now locked out with the server saying wrong password. I reset their password and still nothing. I created a new user and they can't even log in? Why now? And how do I fix this. It seems that some users and groups now don't have access and all that was done was to let the group open a shared folder that they have access before. I reset everything and am now very frustrated!!!

    Hi
    Seem to be an issue with Maverick
    After trying to solve the issue with all tips i found here and on the net
    I decided to go back to Mountain Lion for my server using TimeMachine backup, and stay with Maverick for my imacs
    Work well again
    Until Apple will communicate on it or deliver a patch, i would suggest to do the same

  • Trying to install VM Server and not getting the CD found screen to display

    Trying to install Oracle VM Server from a CDROM:
    1.     Insert the Oracle VM Server CDROM into your CDROM drive.
    2.     Boot the computer with the Oracle VM Server CDROM.
    3.     The Oracle VM Server screen is displayed.
    All that went fine but not getting the CD found screen to display. Instead it says the device wasn't found and shows a list of drivers, none of which seem to match the CD drive. Anyone have any ideas? There is an option to point it to a driver disk, not sure if I need to get the driver from somewhere and do that or not?
    machine is Dell Optiplex 760
    CD RW\DVD RW drive

    Try changing the SATA mode in the BIOS to AHCI.

  • Installing Windows Server and Linux on a hyper-v

    Scott Alan Miller wrote:
     But we have lots of Windows too.
    That allow the sunlight into your office?! :)

    Are you allowed to install Linux in a hyper-v on the same hardware as a Windows server? Also, would there be any issues to crop up? I am curious because I want to put Windows Server 2012 on one VM, Exchange on another VM, and then a Linux Server on another VM all on the same physical hardware. Windows Server 2012 Hyper-V would be hosting them all. The reason for the Linux Server is to use it for anti-virus or spam etc. and Linux is a free OS. I am curious though how it will jive with a Windows domain as well as being on the same machine as a hosted VM.
    This topic first appeared in the Spiceworks Community

  • Installed MacMini server and can't see hard drive on wireless printer

    Hi, all, I installed a MacMini 10.6 server on Tuesday and am having an issue communicating with my printer. We have a wireless office and have a Toshiba printer and scanner connected to a wireless bridge which is then connected to our Airport Extreme. The set up has been very efficient for our small group.
    Before the server was installed and connected via CAT5 cable to the Airport we were able to scan using our printer and see the stored files on the printers built in hard drive. But since the server was installed, we can print, but we can't see the hard drive on the printer.
    What do I need to do in order to see that hard drive again?
    Thanks
    Ron

    If you want to try to replace it yourself, [iFixit has good repair guides|http://www.ifixit.com/Guide/Repair/MacBook-Air-Hard-Drive-Replacement/86 0/1].
    As I take the parts out, I tape them to a piece of paper with clear packaging tape and write the step number (and screw color from guide) next to them. Making sure you've got the correct tiny screw in the right place is a bugger without doing that.

  • How do we install LDAP server and configure ?..

    How to configure LDAP server...

    You'll have more luck in the forum for LDAP: Oracle Unified Directory (OUD) & Oracle Directory Server Enterprise Edition/Sun DSEE
    I suggest that you also include more information in your posts about what you've already tried to do and why it doesn't seem to be working. Simply asking "how to configure LDAP" isn't going to elicit many responses....You need to show you've actually attempted it yourself.
    Also, you'll always want to include the versions of the software you're using.

  • Question about HTTP Server and 9iAS

    I am kind of new to Oracles 9is products. I installed Oracle 9i Rel. 2 recently and it installed HTTP Server and other stuff as part of that install. I am trying to write a small web application. Is this install good enough to do basic servlet's, jsp's and may be EJB's etc ... or do I need to install 9iAS. I am confused on the fact that I know 9iAS will give me j2ee container, web container, clustering, etc ..., what functionality is included in the 9i databases web server piece.
    Also, can anyone point me to a good documentation that explains directory structure of 9i Rel. 2. I am familiar with the database part fairly well(oracle 7 release). However, I am confused as to new web related stuff (Apache, bc4j, etc..) in 9i Rel. 2.
    Thanks.

    Hi,
    No, you cannot run EJB's in the Apache installation. For that you might want to download OC4J.
    Basic Http pages and Servlets can run but I dont think it is advisable to use it for that. For any kind of development, I would suggest you to use OC4J.
    Oracle9i Database is web enabled and you can access the table, etc.. from a browser too. This is the reason Apache is provided with the basic installation. Oracle9i Rel 2 has XML DB in it which again can be accessed from the Web.
    For more help on any of these check http://otn.oracle.com/documentation/oracle9i.html
    You will be able to get all the related Developer's Guide here.
    Hope this helps,
    Rajat

  • Frist install of weblogic and BI

    This is my first time installing Weblogic Server and Oracle BI.
    I will read up on all of the documentation. Nevertheless,
    Are there any screen shots of the BI installation available that I can follow step by step as I do my install? It seems easy but I want to look at the installation as I do it. Iam on a Windows platform.
    Also, I am creating a training installation for myself. This is for learning only. I am the only user on the server. So is it necessary for me to create a new weblogic domain or are the domains used to separate different oracle applications that I install on the system?
    Like I said, I am just getting started and I have a lot of reading to do.
    Thanks!

    The key to most of this is the [WebLogic Scripting Tool|http://e-docs.bea.com/wls/docs103/config_scripting/domains.html] .
    However, points 1 and 5 are outside the scope of that. I assume by "weblogic setup" you mean the installation of the Weblogic distribution itself? There's information about that here .
    Concerning point 5, that has nothing to do with WebLogic. There are JUnit Ant tasks for this.

  • Need Guide to create a table in SQL Server and Process data for JDBC

    Dear All,
    Scenario:JDBC to JDBC
    I need to practice JDBC to JDBC scenario and for that i need to create a table in SQL server for sender ,receiver and update  i have installed SQL Server and no idea about creation of table and Connection string for PI.
    I want you to explain each and every step for the Table Creation ,Driver and connection string.
    Thanks in Advance.

    Try searchin in the forum and then google. This forum is not for teaching the basics.
    VJ

  • Error while install sql server 2012 using powershell

    hello all,
    I am using below function to install sql server and its not working  can some one help me please 
    Function Install-Sql2012
    param
    [Parameter()][string]  $Path ,#= (read-host "Enter Installation Binary Path"),
            [Parameter()][string]  $AddSSIS= (read-host "Do u need SSIS Enter 1 for yes o for no") ,
            [Parameter()][string]  $AddSSRS= (read-host "Do u need SSRS Enter 1 for yes o for no") ,
    [Parameter()][string]  $InstanceName = (read-host "Enter Instance name"),
    [Parameter()][string]  $ServiceAccount= (read-host "Enter Service Account"),
    [Parameter()][string]  $ServicePassword= (read-host -assecurestring "Enter Service Account Password") ,
    [Parameter()][string]  $AgentAccount=(read-host "Enter Agent Account"),
    [Parameter()][string]  $AgentPassword=(read-host "Enter Agent pasword"),
            [Parameter()][string]  $Backuppath= (read-host "Enter Backuppath"),
    [Parameter()][string]  $SaPassword= (read-host -assecurestring "Enter SA Account Passowrd"),
            [Parameter()][string]  $SQLTEMPDBDIR= (read-host  "Enter TempDir"),
            [Parameter()][string]  $SQLUSERDBDIR= (read-host  "Enter User Data Directory"),
            [Parameter()][string]  $SQLUSERDBLOGDIR= (read-host  "Enter User Log Directory"),
    #[Parameter(Position=5,Mandatory=$false)][string] $LicenseKey,
    [Parameter()][string]  $SqlCollation = "SQL_Latin1_General_CP1_CI_AS",
    [Parameter()][switch]  $NoTcp,
    [Parameter()][switch]  $NoNamedPipes
    #Build the setup command using the install mode
    if ($Path -eq $null -or $Path -eq "")
    #No path means that the setup is in the same folder
    $command = '.\setup.exe /Action="Install"'
    else
    #Ensure that the path ends with a backslash
    if(!$Path.EndsWith("\"))
    $Path += "\"
    $command = $path + 'setup.exe /Action="Install"'
    #Accept the license agreement - required for command line installs
    $command += ' /IACCEPTSQLSERVERLICENSETERMS'
    #Use the QuietSimple mode (progress bar, but not interactive)
    $command += ' /QS'
    #Set the features to be installed
    #$command += ' /FEATURES=SQLENGINE,CONN,BC,SSMS,ADV_SSMS'
        If ($AddSSIS -ne '0' -and $AddSSIS -ne '1') {
            throw 'Invalid input. Enter a valid value for SSIS.'
        If ($AddSSRS -ne '0' -and $AddSSRS -ne '1') {
            throw 'Invalid input. Enter a valid value for SSRS.'
       if ($AddSSIS -eq 1 -and $AddSSRS -eq 1)
           $command += ' /FEATURES=SQLENGINE,CONN,BC,SSMS,ADV_SSMS,SSIS,SSRS'
       if ($AddSSIS -eq 1 -and $AddSSRS -eq 0)
       $command += ' /FEATURES=SQLENGINE,CONN,BC,SSMS,ADV_SSMS,SSIS'
       if ($AddSSIS -eq 0 -and $AddSSRS -eq 1)
       $command += ' /FEATURES=SQLENGINE,CONN,BC,SSMS,ADV_SSMS,SSRS'
       if  ($AddSSIS -eq 0 -and $AddSSRS -eq 0)
       $command += ' /FEATURES=SQLENGINE,CONN,BC,SSMS,ADV_SSMS'
    #Set the Instance Name
    $command += (' /INSTANCENAME="{0}"' -f $InstanceName)
    #remove Set the License Key only if a value was provided, otherwise install Evaluation edition
    #if ($LicenseKey -ne $null -and $LicenseKey -ne "")
    # $command += (' /PID="{0}"' -f $LicenseKey)
        #set reporting to off
        $command += ('/SQMREPORTING="0"')
        #Add Browser Account 
        $command +=('/BROWSERSVCSTARTUPTYPE="Disabled"')
        #Add Backup path 
        $command +=('/SQLBACKUPDIR="{0}"' -f $backuppath)
    #Check to see if a service account was specified
    if ($ServiceAccount -ne $null -and $ServiceAccount -ne "")
    #Set the database engine service account
    $command += (' /SQLSVCACCOUNT="{0}" /SQLSVCPASSWORD="{1}" /SQLSVCSTARTUPTYPE="Automatic"' -f $ServiceAccount, $ServicePassword)
    #Set the SQL Agent service account
    $command += (' /AGTSVCACCOUNT="{0}" /AGTSVCPASSWORD="{1}" /AGTSVCSTARTUPTYPE="Automatic"' -f $AgentAccount, $AgentPassword)
    else
    #Set the database engine service account to Local System
    $command += ' /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSVCSTARTUPTYPE="Automatic"'
    #Set the SQL Agent service account to Local System
    $command += ' /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCSTARTUPTYPE="Automatic"'
    #Set the server in SQL authentication mode if an SA password was provided
    if ($SaPassword -ne $null -and $SaPassword -ne "")
    $command += (' /SECURITYMODE="SQL" /SAPWD="{0}"' -f $SaPassword)
    #Add current user as SysAdmin
    $command += (' /SQLSYSADMINACCOUNTS="test\ADMIN"')
        #Add Tempdbdata path
    $command += (' /SQLTEMPDBDIR="{0}"' -f $SQLTEMPDBDIR)
        #Add Tempdblog path
        $command += (' /SQLTEMPDBLOGDIR="{0}"' -f $SQLTEMPDBDIR)
         #Add UserDBdata path
        $command += (' /SQLUSERDBDIR="{0}"' -f $SQLUSERDBDIR)
         #Add UserDBlog path
        $command += (' /SQLUSERDBLOGDIR="{0}"' -f $SQLUSERDBLOGDIR)
    #Set the database collation
    $command += (' /SQLCOLLATION="{0}"' -f $SqlCollation)
    #Enable/Disable the TCP Protocol
    if ($NoTcp)
    $command += ' /TCPENABLED="0"'
    else
    $command += ' /TCPENABLED="1"'
    #Enable/Disable the Named Pipes Protocol
    if ($NoNamedPipes)
    $command += ' /NPENABLED="0"'
    else
    $command += ' /NPENABLED="1"'
    if ($PSBoundParameters['Debug']) 
    Write-Output $command
    else
    Invoke-Expression $command
    Install-Sql2012
    Below is the error i am getting 
    PS C:\temp\in> .\Install-Sql2012.ps1
    Do u need SSIS Enter 1 for yes o for no: 0
    Do u need SSRS Enter 1 for yes o for no: 0
    Enter Instance name: MSSQLSERVER
    Enter Service Account:
    Enter Service Account Password:
    Enter Agent Account:
    Enter Agent pasword:
    Enter Backuppath: "C:\Temp\IN\bck"
    Enter SA Account Passowrd: **********
    Enter TempDir: "C:\Temp\IN\bck"
    Enter User Data Directory: "C:\Temp\IN\bck"
    Enter User Log Directory: "C:\Temp\IN\bck"
    Microsoft (R) SQL Server 2012 11.00.2100.60
    Copyright (c) Microsoft Corporation.  All rights reserved.
    The following error occurred:
    Instance name is limited to 16 characters. Yours 'MSSQLSERVER/SQMREPORTING=0/BROWSERSVCSTARTUPTYPE=DISABLED/SQLBACKUPDIR=C:\TEMP\IN\BCK' is 85.
    Error result: -2054422513
    Result facility code: 1420
    Result error code: 15
    Please review the summary.txt log for further details
    Thanks,
    Ashwin.
        

    Line 94, 97 and 100 appear to not have spaces at the beginning of each string, which could cause some issues:
    #set reporting to off
    $command += ('/SQMREPORTING="0"')
    #Add Browser Account
    $command +=('/BROWSERSVCSTARTUPTYPE="Disabled"')
    #Add Backup path
    $command +=('/SQLBACKUPDIR="{0}"' -f $backuppath)
    Probably should be this:
    #set reporting to off
    $command += (' /SQMREPORTING="0"')
    #Add Browser Account
    $command +=(' /BROWSERSVCSTARTUPTYPE="Disabled"')
    #Add Backup path
    $command +=(' /SQLBACKUPDIR="{0}"' -f $backuppath)
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

Maybe you are looking for

  • Premiere CC is crashing on start up! - Still

    Hello, I know this has been asked a million times, but I still can't find a solution. When I attempt to open Adobe Premiere on CC, it loads a bit and then says "Adobe Premiere Pro CC has stopped working" and "Windows is checking for a solution to the

  • Tab order moving to second page of form

    I have a two page form. I can set up the tab order perfectly on the first page, but when I try to set up the first object on the second page as the next tab after the last first page tab, it starts back at the first object on page one. Does anyone kn

  • Blocked stock to quality insp stock type

    Hi, scenario is as follows: received 10 qty of certain roh material from vendor. 8 has been accepted 2 kept in blocked stock. now vendor came to our company and he reworked those 2 blocked / rejected qty and checked by our quality dept and found ok a

  • IDOC_INBOUND_FROM_FILE

    hi, i'm using IDOC_INBOUND_FROM_FILE to read the content of text file, then i want to convert it into idoc. But the idoc generate status is 64 and i want that their status is 51. can anyone help me......this is vey urgent

  • How can I protect my classroom iPad 2s??

    I purchased iPad 2s for my high school classroom. I would love to lockdown the settings icon so the students cannot make changes  Can I delete the settings icon and still get to it thru Search?