Need to provide local machine overrides

Hi,
Our users have their home directories served up from a network file server. For certain machines we now need to provide local home directories for some, but not all, users, i.e., dave logs into machine foo and gets /Users/dave but on machine bar he gets /server/fs0/dave. Fred, on the other hand, gets /server/fs0/fred on both machines.
We've used a per machine mapping in our ODS which makes ALL users get the /Users/username on foo, but we ideally want to make this a per user decisions.
I thought I'd found how to do this when I saw the per machine Accounts ACL in the Workgroup Manager but, sadly, that doesn't appear to allow for overriding the home directory setting.
Any help much appreciated,
Dabe

Hi,
I agree with Senne, in addition, we can also use net command to perform local group management.
More information for you:
Add a member to a local group
http://technet.microsoft.com/en-us/library/cc772524.aspx
How to Make a Domain User the Local Administrator for all PCs
http://social.technet.microsoft.com/wiki/contents/articles/7833.how-to-make-a-domain-user-the-local-administrator-for-all-pcs.aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • Need to provide local administrator access without domain administrator rights

    Hi All,
    I need to provide local admin access to one account in windows environment without providing domain administrator rights.
    Windows 2008 DC. Desktops : windows 7
    So that we can use this account to install agents like SCCM\SCOM in all servers & desktops.
    Need suggestions.

    Hi,
    I agree with Senne, in addition, we can also use net command to perform local group management.
    More information for you:
    Add a member to a local group
    http://technet.microsoft.com/en-us/library/cc772524.aspx
    How to Make a Domain User the Local Administrator for all PCs
    http://social.technet.microsoft.com/wiki/contents/articles/7833.how-to-make-a-domain-user-the-local-administrator-for-all-pcs.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • The 'IBMDADB2' provider is not registered on the local machine.

    Hi Experts,
    Need you help on this
    I am trying to migrate an application from Windows Server 2003 (32 Bit), IIS 6 to  Windows Server 2008 R2 (64 Bit), IIS 7.
    But i am getting The 'IBMDADB2' provider is not registered on the local machine error  when i am trying to connect to DB2 via application. However i am able to connect to DB2 directly via DB2CMD.
    "Provider=IBMDADB2; User ID=xxx; Password=yyyy; Data Source=zzzz; hostname=aaaa;"
    Request your help on the same.
    Thanks in Advance.

    Hi Hari,
    This forum is for Team foundation server, which it's not related to your question. Please open a new thread in corresponding forums that you used for the application.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "The 'VFPOLEDB.1' provider is not registered on the local machine" in SSRS 2008

    Hi,
    I installed Visual Foxpro OLE DB driver for accessing dbf file and tried to get the data from the dbs file through BIDS.
    I made one report using BIDS its working fine.
    But once i deployed this report to SSRS its giving an error that “The 'VFPOLEDB.1' provider is not registered on the local machine."
    My SQL Report services is 64 bit i realaized that Visual Foxpro OLE DB will not work in 64 bit application.
    Its there any work arround for these kind of issue. I need to keep 64 bit ssrs because this is production server other reports are there.
    Please let me know is there any solution.

    Hi iqbalkmk,
    As you know the report designer is 32 bit, if you have installed the 32 bit data provider it will works fine in the designer but not work on the 64 bit report server.
    When you deploy a report to a 64-bit report server (x86), the report server must have natively compiled 64-bit data providers installed. Wrapping a 32-bit data provider in 64-bit interfaces is not supported.
    In your scenario, please try to do below setting to have a try:
    Click the IIS manager in the start.
    Edit the Advanced Properties of the application pool in which the application is running and set "Enable 32-Bit Applications" to "True".  If you don't do this you see the error message that kicked off this whole thread.
    More details information:
    Data Sources Supported by Reporting Services (SSRS)
    Similar thread for your reference:
    The 'VFPOLEDB.1' provider is not registered on the local machine
    The 'VFPOLEDB.1' provider is not registered on the local machine
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. at System.Data.OleDb.OleDbServicesWrapper

    HI
    when i copy asp.net 3.5  application  from IIS7 to IIS 8 in windows server 2012 and browse the application and try to save data in oracle , i  get following error in Event viewer
    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          4/6/2015 2:53:21 PM
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      TSharepint2013.test.com
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 17/06/36 02:53:21 ? 
    Event time (UTC): 17/06/36 11:53:21 ? 
    Event ID: 34f214e1dcdf45f5ad8450739c954494 
    Event sequence: 24 
    Event occurrence: 1 
    Event detail code: 0 
    Application information: 
    Process information: 
        Process ID: 18724 
        Process name: w3wp.exe 
        Account name: TEST\splaw 
    Exception information: 
        Exception type: InvalidOperationException 
        Exception message: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
       at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
       at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information: 
     Request URL: http://-----:50/executionreq/printLawsuit.aspx 
        Request path: /executionreq/printLawsuit.aspx 
        User host address: ---3.184 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: TEST\Spfarm 
    Thread information: 
        Thread ID: 16 
        Thread account name: TEST\Spfarm 
        Is impersonating: False 
        Stack trace:    at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
       at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-04-06T11:53:21.000000000Z" />
        <EventRecordID>174735</EventRecordID>
        <Channel>Application</Channel>
        <Computer>TSharepint2013.test.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>17/06/36 02:53:21 ?</Data>
        <Data>17/06/36 11:53:21 ?</Data>
        <Data>34f214e1dcdf45f5ad8450739c954494</Data>
        <Data>24</Data>
        <Data>1</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/3/ROOT/ExecutionReq-1-130727947211114471</Data>
        <Data>Full</Data>
        <Data>/ExecutionReq</Data>
        <Data>C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\</Data>
        <Data>TSHAREPINT2013</Data>
        <Data>
        </Data>
        <Data>18724</Data>
        <Data>w3wp.exe</Data>
        <Data>TEST\splaw</Data>
        <Data>InvalidOperationException</Data>
        <Data>The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
       at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper&amp; datasrcWrapper)
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp; connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at printLawsuit.RetJudgement(Int32 x) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 2374
       at printLawsuit.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\wss\VirtualDirectories\Law\ExecutionReq\printLawsuit.aspx.vb:line 44
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    </Data>
        <Data>http://----:50/executionreq/printLawsuit.aspx</Data>
        <Data>/executionreq/printLawsuit.aspx</Data>
        <Data>10.169.3.184</Data>
        <Data>
        </Data>
        <Data>False</Data>
        <Data>
        </Data>
        <Data>TEST\Spfarm</Data>
        <Data>16</Data>
        <Data>TEST\Spfarm</Data>
        <Data>False</Data>
        <Data>   at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper&amp; datasrcWrapper)
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, 
    </Data>
      </EventData>
    </Event>
    adil

    Hi,
    As this question is more relate to iis, I suggest you post it to IIS Forum, you will get more help and confirmed answers from there.
    http://forums.iis.net/
    Best regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine (Windows Server 2008 R2 (64) vs MS Office 2007)

    We just have switched our local server from 32-bit to 64-bit machine and now we have Windows Server 2008 R2 Service
    Pack 1 with MS Office 2007. On server we are running an application in ASP.Net 3.5 using visual studio
    2008. All users have 32-bit windows 7 and MS Office 2007.
    when user tries to import data from Excel to Database (SQL Server 2005), error comes as
    "microsoft.ace.oledb.12.0 provider is not registered on local machine".
    I have tried a solution by installing Access Database Engine 2007 Office System Driver on the Server, but the error
    was same. Now what should I do to resolve this problem??? Should we install Office 2010 64-bit on the Server or is there any other solution???

    Hi,
    Thanks for your posting.
    the file can be made in excel 2007, try to install:2007 Office System Driver: Data Connectivity Components
    http://www.microsoft.com/en-us/download/details.aspx?id=23734
    Regards.
    Vivian Wang
    TechNet Community Support

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • Provider 'Microsoft.SQLServerMPPOLEDBProvider' not installed on local machine - Power Pivot/PDW

    Hello,
    This is my first post, so I apologize if I'm violating any etiquette or protocol here. I've scoured for answers to this question and found none, so this is my last resort.
    I'm using Office 365 Excel (64-bit). In my Excel Data Model, I have tried to connect to our SQL Server 2012 PDW by selecting 'Other Sources' and 'Microsoft SQL Server Parallel Data Warehouse'. After inputting the server and login information, the connection
    fails, citing that "The Microsoft.SQLServerMPPOLEDBProvider is not registered on the local machine."
    I can't find any information about this provider, and when I change the provider to any other value in the connection string, it fails as well.
    Does anyone have any ideas about where I might find this provider and why it wasn't registered in the first place?
    Thank you,
    Jess

    Hi Jess,
    For the PDW you have to enter the path to an IDS file containing the connection information, please see the article below:
    http://ms-olap.blogspot.com/2013/05/connecting-to-pdw-from-powerpivot.html
    In addition, PDW v2 support sqlncli11 or, the driver used to connect to sql server 2012. Please use that to connect.
    Regards,
    Elvis Long
    TechNet Community Support

  • The 'ORAOLEDB.ORACLE' provider is not registered on the local machine.

    Sir,
    I am having my oracle 11g 64 bit database in RHEL linux 64 bit server. My Visual Studio .Net 2008 64 bit application is running in server having Windows server 2008 64 bit OS and oracle 11.2.0.2.0 client 64 bit.
    When I try to connect the database through the oracle client its working fine and I am able to connect through the development mode of visual studio 2008. But when I try to run in the IIS the following error is coming:
    The 'ORAOLEDB.ORACLE' provider is not registered on the local machine.
    Kindly help me
    Thanks in advance
    n v r

    This is not an Oracle database problem, never mind a database server language (PL/SQL or SQL) problem.
    The problem you've described is with a Microsoft product, Visual Studio 2008. The server you refer to is Microsoft IIS. The error you list is an error with a Microsoft proprietary technology called OLEDB (part of Microsoft's <i>Component Object Model</i>).
    Just where does Oracle PL/SQL and SQL languages, the subject matter of this forum, feature in your problem with Microsoft proprietary technology?

  • I need help with Active Content running in the local machine

    Hey. I'm in a dead line ... and I'm in trouble: I programmed
    a web-site with a flash-menu that uses getURL to connect with the
    pages. This web work in the internet but doesn't in the local
    machine. I need to distribute it in a CD also, so i need the menu
    working in the local machine. I'd tried all the tricks i found in
    internet but....no success. Any suggestion....Thanks a lot.

    quote:
    I could make suggestion, but honestly ... I'm afraid I'll
    only say
    something you've already seen! I mean, *all* the tricks on
    the Internet?
    lol That's a lot. Have you tried inserting the "mark of the
    web" on the
    HTML page that contains the SWF?
    http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx
    In Dreamweaver, see Commands > Insert Mark of the Web.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."
    Of course I did. Anyway, in theory it will work only in
    Explorer, but i have the same problem with the other navigators.
    The problem is very simple: if I publish de flash-menu for
    ACCESS LOCAL FILES ONLY I resolve the problem, but i lost the GET
    variables than I'm using for trace the option selected in the menu
    to mark it in the next page. In the other hand, if i publish for
    ACCESS NETWORK ONLY simply the menu doesn´t work in a local
    machine in any of the navigators.
    I'm desperately seeking Su...sorry, Solution. (lol)

  • Need to ftp files(BACS) from Server to Users Local Machine-Urgent

    Hello,
    I am working on a Oracle HRMS Implementation(11i) and have a requirement wher I need to ftp files (BACS File) from a server to Users Local Machine.
    Please let me know any scripts or the way forward to achieve the same using a concurrent program.
    Thanks a lot!

    That requires the users machine for a ftp server installed and to be "visible" to the conc program server, the first one requiring setup and configure for every client and the second one may be a problem if in different segments or security policies. Another approach may be to generate the files on the server in a known location and from the client create a batch script to connect to that server and retrieve the file(s). You may schedule the program to run at certain hours or use a shortcut so the user can run it on demand

  • I need Home directories on local machines, not on server

    I'm setting up 10.5 server and OD. I have 10 mac workstations (all 10.4), each with established users and home directories. I have set up new users on the server, in the directory domain the exact same as they are set up on the local workstations (same long name, short name, and password. Obviously they have different UIDs and GIDs). I have user home folder paths set to None, accept the diradmin folder, which is set to /Users.
    When I log in as a OD user other than diradmin from a workstation, I see my home folder as "99". I'm not sure why this is, but it appears to create this home folder locally. I don't like this.
    When I log in as diradmin from a workstation, it creates a folder home folder called "diradmin" on the local mac. This is better.
    Ideally, what I'd like is the home folder always be located on the workstation, even if logging in from a different machine, so preferences, email, tunes, etc. are there. I DON'T want home directories on the server due to bandwidth limitation of our network. I want home directories to say as-is ((on local machines) and just change how users log onto their workstations (using LDAP instead of NetInfo).
    Questions:
    1. Can I have the same long/short name and password on the workstation, and in the shared directory? If not, will just changing the long name be enough to differentiate, or does the short name also need to change?
    2. Is it possible to have my home folders set up as described (living on the local workstation and shared in logging in from a different mac)? If so, how? I've read the apple docs and nothing seems to clearly describe how to do this.
    Thanks much.

    I had the same question and had some very helpful responses in this thread.
    http://discussions.apple.com/thread.jspa?threadID=1334079&tstart=0

  • HELP! How to save resultset (NOT file) from server databse on local machine

    Our JSP web system allows our clients to be able to search data from the server-side database and then after get the resultset, they also should be able to save these data as a text file on their local machine by just a click. Of course, before they click the OK button, they should navigate the files system on their local machines and choose under which directory they want to put the file, and then provide a file name. I could NOT find a way to be able to navigate the local machine's drives.
    I know there is a standard Save As dialogue automatically launched by the browser. But my problem is: I don't need such a pumped-up Save As... dialogue which most brower will provide, because our system will have an interface which will provide the same function as the Save As guy. And this is the part that I am currently working on. Our interface will permit the client to browse their file system and then provide a filename, and then click OK to save the file. PLEASE, anybody who can help me. I know there are guys there have answers for my questions:
    1. In my JSP program, I save the resultset I get from the database as a string, and then this string should be sent through inputstream and outputstream and be saved as a text file onto the client's local machine. I know there's a lot file download topics but I am dealing with a string instead of a file, is there an inputstream accepting a string(which contains dataresultset) and output it to a file?
    2. As I already said, how to make my own Save As... dialogue?
    I really need help! I have been bothered by them for a long time. Thanks in advance!

    Well, it's hard to interpret exactly what you want to do but I'll take a stab.
    I would put the data into comma separated value (CSV) format and then stream it back to the browser using the "application/csv" content format.
    By doing this, they can either save it to their hard drive into the directory of their choice, or open it using whatever mapping they have for the CSV mime type. For most Windows machines, this is Excel (if it's loaded).

  • JDBC/JSP/MySQL Code works from my local machine, but not on server

    Hi there!
    I've been struggling with this problem for a while.
    I have a database from which I need to read and display some data on a browser. (The database is set up for remote access).
    I'm using the following JSP/JDBC code to do that.
    Class.forName ("com.mysql.jdbc.Driver").newInstance();
    out.println("<BR> Connecting to DB...Pls. Wait <BR>");
    Connection con = DriverManager.getConnection("url","user","pwd");
    if(con.isClosed())
    out.println("<BR><BR><BR>" +"Could NOT connect to MySQL Database...");
    else out.println("<BR> CONNECTED !!! <BR>");
    Statement stmt = con.createStatement();
    results = stmt.executeQuery("SELECT * FROM TableName" );
    When I run this of my local machine, it works fine. But when I upload it to a server, it doesn't run through. I dont get either the connected or not connected message.
    I tried this piece of code that I found online to check the driver.
    /*Driver d = (Driver)Class.forName("com.mysql.jdbc.Driver").newInstance();
    out.println("<BR>Got a driver instance. ");
    if (d.acceptsURL(url)) out.println("<BR>The driver does accept my URL");
    else out.println("<BR>The driver doesn't like the URL I'm trying"); */
    I ran it off the server and it worked. I got the outputs --Got a driver instance and The driver does accept my URL
    I'm unable to figure out why this code can be run locally from my machine, but not from a different location. The database is NOT on my machine.
    Any inouts will be really appreciated.
    I'm using an Apache Tomcat container and the database is MySQL.

    Just wanted to mention
    The database is on another (3rd) machine.
    So I have
    1. My local machine
    2. Database hosted on a 2nd machine
    3. Place I'm moving my code to (its basically a hosting account provided by an external company)
    I can access the database from my local machine. However, when I move the code over to another machine, it doesn't work.

  • JavaMail applet working on local machine - but NOT on my webpage

    Hi.
    My code works on my machine as an applet run through my Eclipse IDE.
    I have the Applet deployed on my website, which is the same server as the email server itself.
    public void postMail(String to, String subject,
                                String message , String from) throws MessagingException
        boolean debug = false;
         //Set the host smtp address
         Properties props = new Properties();
         props.put("mail.smtp.host", "mail.completemusician.net");
         props.put("mail.smtp.port", "2626");
         props.put("mail.smtp.auth", "true");
        Authenticator auth = new SMTPAuthenticator();
        Session session = Session.getDefaultInstance(props, auth);
        session.setDebug(debug);
        // create a message
        Message msg = new MimeMessage(session);
        // set the from and to address
        InternetAddress addressFrom = new InternetAddress(from);
        msg.setFrom(addressFrom);
        InternetAddress addressTo = new InternetAddress(to);
        msg.setRecipient(Message.RecipientType.TO, addressTo);
        // Setting the Subject and Content Type
        msg.setSubject(subject);
        msg.setContent(message, "text/plain");
        Transport.send(msg);
    }1) I know my code works on my local machine - so it's not related to a code bug.
    2) I know that all class files are uploaded correctly and working in a single JAR file. The other 3 classes I use work fine in this applet.
    3) I receive no errors of any kind - it just appears that my constructor may not be called, or the instant java mail API is mentioned, the applet just refuses to work.
    v.setMessage("Attempting to send..");This line never is used in my class constructor - which is troubling.
    public SendMailUsingAuthentication(String from, String to, String subject,
              String text, ValidationDialog vd) {
           v = vd;
           v.setMessage("Attempting to send..");
           boolean succeed = true;
           try {
              postMail(to, subject, text, from);
         } catch (Exception e) {
              // TODO Auto-generated catch block
              v.setMessage("Email delivery has failed. " +
                         "Please check your email address provided and try again." +
                         "\n\n" + e.getMessage());
              e.printStackTrace();
              succeed = false;
         if(succeed)
               v.setMessage("Your request has been submitted successfully.\n\n" +
                         "You may safely navigate away from this page.");
               v.setBlue();
         // TODO Auto-generated constructor stub
    }Feel free to reply - I would appreciate your help. Just keep in mind:
    1) Don't tell me to use javascript. I refuse.
    2) Don't tell me I need a server application. It's supposed to work according to documentation, without it.

    Is your applet signed properly? Note that you have to sign all the jars for the applet -- including the JavaMail jar and the activation jar -- using the same signer.

Maybe you are looking for

  • How to create the PDF file in WebDynpro?

    Hi.        How to create PDF file in Webdynpro? I have one WD screen In there i have one File Download action. Once i click that it will open one PDF file which consisting of all details. Pls reply me. with regards, Gobintah.R

  • Similar to ORADIM

    hi, I want to know what is the similar command in UNIX like oradim in windows used to create,delete oracle services

  • Email Delivery Status Reports

    Greetings, We are comtemplating emabarking on a project and I was needing to get some feedback, ideas or suggestions. What we have is a Java Web App that uses the JavaMail API to send out emails to several users. It's sort of like a newsletter type m

  • Null Pointer Exception when working with Custom Sql

    I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including

  • Distributed Transaction with EJB 3.0 / JPA

    I did some testing here and it proved to work. I would like someone to tell me if this is really true. I have many Stateless Session Bean and Entity Beans, using EJB 3.0 with JPA. The Persistence Unit is configured using JTA transaction type. Some of