SQL exception when try to connect with MS SQL server

Hello Sir,
When i run the jsp file which connect to to MS Sql server database and fetch the data.
Its throwing the SQLException error like:
Name java: is not bound in this Context
here is my server.xml
[code<?xml version='1.0' encoding='utf-8'?>
<Server>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <GlobalNamingResources>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
    <Resource name="testDB" type="javax.sql.DataSource"/>
     <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
     <ResourceParams name="testDB">
      <parameter>
        <name>maxWait</name>
        <value>5000</value>
      </parameter>
      <parameter>
        <name>maxActive</name>
        <value>10</value>
      </parameter>
      <parameter>
        <name>password</name>
        <value>testpass</value>
      </parameter>
      <parameter>
        <name>url</name>
        <value>jdbc:microsoft:sqlserver://localhost:1433;DataBaseName=test;</value>
      </parameter>
      <parameter>
        <name>driverClassName</name>
        <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
      </parameter>
      <parameter>
        <name>maxIdle</name>
        <value>2</value>
      </parameter>
      <parameter>
        <name>username</name>
        <value>testuser</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service name="Catalina">
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
    </Connector>
    <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
    </Connector>
    <Engine defaultHost="localhost" name="Catalina">
      <DefaultContext className="org.apache.catalina.core.StandardDefaultContext">
        <ResourceLink global="testDB" name="testDB" type="javax.sql.DataSource"/>
          </DefaultContext>
      <Host appBase="webapps" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
      </Host>
      <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
    </Engine>
  </Service>
</Server>
[/code]

Hello Sir,
I tried my level best, I couldn't solve the error. Still iam getting the same error Name java:comp is not bound in this Context
Again for your reference i am adding server.xml
<?xml version='1.0' encoding='utf-8'?>
<Server>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <GlobalNamingResources>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.catalina.UserDatabase"/>
    <Resource name="jdbc/datasourceDB" auth="Container" type="javax.sql.DataSource"/>
     <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
     <ResourceParams name="jdbc/datasourceDB">
      <parameter>
        <name>maxWait</name>
        <value>5000</value>
      </parameter>
      <parameter>
        <name>maxActive</name>
        <value>10</value>
      </parameter>
      <parameter>
        <name>password</name>
        <value>mani</value>
      </parameter>
      <parameter>
        <name>url</name>
        <value>jdbc:microsoft:sqlserver://<servername>:1433;DataBaseName=trax;selectMethod=cursor</value>
      </parameter>
      <parameter>
        <name>driverClassName</name>
        <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
      </parameter>
      <parameter>
          <name>driverName</name>
          <value>jdbc:jtds:sqlserver://<servername>:1433;DatabaseName=trax</value>
      </parameter>
      <parameter>
        <name>maxIdle</name>
        <value>2</value>
      </parameter>
      <parameter>
        <name>username</name>
        <value>mani</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service name="Catalina">
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
    </Connector>
    <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="8443">
    </Connector>
    <Engine defaultHost="localhost" name="Catalina">
      <DefaultContext className="org.apache.catalina.core.StandardDefaultContext">
        <ResourceLink global="datasourceDB" name="datasourceDB" type="javax.sql.DataSource"/>
          </DefaultContext>
      <Host appBase="webapps" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
      </Host>
      <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
    </Engine>
  </Service>
</Server>part of web.xml added
     <resource-ref>
     <description> JDBC Driver:com.microsoft.jdbc.sqlserver.SQLServerDriver</description>
     <res-ref-name>jdbc/datasourceDB</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
     </resource-ref>my java code:
               Context initCtx = new InitialContext();
               Context envCtx = (Context) initCtx.lookup("java:comp/env");
               DataSource ds = (DataSource) envCtx.lookup("jdbc/datasourceDB");
               conn = ds.getConnection();Plz provide me the help.. i am suffering from this error since 1 week.
Regards
venki.

Similar Messages

  • Error when i try to connect with blogger from firefox

    when i try to connect with blogger.com and i enter my password the firefox is loading me as it should and then it returns to the blogger page...
    it doesn t say that i put the password wrong it does not say anything its like i m stuck there...i can connect to gmail
    but not to blogger and since the problems occurs only with firefox , as i can connect with other explorers i suppose the problem comes from firefox
    i reinstalled the firefox nothing changes
    also at blogger the firefox crashes in a way that it shows on the top of the page an error instead of the blogger links(connect , new post etc)

    See if this helps you. <br />
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Have an ipad 2 and have bought the camera connection kit to use with my flip ultra. However when try to connect ot says there is not enough power to support accessory. Can anyone help please

    Have an ipad 2 and have bought the camera connection kit to use with my flip ultra. However when try to connect ot says there is not enough power to support accessory. Can anyone help please?

    If you have ios 5.1.1 the output power is 100ma, on the iOS 5.0.1 the power output is 500ma! This may be the cause?

  • SCVMM service crash when trying to connect with admin console

    Hello,
    i'm using SCVMM for a while but from the beginning of the year (2010), the vmm service crash when i try to connect with the vmm admin consol .
    More in detail:
    vmm service is running on serverA. (vmmservice 2.0.3444.0)
    Admin console is running on serverA (vmmadmin 2.0.3444.0)
    ServerA is running W2008 Sp2
    on this serverA, i launch vmm admin console to connect to server localhost:8100.
    i get the following erro message
    You cannot access Virtual Machine manager server localhost
    Contact the virtual machine manager administrator to verify that your account is a mamber of a valid user role and then try the operation again
    ID: 1604
    And i can see in system log at the same time an error (see detail at the end)
    i get the ods log from vmm according to the link i see in an other post http://blogs.technet.com/chengw/archive/2008/05/08/how-to-collect-scvmm-traces.aspx
    thanks in advance
    Log Name:      System
    Source:        Service Control Manager
    Date:          05/01/2010 11:44:20
    Event ID:      7031
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      PYAQ9G.INETPSA.com
    Description:
    The Virtual Machine Manager service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 100 milliseconds: Restart the service.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Service Control Manager" Guid="{555908D1-A6D7-4695-8E1E-26931D2012F4}" EventSourceName="Service Control Manager" />
        <EventID Qualifiers="49152">7031</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-01-05T10:44:20.000Z" />
        <EventRecordID>21683</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>System</Channel>
        <Computer>PYAQ9G.INETPSA.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="param1">Virtual Machine Manager</Data>
        <Data Name="param2">1</Data>
        <Data Name="param3">100</Data>
        <Data Name="param4">1</Data>
        <Data Name="param5">Restart the service</Data>
      </EventData>
    </Event>

     Hi Mike,
    I have same kind of
     VMM Crashing  issue but error looks different.
    I have one SCVMM Server ( Win2008 R2 SP1) and to manage 20 host servers with 300 clients and it was running fine since 30 months. Recently I observed
    that Virtual Machine manager service is not getting started  automatically , due to that SCVMM console is not establishing the connection. If we forced to start the VMM service, then we are able connect the SCVMM console. But every 5 or 10 min console
    was disconnecting and restarting the console. We are getting below 2 error codes. Please help me on this.
    I have hosted IN-SCVMM1 server on
     hyper-v virtual machine with 16GBRAM and 2 Processors.
    Error1:
    Log Name:      VM Manager
    Source:       
    Virtual Machine Manager
    Date:         
    7/24/2012 12:19:31 PM
    Event ID:      1
    Task Category: None
    Level:        
    Error
    Keywords:      Classic
    User:         
    N/A
    Computer:      IN-SCVMM1.ingrnet.com
    Description:
    System.OverflowException: Failed to convert parameter value from a UInt16 to a Int16. ---> System.OverflowException: Value was either too large or too small for an Int16.
       at System.UInt16.System.IConvertible.ToInt16(IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
       --- End of inner exception stack trace ---
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
       at System.Data.SqlClient.SqlParameter.GetCoercedValue()
       at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
       at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters)
       at System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC& rpc)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.Adhc.Host.Update(HostData hostData, SqlContext ctx)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, Guid taskID)
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.RefreshData(HostReference hostRef)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2146233066
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Virtual Machine Manager" />
        <EventID Qualifiers="0">1</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-07-24T06:49:31.000000000Z" />
        <EventRecordID>4888059</EventRecordID>
        <Channel>VM Manager</Channel>
        <Computer>IN-SCVMM1.ingrnet.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>System.OverflowException: Failed to convert parameter value from a UInt16 to a Int16. ---&gt; System.OverflowException: Value was either too large or too small for an Int16.
       at System.UInt16.System.IConvertible.ToInt16(IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
       --- End of inner exception stack trace ---
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
       at System.Data.SqlClient.SqlParameter.GetCoercedValue()
       at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
       at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters)
       at System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC&amp; rpc)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
       at Microsoft.VirtualManager.DB.Adhc.Host.Update(HostData hostData, SqlContext ctx)
       at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, Guid taskID)
       at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.RefreshData(HostReference hostRef)
       at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2146233066</Data>
        <
    Error2 :
    Log Name:      System
    Source:       
    Service Control Manager
    Date:         
    7/24/2012 12:19:32 PM
    Event ID:      7031
    Task Category: None
    Level:        
    Error
    Keywords:      Classic
    User:         
    N/A
    Computer:      IN-SCVMM1.ingrnet.com
    Description:
    The Virtual Machine Manager service terminated unexpectedly. 
    It has done this 1 time(s).  The following corrective action will be taken in 100 milliseconds: Restart the service.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
        <EventID Qualifiers="49152">7031</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2012-07-24T06:49:32.179030700Z" />
        <EventRecordID>29790</EventRecordID>
        <Correlation />
        <Execution ProcessID="564" ThreadID="5840" />
        <Channel>System</Channel>
        <Computer>IN-SCVMM1.ingrnet.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data Name="param1">Virtual Machine Manager</Data>
        <Data Name="param2">1</Data>
        <Data Name="param3">100</Data>
        <Data Name="param4">1</Data>
        <Data Name="param5">Restart the service</Data>
      </EventData>
    </Event>
    Please help on this situation.
    Ratnakar.c
    Ratnakar

  • "Unauthorized Host" error when you try to connect to the admin server

    "Unauthorized Host" error when you try to connect to the admin server
    <p>
    If you see this error message when you try to connect to a Netscape
    administration server:<P>
    Internal Error
    The administration server was unable to fulfill your request.
    Reason: Unauthorized host
    --------------------------<P>
    Here is how to solve the problem and gain access. First you should
    temporarily open access to all sites, and then once you make sure that
    this lets you get into your administration server, try again to set up
    the domain name or IP address access restrictions you want.<P>
    For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
    Communications servers (1.x) on Unix:<P>
    <OL>
    <LI>Open the "ns-admin.conf" file with a text editor. You can
    find this file in the "admserv" directory under your Netscape
    server root. The directory is named "admin-serv" in 3.x servers.<P>
    <LI>Delete the "Hosts" and "Addresses" lines you see there (either one
    of them might not be present). Don't confuse the "Addresses" line,
    which you should delete, with the "Address" line, which you should NOT
    delete.<P>
    <LI>Save the file, then restart your administration server (on Unix run
    "stop-admin" then "start-admin"; on Windows NT go into the Services
    control panel and stop/start the "Netscape Admin Server" service).<P>
    </OL><P>
    For Commerce Server or Communications Server (1.x) on Windows NT:<P>
    <OL>
    <LI>Go into the registry editor. On Windows NT 4.0, run the command
    "regedit". On Windows 3.51, run the command
    "regedt32".<P>
    <LI>Navigate down to the section
    "HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
    <LI>Delete the "Hosts" and "Addresses" entries you see there (either one
    of them might not be present). Don't confuse the "Addresses" entry,
    which you should delete, with the "Address" entry, which you should NOT
    delete.<P>
    <LI>Close the registry editor, then restart your administration server
    by going into the Services control panel and stopping then starting the
    "Netscape Administration" service.<P>
    </OL>
    Now try again to access your administration server. Remember, the URL
    will be something like "http://servername:12345/", where
    "12345" is where the administration server's port number goes.<P>
    If you still get the same "Unauthorized host" error, then make sure that
    your "ns-admin.conf" file really doesn't contain any "Hosts" or
    "Addresses" lines any more, and try stopping your administration server
    again then starting it back up.<P>
    Once you have access to your administration server, you can try again to
    set up the access controls you want.<P>
    <UL>
    <LI>For the administration server on a 3.x server installation, select
    "Admin Preferences" from the General Administration page (the first page
    you see when you connect to the admin server), then click on "Superuser Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 2.x server installation, select
    "Configure Administration" from the Server Selector page (the first page
    you see when you connect to the admin server), then click on "Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 1.x server installation, select
    "Configure Administration Server" from the bottom of the Server Manager
    page, then enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the substrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that your
    DNS can resolve those hostnames -- it's generally safer to stick with IP address
    restrictions.
    When you're finished configuring this, click "Make These Changes" then
    restart your admin server.<P>
    </UL><P>
    If you still find yourself getting an "Unauthorized host" error message,
    you can use the above steps to open up access and try different
    settings.<P>

    "Unauthorized Host" error when you try to connect to the admin server
    <p>
    If you see this error message when you try to connect to a Netscape
    administration server:<P>
    Internal Error
    The administration server was unable to fulfill your request.
    Reason: Unauthorized host
    --------------------------<P>
    Here is how to solve the problem and gain access. First you should
    temporarily open access to all sites, and then once you make sure that
    this lets you get into your administration server, try again to set up
    the domain name or IP address access restrictions you want.<P>
    For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
    Communications servers (1.x) on Unix:<P>
    <OL>
    <LI>Open the "ns-admin.conf" file with a text editor. You can
    find this file in the "admserv" directory under your Netscape
    server root. The directory is named "admin-serv" in 3.x servers.<P>
    <LI>Delete the "Hosts" and "Addresses" lines you see there (either one
    of them might not be present). Don't confuse the "Addresses" line,
    which you should delete, with the "Address" line, which you should NOT
    delete.<P>
    <LI>Save the file, then restart your administration server (on Unix run
    "stop-admin" then "start-admin"; on Windows NT go into the Services
    control panel and stop/start the "Netscape Admin Server" service).<P>
    </OL><P>
    For Commerce Server or Communications Server (1.x) on Windows NT:<P>
    <OL>
    <LI>Go into the registry editor. On Windows NT 4.0, run the command
    "regedit". On Windows 3.51, run the command
    "regedt32".<P>
    <LI>Navigate down to the section
    "HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
    <LI>Delete the "Hosts" and "Addresses" entries you see there (either one
    of them might not be present). Don't confuse the "Addresses" entry,
    which you should delete, with the "Address" entry, which you should NOT
    delete.<P>
    <LI>Close the registry editor, then restart your administration server
    by going into the Services control panel and stopping then starting the
    "Netscape Administration" service.<P>
    </OL>
    Now try again to access your administration server. Remember, the URL
    will be something like "http://servername:12345/", where
    "12345" is where the administration server's port number goes.<P>
    If you still get the same "Unauthorized host" error, then make sure that
    your "ns-admin.conf" file really doesn't contain any "Hosts" or
    "Addresses" lines any more, and try stopping your administration server
    again then starting it back up.<P>
    Once you have access to your administration server, you can try again to
    set up the access controls you want.<P>
    <UL>
    <LI>For the administration server on a 3.x server installation, select
    "Admin Preferences" from the General Administration page (the first page
    you see when you connect to the admin server), then click on "Superuser Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 2.x server installation, select
    "Configure Administration" from the Server Selector page (the first page
    you see when you connect to the admin server), then click on "Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 1.x server installation, select
    "Configure Administration Server" from the bottom of the Server Manager
    page, then enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the substrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that your
    DNS can resolve those hostnames -- it's generally safer to stick with IP address
    restrictions.
    When you're finished configuring this, click "Make These Changes" then
    restart your admin server.<P>
    </UL><P>
    If you still find yourself getting an "Unauthorized host" error message,
    you can use the above steps to open up access and try different
    settings.<P>

  • When trying to connect with another iPad or iPhone user it tells me they are unavailable even when they are

    I am having trouble connecting with people on FaceTime.  When I try to connect with them using their email address it will come back saying they are not available when I know they are.

    The question is, Do they have the emai address that you are using configured as a, "You can be reached by Facetime at:" in Settings > Facetime?
    Of course they may be just choosing not to accept your call.

  • When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • My kids accidentally reseat my i phone and when try to backup with I cloud it didn't back my photos constants and every thing

    My kids accidentally reseat my i phone and when try to backup with I cloud it didn't back my photos constants and every thing. Plz help me I rally want my photos back again

    Your problem is that she used your icloud ID to connect to icloud and thus had all your data synced to her device.  Contacts are not saved in a backup to icloud, since they are stored independently in the Contacts section of icloud.  If someone deletes them, they are gone.  If you had them on the PC would they be available in some backup you frequently make of the PC?

  • I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    Please quote the exact error message, word-for-word, verbatim.
    What is your operating system?
    What version of Lightroom?

  • Getting error 789 when trying to connect with a PC remotely via VPN

    When we set up the VPN we are getting a Error 789 when trying to connect with a PC. Any suggestions would be appreciated.

    The utilities, provided on the CD, are not required for the PC to access the Internet through the 802.11n AirPort Extreme Base Station (AEBSn). They are only necessary for administering the base station.
    If your PC is currently configured as a DHCP client, it shouldn't have any issues connecting by Ethernet. The AEBSn will assign the appropriate IP addresses required for connectivity to the Internet ... just like it does for wireless clients.

  • HT201210 I tried to update my iphone4, in the middle it gave an error and now when try to connect it the computer doesnt even detects it and neither does itunes

    I tried to update my iphone4, in the middle it gave an error and now when try to connect it the computer doesnt even detects it and neither does itunes

    Power the phone off completely. Plug the USB end of the cord into the computer, leaving the other end unplugged from the phone. While the phone is powered off, open up iTunes, hold down the home button on the phone, and plug in the USB cord to the phone, making sure you keep holding down the home button. In about 15 seconds you should get a pop-up in itunes saying that it's detected an iPhone in recovery mode. Click 'Ok' and 'Restore'.
    Your iOS update crashed and your phone is in recovery mode. The good news is that this will fix it, bad news is that unless you had everything backed up in either iTunes or iCloud, you've lost everything as your phone was wiped when the iOS update crashed.

  • SQL 2012 installation Error-The MOF compiler could not connect with the WMI server

    Hi all,
      I am getting below error while installing SQL 2012 Dev edition in Win 8.1 Pro.
    I am facing lot of issues while installing SQL 2012 in Win 8.1 Pro.Any other steps we need to take to install SQL 2012 in Win 8.1.
    Thanks in advance. 

    Installation:
    Installation for SQL Server 2012
    Hardware and Software Requirements for Installing SQL Server 2012
    Installing the .NET Framework 3.5 on Windows 8 or 8.1
    About "The MOF compiler could not connected with the WMI server" error message:
      Please, verify the Windows Management Instrumentation has status "started" and is set with Startup Type "Automatic". (Alberto Morillo, SQLCoffee.com).
    José Diz     Belo Horizonte, MG - Brasil

  • MS SQL Server 2008 not getting installed properly - MOF compiler could not connect with the WMI server

    I am trying to install SQL Server 2008 in my local machine. However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?

    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?
    can you check below two links.Make sure previous failed installation is removed completely.
    http://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server#
    Solution given by Connect MS is:
    Possibly the issue was caused by uninstalling from add-remove programs - at any rate, using aaron bertrand's suggestion below fixed the issue. Also of note - I used the local admin for the install.
    http://sqlblog.com/blogs/aaron_bertrand/archive/2009/02/20/the-xp-sp3-msxml6-sp2-sql-server-debacle.aspx
    yes - remove msxml6 and any other half installed portion of sql 2008 and REBOOT and install sql
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Why my MacBook pro with Maverick, when I'm connected with internet key and connect with usb cable my HTC One the Mac restat with error?

    Why my MacBook pro with Maverick, when I'm connected with internet key and connect with usb cable my HTC One the Mac restat with error?

    Solution may be found if you search in the "More Like This" section over in the right column. 

  • I can connect to iTunes on apple TV, but get "invalid I.d. Or password" message when trying to connect with iPad or iPhone.  What the...?

    I can connect to iTunes on apple TV, but get "invalid I.d. Or password" message when trying to connect with iPad or iPhone.  What the...?

    Hi Boscoboi,
    Welcome to the Support Communities!
    You may need to check the settings for your iTunes Store on the iPad and iPhone.
    Sign out of the iTunes account, restart the device and sign back in.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311?viewlocale=en_US
    If these basic steps don't resolve your issue, then follow the advice in this article for connectivity issues with iTunes:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    - Judy

Maybe you are looking for

  • Fonts Not Available in Photoshop CS3 (Windows 7)?

    Hello, My desktop computer crashed yesterday and I had to run out last night and pick up a new unit as I'm trying to meet a number of deadlines (and not having much luck getting the work done in my laptop). The new computer uses Windows 7 as the Oper

  • I want to get rid of sync i cant print and i hate it

    i hate theis sync thing i can no longer print and have to go to google chrome to print anything.. i hate this i dont get it.. and i dont use it.. how do i go back to the way it used to be.. without this.. i need to print stuff for a writing class and

  • Os x 10.1.4 or 10.3.5

    which of these versions are more current 10.1.4 or 10.3.5??

  • Error Log FM

    Hi Folks, Does someone knows what's the FM used to display messages in a popup dialog? For example something like the one that uses the TCODE ME21N  would be great. If this FM is tricky a little code sample would be great. Thanks for your help. Kind

  • Help with cfinput radio button and text fields

    I have a series of radio buttons that allow a user to select monetary values but I also want them to be able to define an amount if they choose so. I was planning on doing this by providing a radio button with the value of other and then using a text