Applet to Sql Server

While i am try to connect Sql Server through an Applet In the java Consle it is giving an SQLException
Ie SQLException: access denied(java.net.SocketPermission 127.0.0.1:1400 connect, resolve)
how can i over come this problem.
Thx & Rgds
vin

can it be that the username and password passed to SQL server are wrong or mistyped? if not, it can be that the user trying to access the database doesn't have appropriate permissions.

Similar Messages

  • SQL Server 2000 - JDBC + Java Applet problem

    Hai
    I have some problem connecting my SQL server database with Java.
    I use Applet to make my interface.
    I use Windows 2000 server.
    Here is my program listing :
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.sql.*;
    public class VLookup extends JApplet {
    String database = "jdbc:odbc:Driver={SQL Server};SERVER=Windows2000;uid=sa;pwd=;Database=User-Phone Database";
    String user = "sa";
    String password = "";
    Statement s;
    Connection c;
    JTextField searchFor = new JTextField(10);
    JLabel completion = new JLabel(" ");
    JTextArea results = new JTextArea(40, 20);
    public void init() {
    searchFor.getDocument().addDocumentListener(new SearchL());
    JPanel p = new JPanel();
    p.add(new Label("ID to search for :"));
    p.add(searchFor);
    p.add(completion);
    Container cp = getContentPane();
    cp.setLayout(new BorderLayout());
    cp.add(p, BorderLayout.NORTH);
    cp.add(results, BorderLayout.CENTER);
    try {
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    c = DriverManager.getConnection(database, user, password);
    s = c.createStatement();
    } catch(Exception e) {
    results.setText(e.getMessage());
    class SearchL implements DocumentListener {
    public void changedUpdate(DocumentEvent e){}
    public void insertUpdate(DocumentEvent e){
    textValueChanged();
    public void removeUpdate(DocumentEvent e){
    textValueChanged();
    public void textValueChanged() {
    ResultSet r;
    if(searchFor.getText().length() == 0) {
    completion.setText("");
    results.setText("");
    return;
    try {
    r = s.executeQuery("SELECT " + "Tipe " + "FROM " + "Time " + "WHERE " + "(Tipe Like '" + searchFor.getText() + "%') "
    + "GROUP BY " + "Tipe " + "ORDER BY " + "Tipe " );
    if(r.next())
    completion.setText(r.getString("Tipe"));
    r = s.executeQuery("SELECT " + "ID_Pengguna, Phone_Number, Tipe " + "FROM " + "Time "
    + "WHERE " + "(Tipe ='" + completion.getText() + "') "
    + "GROUP BY " + "ID_Pengguna, Phone_Number, Tipe "
    + "ORDER BY " + "ID_Pengguna, Phone_Number " );
    } catch(Exception e) {
    results.setText(searchFor.getText() + "\n");
    results.append(e.getMessage());
    return;
    results.setText("");
    try {
    while(r.next()) {
    results.append(r.getString("ID_Pengguna") + ", " + r.getString("Phone_Number") + ", " + r.getString("Tipe") + "\n");
    } catch(Exception e) {
    results.setText(e.getMessage());
    public static void main(String[] args) {
    JApplet applet = new VLookup();
    JFrame frame = new JFrame("User ID");
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e){
    System.exit(0);
    frame.add(applet);
    frame.setSize(500, 200);
    applet.init();
    applet.start();
    frame.setVisible(true);
    } ///:~
    And java catch error like this : access denied (java.lang.RuntimePermission access ClassInPackage.sun.jdbc.odbc)
    What is wrong ??
    Is there any problem with my DNS ? 'cos I don't know how to set up my DNS.
    Can u help my with this problem ??
    Thank's

    You need to read up on what applets are capable of. Applets generally cannot open connections to things like databases due to sandboxing. There are a couple of ways to get around this. The applet can connect to a servlet on the same machine from which it came and have the servlet do the database accesses. Alternately, you can create a signed applet which allows you to get around some of these sandboxing issues.If tried to make localhost on my computer ( by setting my IIS configuration setting, and using Configure SQL XML Support in IIS I've created a new http://localhost/skripsi to my SQL database.
    Is there any command that I have to add to my program listing so the applet can work as I wish ??
    Is there any way to use applet to connect my database withaout using servlet, and can u explain siggned applet to mey ??
    Sorry, I don't really know java very well.
    driver type 4 ??

  • MS SQL SERVER-APPLET CONNECTION WITHOUT ODBC

    ONE QUESTION ALL
    Can it be achieved? I want to setup a database on a running sql server. On the same machine both and then i want to connect an applet with the database!! Please tell me if it can be done and any source code would be helpful!!!
    e-mail:[email protected]
    i will look again here but if you have anything send it here on this e-mail!!!
    I need some answer please!

    To connect to sql server directly from an applet is a waiste of time.
    Do multiple clients use your applet?
    yes:
    You have to write server side script on the same server that the applet came from that
    does the database work according to submitted values from the applet (applet uses url
    urlconnection POST or GET).
    If you want the applet to connect directly you have to sign the applet or set up a policy and
    tell all the clients to install the needed jdbc classes.
    no:
    Write an application using swing.

  • Problem with  Sql Server

    Hi All,
    While i am trying to connect to sql server through an applet it is giving an error in the java console
    Ie SQLException: Connection refused :connect
    i also tried with standlone application it is working fine then would be the problem with applet
    Here is my driver
    Class.forName("com.inet.tds.TdsDriver").newInstance();
    DriverManager.getConnection("jdbc:inetdae7:SERVER:1433?database=abc","gin","gin");
    How can i resolve this issue.
    Thx & Rgds
    Vin

    Check the permissions for your applet. Anuntrusted
    applet(which it is by default) is not allowed toopen
    network connections. That might be the cause. Butthen
    you should get a SecurityException and not a
    Connection Failed exception. Couls you pleasedescribe
    the exception that you are getting.
    Cheers
    JaySome times it is giving access denied i.e.
    java.net.SocketPermission error in java console
    Try giving full permissions to your applet. There is a
    exe file in the bin dir of the jdk installation which
    does that(I forgot the name)
    Here is the exact error msg which is displaying in java console
    SQLException:access denied(Java.net.SocketPermission 127.0.0.1:1433 connect)
    -vin

  • Problem of loading the MS SQL Server 2000 driver for JDBC

    Thanks for your reply.
    I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java.
    Please, tell me one thing. When I had installed MS SQL Server 2000 at my system first time then the 3 JAR files were present in the lib folder and all my codings of connectivity were working properly. Then due to some reasons, I had to format C drive and installed the MS SQL Server 2000 again then in the lib folder the 3 JAR files were not there. How it has happened? Then, I installed the downloaded driver of MS SQL Server 2000 for JDBC 1.4 then the JAR files were installed in the related downloaded driver folder. I manually copied them to the lib folder of MS SQL Server and gave that path to the Classpath of System and User Variables, but it didn't work.
    I am not understanding the reason that The Software which worked previously is not working correctly in second time of installing.
    I am using command line to develop my stand-alone project. Please help me.

    Don't bother with the System CLASSPATH, more often than not, it is not even used.
    When running from an IDE, set the project's library preferences.
    When running from a web container/application server configure the applications libraries in the server/container, see it's documentation.
    When running an applet, configure the [ codebase and/or archive |http://java.sun.com/docs/books/tutorial/deployment/applet/html.html] tags properly.
    When running from the command line with the [ "-cp" |http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html] option, the System CLASSPATH is ignored.
    When running from the command line with the "-jar" option, both the System CLASSPATH path and the "-cp" option are ignored, configure the [manifest file|http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html] properly.
    When running any other way, the System CLASSPATH might be used.

  • Problem of loading the MS SQL Server 2000 Driver for JDBC 1.4.1

    Thanks for your reply.
    I have already tried to give the full class path of .jar files to the System and User Variables but received the same error. I am doing BCA and developing my very first Project on Java.
    Please, tell me one thing. When I had installed MS SQL Server 2000 at my system first time then the 3 JAR files were present in the lib folder and all my codings of connectivity were working properly. Then due to some reasons, I had to format C drive and installed the MS SQL Server 2000 again then in the lib folder the 3 JAR files were not there. How it has happened? Then, I installed the downloaded driver of MS SQL Server 2000 for JDBC 1.4 then the JAR files were installed in the related downloaded driver folder. I manually copied them to the lib folder of MS SQL Server and gave that path to the Classpath of System and User Variables, but it didn't work.
    I am not understanding the reason that The Software which worked previously is not working correctly in second time of installing.
    I am using command line to develop my stand-alone project. Please help me.

    Don't bother with the System CLASSPATH, more often than not, it is not even used.
    When running from an IDE, set the project's library preferences.
    When running from a web container/application server configure the applications libraries in the server/container, see it's documentation.
    When running an applet, configure the [ codebase and/or archive |http://java.sun.com/docs/books/tutorial/deployment/applet/html.html] tags properly.
    When running from the command line with the [ "-cp" |http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html] option, the System CLASSPATH is ignored.
    When running from the command line with the "-jar" option, both the System CLASSPATH path and the "-cp" option are ignored, configure the [manifest file|http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html] properly.
    When running any other way, the System CLASSPATH might be used.

  • SQL Server driver problem

    I am trying to connect to SQL Server 2000. I have JDK1.3.1_02. When I compile my applet I get the error that class sqlserver from the statement "Class.forName(com.microsoft.jdbc.sqlserver.SQLServerDriver);" not found. I have included the path in my classpath as "d:\JDBC\lib\msbase.jar;d:\JDBC\lib\msutil.jar;d:\JDBC\lib\mssqlserver.jar" where JDBC is the root directory for the driver.
    Even the statement "import com.microsoft.*;" returns an error that package com.microsoft.* does not exist. What can be the problem?
    Any suggestions/help appreciated!

    You should be getting a different compiler error. Class.forName() requires a String argument, so your code should look like this:Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");Note the quotes around the class name. Also, your "import" statement is irrelevant in any case because that class is not in the com.microsoft package, it is in the com.microsoft.jdbc.sqlserver package.

  • Ssl comms in applet to stunnel server

    I'm using j2sdk1.4.2_08 in windows xp.
    I'm trying to do SSL comms in an applet to a 'stunnel' server.
    I followed all the useful directions I could find,
    but I keep getting 'No trusted certificate found' at the SSLStartHandshake statement.
    Running as an application I have no trouble at all, everything works fine.
    Which java.security permissions (check permission), if any, apply and have to be explicitly set in the applet code when using the javax.net.ssl.* in an applet?
    I followed these steps:
    -generate public and private key pair with the public key in a self-signed certificate
    -signed the JAR File containing the applet's class
    -exported the public key certificate
    -imported that certificate as a trusted certificate in to a 'user' keystore with alias 'sslalias'
    -created a java.policy file using that 'user' keystore granting all permissions to
    the jar signed by 'sslalias'
    - started appletviewer with this java.policy file.
    I still keep getting the same 'No trusted certificate found' problem
    Tried several other scenarios, nothing works. Only the application version
    works.
    I have wasted an enormous amount of time trying to get this to work and now I'm at
    the end of my thether.
    Any help is appreciated!!
    Regards
    Ddelange

    can it be that the username and password passed to SQL server are wrong or mistyped? if not, it can be that the user trying to access the database doesn't have appropriate permissions.

  • Regarding Microsoft SQL Server 2000 Driver for JDBC (2.2.0019)

    I have downloaded and installed Microsoft SQL Server 2000 Driver for JDBC (2.2.0019). Now i have to configure it for my development purpose. Can i use this driver for my development purpose or not. If yes does it create any kind of problem in future when i change the platform. My development should not depend on driver and database.
    Can i use any other driver provided by sun microsystem. If yes let me know where can i download and configure it.
    Waiting for the updates ASAP

    See, the bridge, being a type 1 driver has
    river has all the inherent limitations of that type
    drivers, due to the extra levels the data must
    passthrough inthe journey between the DB and the
    client. Also the use of native code.. makes it
    unsuitable to be used in applets.. the odbc should be
    configured in the client for this driver to work. etc.
    etc.
    It may be stable and useful for some
    for some applications.. but for sccenarios where one
    needs the solution tobe platform independent, ...By definition that would be the case. Of course the odbc-bridge does work on Windows, Solaris and Linux. So what other platform were you thinking about?
    ... less dependent on the user configuration,The bridge doesn't need any configuration. Or at least not any more than any other driver. The ODBC driver of course does need configuration.
    ...needs the minimum preparations from theuser, and above all give
    the fastest response time for him, the bridge cannot
    beat type 4 drivers. You are going to have to provide a link for that particular performance quote. Given that performance is impact most severely by requirements then design and finally by round trip time to the database I doubt that for applications (rather than benchmarks) that any difference is going to be significant.
    the problem i think was my use of
    my use of 'commercial' that u pointed out..
    anyway.. u are of course right if what u intended was
    stability only. but what i intended with that word was
    different .. sorry for creating the confusion.
    And it still seems like you are implying that it is not suitable for deployment in production systems. And as I pointed out I did deploy it in a large scale production system.
    I am not saying that type 4 drivers do not have a place nor that they do not have advantages, but their mere existance does not prove that they are a better choice for all installations.

  • JDBC connection for SQL Server 2000

    How to connect SQL Server 2000 from java?
    If i can get any sites where i can get examples also fine.
    Thanks in advance
    Praveen.

    Developer's Daily  Java Education 
      front page | java | perl | unix | DevDirectory 
      Front Page
    Java
    Education
    Pure Java
       Articles
    JDBC 101: How to connect to an SQL database with JDBC
    Introduction
    If you're interested in connecting your Java applets and applications to standard SQL databases like Oracle, Informix, Sybase, and others, JDBC is your ticket to paradise.  The combination of Java's JDBC and standard SQL makes a simple and powerful database solution. JDBC makes the simple things easy -- without making the complex tasks too difficult either.
    In this first article in our series, we'll show you step-by-step how to establish a connection from your Java programs to an SQL database using JDBC. In the process we'll show you how to connect to two different databases -- Mini SQL (mSQL), and Interbase -- just so you can see how the code changes when you switch from one database to another.
    Obtaining the JDBC driver
    Before you start working with JDBC, you'll need a copy of the Java JDK. If you don't have it already, you can get the JDK for free at Sun's Java web site, or it will also be included with many IDE's that you can purchase, such as JBuilder or Visual Cafe.
    Once you have the JDK, the next thing you need to do is to get the correct JDBC driver for your database. In most cases the JDBC driver will be provided by your database vendor. For instance, if you purchase the Interbase database, the driver will be provided with the software, or you can obtain the most recent version at http://www.interbase.com/.
    (An exception to this rule is Mini SQL, or mSQL. Because it's a very low-cost database, the JDBC driver has actually been developed by a separate group of people, led by George Reese at imaginary.com. You can download the mSQL JDBC driver from the imaginary.com web site.)
    Once you have the correct JDBC driver for your database, install it according to the instructions that came with it. Installation instructions will vary somewhat for each vendor.
    Establishing a connection is a two-step process
    Once you have the correct JDBC driver installed, establishing a connection from your Java programs to your SQL database is pretty easy.
    Regardless of whether you're trying to connect to Oracle, Sybase, Informix, mSQL, or Interbase (or any other JDBC data source), establishing a connection to an SQL database with Java JDBC is a simple two-step process:
    Load the JDBC driver.
    Establish the connection.
    We'll show you two examples just so you can see how easy it is, and how little the code changes when you migrate from one database server to another.
    A Mini SQL Example
    Listing 1 provides the full source code required to establish a connection to a mSQL database on a server named "www.myserver.com".
      //  Establish a connection to a mSQL database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("com.imaginary.sql.msql.MsqlDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:msql://www.myserver.com:1114/contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 1: This source code example shows the two steps required to establish a connection to a Mini SQL (mSQL) database using JDBC. 
    An Interbase Example
    Listing 2 provides the full source code required to establish a connection to an Interbase database. In this example, we're connecting to a local Interbase server (i.e., the server is running on the same PC that we're running the Java code on).
      //  Establish a connection to an Interbase database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:odbc:contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 2: This source code example shows the two steps required to establish a connection to an Interbase database using JDBC. 
    What's the difference?
    The difference between the two source code listings is very small, so we highlighted them in a dark blue color. The only difference between connecting to the two databases is:
    The name of the JDBC driver.
    The URL used to connect to the database.
    Everything else in the two source code listings -- except for the comment at the top -- is identical. Here's a slightly more detailed discussion of the two differences:
    1. The JDBC Driver
    The name of the JDBC driver will be supplied to you by your database vendor. As you can see in the class.forName() statements, these names will vary. In the first case we're using the mSQL-JDBC driver. In the second case we're using the JDBC-ODBC Bridge driver supplied with the Interbase server.
    2. The URL
    The syntax of the DriverManager.getConnection() method is:
    DriverManager.getConnection(String url, String username, String password);
    The username and password are the normal names you use to log into your database. The URL you use will again vary with the database you use. In both examples shown, we're establishing a connection to a database named contact_mgr. (We'll use this database for all of our examples in this series of JDBC articles.)
    If you stick with standard SQL commands, it can be very easy to switch from one database server to another. In fact, I've heard from several developers who are using mSQL to prototype their software (because it's so inexpensive), and then switching to another commercial vendor when it's time to take their product "live".
    Conclusion
    Establishing a connection to an SQL database with Java JDBC is a simple, two-step process. The process is nearly identical for all SQL databases, and the only real differences are (a) the driver name, and (b) the URL used to connect to the database. Your database vendor will provide this information in their documentation.
    Resources mentioned in this article
    Here are a few links to resources we mentioned in this article:
    Interbase
    The Mini SQL (mSQL) database
    The mSQL-JDBC driver at imaginary.com
      [an error occurred while processing this directive]
     

  • Heterogeneous Connectivity to SQL Server from 8.0.5

    I read many topics in this forum relating to Heterogeneous Services (HS) but cannot find any documentation that details how to 'invoke' an HS connection through ODBC
    We need simple connectivity to a SQL-Server DB so there is no need to install Transparent Gateway.
    So, how do we invoke a "Heterogeneous Service" call from a SQL*Net script? Do we configure an ODBC connection to the SQL Server in the Win2k ODBC applet first? Then how do we make the 'call' to that ODBC connection?
    We saw in some postings that the TNSNAMES & LISTENER files require some entries; what is the format for those entries?

    Mariano,
    You want to use Generic Connectivity to access SQL Server. This is documented in Chap 7 of the Heterogeneous Connectivity Administrator's Guide.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1656
    you will need an ODBC/OLE DB driver for sql server.
    I hope that helps.

  • MS SQL Server 7.0 Connectivity problems

    Hello,
    I am creating applets which display information taken in a MS SQL Server 7.0. My SQL requests are very simple. I program with JBuilder 3.5. As a new Java programer, I have some basic problems:
    -1- Do I have to GET the JDBC/ODBC driver? or is that possible to manage without?
    -2- If it is needed, where can I find it for FREE? The ones proposed by Atinav Inc. are really expensive!
    -3- Why are they not in the installation CD of SQL Server?
    Thank you for answering to a newby.

    The jdbc-odbc bridge comes with all version of sun java back to about 1.1.4.
    ODBC (non-java issue) requires that you set up a DSN on each client machine. This can't be done is java unless you want to use JNI. This might not be ideal for an applet.
    There is a free tds driver (although I can't find the name) for SQL server. It is java only solution and requires no setup on client machine.

  • SQL Server SQLJDBC4 Driver won't connect from Browser.

    Hello,
    First I hope I have selected the correct Category and Forum for this, please move if required and my apologies.
    We have a (Digitally Signed) Java Applet that resides on a HTTPS enabled server usinng a EV Digital Certificate. Having made a simple tweak to the Java's source I rebuilt the project and tested it in Eclipse Luna, all went well with this and a SQL connection
    made. Running the jar file via a DOS CLI using java -jar applet.jar also works and a connection is made to the remote SQL server.
    However, if I browse to the URL I get a dialog warning me about the SQLJDBC jar file and asks if I am willing to accept the risk, which I am. However, the applet instantly fails while trying to connect and simply dumps "SEVERE: com.microsoft.sqlserver.jdbc.SQLServerDriver"
    to the Java console.
    This is all the information I get not even a StackTrace, to say I am confused is an understatement and I would be obliged if anyone can help me resolve this.
    The same happens on Windows 7 x64, Windows 8.1 x64 regardless of the browser used.
    Thanks.

    OK, I've tweaked the code and the stacktrace output was being suppressed by the logger, so I now have
    Missing Application-Name manifest attribute for: https://redacted/jars/sqljdbc4.jar
    Then I get:
    java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at cut.out.UI.connectSQL(UI.java:691)
        at cut.out.UI.init(UI.java:677)
        at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Which I suspect is a consequence of the missing attribute from the jar file, is the source available for this Jar so I can include this and digitally sign it myself?
    Bob

  • Development with SQL server

    hi,
    i am trying to deploy an oracle forms application through SQL server and Apache.
    i configured the apache and it now acts as a server and it also installs the jinitiator in the client machine, who wants to acess.
    but after establishes a connection to the server through j intiator but didnot got any response.
    it stays there displaying the message "applet started"
    what should i do?

    hi,
    i am trying to deploy an oracle forms application through SQL server and Apache.
    i configured the apache and it now acts as a server and it also installs the jinitiator in the client machine, who wants to acess.
    but after establishes a connection to the server through j intiator but didnot got any response.
    it stays there displaying the message "applet started"
    what should i do?

  • Unhandled exception when installing SQL Server 2008 R2

    I tried to download SQL Server 2008 R2 Express it ran for about 30 minutes and then gave a Net Framework error stating that "an Unhandled exception has occurred in your
    application. If you click Continue, the application will ignore this error and attempt to continue....." Once I clicked Continue and it did continue to run and then brought up an info screen with no semblance of the download having worked. I had successfully
    installed SQL Server 2005 Express previously. I uninstalled it along with the Studio Manager. Do I need to uninstall .NET Framework 3.5 SP1 and  .NET Framework 4 Client Profile which are still currently installed before I can install 2008? 

    Sorry I have to reopen this. But I have a similar, but not the same problem.
    I have Windows 7 64bit Ultimate, with VS 2010 professional on my notebook, quad core processor with 8gb of ram and plenty of disk space. I am trying to install SQL Server 2008 R2 Developer edition on my computer. .Net 4.0 was installed, as was .Net 3.5.1
    (from the "Turn Windows Features On/Off" of Programs and Features Control Panel applet).
    When I try to install, I get a Dialog labelled "Microsoft .NET Framework", then the error is "Unhandled exception has occurred in your application. If you click on Continue, the application will ignore this error and attempt to continue. If you click Quit,
    the application will close immediately. <p> An error occurred create the configuration section handler for userSettings/Microsoft.SqlServer. Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System.Version=4.0.0.0.Culture-neutral.
    PublicKey Token-b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\users\myname\AppData\Local\Microsoft_Corporation\Landing Page.exe_StrongName_rspccglaxmt4nhlj5z3thycltsvyyx\10.0.0.0\user. config
    I have removed .Net 4, I have removed .Net 3.5.1 and readded it, rebooting after each step.
    any help on this would be appreciated.
    Thanks

Maybe you are looking for