ODBC Error connecting to a stored procedure SQL Server 2008 - Crystal 8.5

I am running a local copy of SQL server 2008 and get an ODBC error when connecting to any stored procedure with or without parameter. The database are running in SQL Server 2000 compatibility mode on the local server.
Do not get the error when connecting to one or more databse tables or when connecting to a stored procedure on a remote database.
The error reported is "ODBC error:[Microsoft][ODBC SQL Server driver] Syntax error or access violation"
I am running Vista OS.
Any help would be appreciated..

Hello,
Interesting combination. All but CR 8.5 is supported on that OS.
When you created your DSN did you using the 2008 Client or MDAC?
I suggest you go back to supported platforms for CR 8.5
If not then start debugging Vista permissions to start with...
good luck
Don

Similar Messages

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

  • Error during database connection to the database : MS SQL Server 2008 R2

    Hi All,
    I am working with ABAP Proxy to Rec JDBC( Integrating XI with MS SQL Server 2008 R2). I am using SAP PI 7.0
    I am getting error in RWB at communication channel monitoring :
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
    I have given Connection details at Rec JDBC Communication channel as :
    JDBC Driver as : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection : jdbc:sqlserver://10.1.92.111:1433;database=XONTUSERVENTURA_ORG_TEST.
    Please help me in this regard. I really appreciate your valuable information and time.
    Thanks and Regards,
    Ayub.
    Edited by: Ayubsajjid on Feb 15, 2012 8:49 AM

    Hi All,
    Thanks for all your valuable inputs on my question...
    As per all your inputs, we have to install/Deploy the below required jar files in the aii_af_jmsproviderlib.sda file
    ojdbc14.jar
    msbase.jar
    mssqlserver.jar
    msutil.jar
    Can you please tell me from where we will exact this .jar file, bcoz we have search lotzz but we helpless.
    We install from this link http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21599--> we download sqljdbc_3.0.1301.101_enu  file >sqljdbc_3.0>enu-->in that I find sqljdbc.jar and sqljdbc4.jar files only . I cant above said .jar files.
    Please help me.
    Regards,
    Ayub.

  • Getting error while connecting Sharepoint WFE to another Sql Server 2008

    Hello All,
    I am trying to connect a sharepoint wfe to another Sql server 2008 and getting error. This is what I am trying to do.
    #Disconnecting present database serer
    Disconnect-SPConfigurationDatabase
    #Connecting to another database server
    Connect-SPConfigurationDatabase -DatabaseServer "ServerName" -DatabaseName "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase
    Getteing below error
    Connect-SPConfigurationDatabase : Cannot open database "SharePoint_Config_nameabcd" requested by the login. The login failed.
    Login failed for user 'domain\username'.
    At line:1 char:32
    + Connect-SPConfigurationDatabase <<<<  -DatabaseServer "ServerName" -Database
    Name "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase  + CategoryInfo : InvalidData:(Microsoft.Share... urationDatabase:SPCmdletConnectSPConfigurationDatabase) [Connect-SPConfigurationDatabase], SqlException+ FullyQualifiedErrorId
    : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabaffsadss FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabase
    Please advise to resolve the error.

    Hi,
    We have not heard from you in a couple of days.
    Just checking in to see if the information was helpful. Whether your issue is solved.
    Have a great day!
    Best Regards,
    Lisa Chen
    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]

  • Crystal Reports XI connection problems - after updating to SQL Server 2008

    Hello!
    We have some ASP.NET 2.0 Applications that call some CR XI report files with parameters to generate PDF Files. After upgrading from SQL Server 2005 to 2008 the apps hang when trying to generate the PDFs. Some research with Fiddler showed that ever time a 401 Error is raised. Calling the reports directly from CR Designer with the same connection values and Parameter shows the appropriate data that means the log-in data iare functioning.
    I already tried switching the data source driver from OLE DB to SQL Native - no effect!
    Can it be that CR XI does not work with SQL Server 2008? Or is there an update for CR XI and SQL Server 2008?
    Because we are in a hurry I hope somebody can solve my problem(s) ...?!
    Thanks in advance,
    Frank

    Hi Frank,
    No CR XI is not supported nor is any version completely at this time. What we've found issues in so far are the Time(7) time is returned as a string value and Stored Procedure Data/time parameter SQL creation. The Time(7) field is an OLE DB driver issue with Microsoft but the Date/time SP issue is our issue and it's currently tracked and escalated. It will be fixed for CR 2008 with SP3 I believe. And I've asked that the same fix be rolled back to CR XI R2 but waiting on the reply from R&D if it can be done.
    What you need to do is download the trial version of CR XI R2 ( Release 2 ) and then use your XI Keycode to install it and it will work. Then update to the latest SP 5 Service Pack. XI is past it's end of life support which means there will be no updates or bug fixes any more.
    Next, MS SQL Server 2008 does not work with the MDAC version of the Native drivers, you must install the MS SQL Server Client. You'll see the driver name is "MS SQL Server Native client 10". This is the one you need to use.
    Another work around is to use ODBC, it seems to resolve all issues, but the client must be installed.
    Thank you
    Don

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

  • How to connect from Oracle 11g to SQL Server 2008 R2

    Hi,
    Is it possible to connect from Oracle 11g on AIX to SQL Server 2008 R2? If so, what is the preferred method?
    SQL Server has the original table. From Oracle 11g, we want to access data which is in SQL Server real time.
    Thank You
    Sarayu

    Hi,
    Have a look at these Oracle notes for the full information on the gateways -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
    Gateway and Generic Connectivity Licensing Considerations (Doc ID 232482.1)
    How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) (Doc ID 562509.1)
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    The Database Gateway for SQL*Server (DG4MSQL) needs a separate license but the Database Gateway for ODBC (DG4ODBC) is included in your RDBMS license. You only need to provide the third party ODBC driver needed by DG4ODBC.
    Regards,
    Mike

  • Side By Side Configuration Error Windows 7 64 bit and SQL SERVER 2008 R2

    Hi,
      I keep getting the side by side error... I tried installing the patches, and service packs i reinstalled sql server 2008 r2 like 10 times. It won't go away. I tried the registry edit a few people say works. This has been killing me for a week now,
    I cannot run my sql server on my machine its crazy..???
    Please help
    thanks, NIck
    Activation context generation failed for "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    could not be found. Please use sxstrace.exe for detailed diagnosis.
    Log Name:      Application
    Source:        SideBySide
    Date:          2/16/2014 10:36:55 PM
    Event ID:      33
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Nick-PC
    Description:
    Activation context generation failed for "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    could not be found. Please use sxstrace.exe for detailed diagnosis.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SideBySide" />
        <EventID Qualifiers="49409">33</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-17T03:36:55.000000000Z" />
        <EventRecordID>505191</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Nick-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>

    Hi NickDeNora,
    According to your description, we need to verify if you install
    Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) and
    correct the manifest file. The manifest file is readable (although empty), but we cannot edit it (even if you are an administrator). Only SYSTEM has access to the file. So to be able to edit it, you must first take ownership of
    it and grant ACLs. After saving the file, then run the setup again.
    For more information , see:
    http://blogical.se/blogs/johan/archive/2012/06/23/sql-server-vc-installation-voes.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Connecting BI Pub with Microsoft SQL server 2008

    I am trying to connect Microsoft SQL server 2008 as a Data source in BIP .
    Using below info :
    Driver Type : Microsoft sql server 2005
    Database Driver class : com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection String : jdbc:sqlserver://TXHOURDB71D:1443;DatabaseName=StewartAccessIntegration
    I am unable establish the connection and the username and password which I giving is right for the connection.
    Please let me know if I am missing any config steps.
    AJ

    Officially, you got to use Hyperion drivers.
    For BIPublisher 10.1.3.4 and ++ to connect to Ms sql server,
    use the following
    This works well and better.
    Driver class = hyperion.jdbc.sqlserver.SQLServerDriver
    Connection String = jdbc:hyperion:sqlserver://SERVERNAME:PORT;DatabaseName=DBNAME;
    http://winrichman.blogspot.com/2009/04/hyperion-driver-to-connect-to-ms-sql.html
    In older versions.
    you can also copy the drivers to the lib folder or applib folder and try what you were doing.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b32481/toc.htm#T498352

  • ODBC errors for Oracle Migration Workbench and SQL Server 2000 on Windows

    Hi all-
    I setup a new ODBC connection for the Oracle 10g Migration Workbench to MS SQL Server 2000 on Windows XP and keep getting the following errors when I try to
    either test the new ODBC connection to MS SQL Server 2000 for use with the Oracle Migration Workbench tool. Goal is to fix these errors so that I can migrate our test SQL Server 2000 databases to Oracle 10g.
    Current configuration
    - Oracle 10.1 Migration Workbench
    - Oracle 10g Database (target)
    - MS SQL Server 2000 (source database)
    -Windows XP
    -ODBC 3.85.1117 driver for Windows XP with SQL Server and Oracle
    Errors:
    I. When I test the ODBC connection:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.
    TESTS FAILED!
    Now here is what has me totally confused:
    I can use the command line ISQL to access the database on the server and IP is all correct and port is available. So I can access the SQL Server database fine it is when I try to setup ODBC that it gives me problems.
    Any tips how to get this ODBC working?
    Thanks
    Ben Prusinski

    1. Jing Jin. If you had READ the post you would have seen that installing later versions is NOT an option.
    2. Not supported does NOT mean does NOT work, as Balmukund pointed out in the referenced thread.  The site that this databases supports is using ASP which is also NOT supported by Microsoft.  As it turns out Balmukund's solution actually turns
    out to be the correct solution.  I installed SS2K and its Service pack 4 on the machine last night.  Good answer Balmukund. as we say in the Navy, "BRAVO ZULU!!"  which means "WELL DONE!!
    3. Tom Li I just posted the question less than 48 hours ago.  My last post was less than 24 hours ago.  I think I have the right to be given the opportunity to determine whether a reply is the answer or not. I understand you don't like unanswered
    posts sitting around for weeks, months or years. (I don't like it either as I have a few that are still unanswered after several years.)  But you should not be showing replies as answers before I even get a chance to see them, much less try them out. 
    You should also not be showing replies as answers which don't address the criteria of the question.  I specifically stated that I had to install SS2K.  I went on to state, "And before anyone asks I need to install this version because that is what
    the customer is using and I need to duplicate their databases."  So the correct answer, if in fact SS2K did not work on Windows 7, would have been a virtual machine answer, as suggested on the thread Balmukund referenced.  So before you mark a reply
    as an answer read the question.
    Edward R. Joell MCSD MCDBA

  • ODBC Error when implementing BI Apps on SQL Server

    Hey,
    we are implementing BI Apps using SQL Server as the warehouse database, and we are running into the following errors when viewing the out-of-the-box reports:
    [ODBC SQL Server Driver][SQL Server]'concat' is not a recognized built-in function name
    [ODBC SQL Server Driver][SQL Server]Incorrect syntax near 'NULLS'..
    It appears that the standard reports are using Oracle-specific SQL functions that are not available in SQL Server. Yet BI Apps is supposedly certified with SQL Server.
    Have anyone else run into this issue? If so, how did you get around it?
    Thanks,
    Yi

    Ah, sorry, I misunderstood.
    Yes, the CONCAT_SUPPORT feature is checked for both value and default. However, CONCAT_NULL_RETURNS_NULL is not checked. Should I check it?
    It's great to know that you have it working on SQL server. I must be missing some configuration then.
    Thanks,
    Yi

  • Editing Stored Procedures (SQL Server?)

    This may seem like a dumb question but I just finished my project for our Oracle data warehouse and now I need to move on to SQL Server to upgrade those procedures... does SQL Developer not support the editing of SPs for SQL Server? Are the SPs for SQL Server read-only?
    Using SQL Developer Version 1.5.0.53.58
    on Win XP box...
    Thanks!
    Tim

    Hello,
    Please try the following ones:
    http://msdn.microsoft.com/en-us/library/ms190669.aspx
    http://www.sql-server-performance.com/2003/stored-procedures-basics/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error 5125 Attaching a Database in SQL Server 2008 Express R2

    Hello Everybody,
    I want to attach a Database and I am getting the Error 5125.
    An exception occured while excuting a transact sql statement or a batch(Microsoft.sqlserver.ConnectionInfo)
    File C:\Daten\SQL\SL_MRUB.mdf apperars to have been truncated by the operating system.Expected size is 819200kb but the actual size is 815104KB.
    Could not open new database reserve. CREATE DATABASE is aborted. Microsoft SQLServer Error:5125
    Unfortunately, we have no Backup. Is there any possibility to fix it or move the content of the Database to a new one, or anything else.
    I`m looking forward to your answers.
    Thank you,
    Florian

    Hi,
    You need to get another copy of that database file, or restore from a backup.  The file you have
    is not going to be able to be used. 
    Janos
    There are 10 type of people. Those who understand binary and those who do not.
    My Blog |
    Hire Me

  • How to connect java project to sql server 2008 r2 database

    i want to create an java application which has to create a database and later access it. My problem is that i am not able to connect sql server 2008 r2 database driver on to the netbeans.i have sql server 2008 r2 installed on my system.please
    suggest me the step by step procedure to establish the connection

    Hi ENG,
    To establish a connection to SQL Server from a Java project, you have to download the JDBC driver for SQL Server from
    here.
    After extracting the jar files(like sqljdbc.jar) from the above link, add the driver to the netbeansIDE.
    Test establishing a connection with the below Java Class.
    import java.sql.*;
    public class Test {
    public static void main(String[] srg) {
    String driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"; //load the jdbc driver
    String dbURL = "jdbc:sqlserver://localhost:1433; DatabaseName=test"; //connection string to the db hosted on localhost
    String userName = "sa"; //user name
    String userPwd = "123456"; //password
    Connection dbConn;
    try {
    Class.forName(driverName);
    dbConn = DriverManager.getConnection(dbURL, userName, userPwd);
    System.out.println("Connection Successful!"); //print Connection Successful! if connection establishes
    } catch (Exception e) {
    e.printStackTrace();
    A demonstration video from Youtube for you reference.
    Connect NetBeans Project with Microsoft SQL Server 2008 - YouTube
    Since this is a question regarding Java, I suggest you post your subsequent questions to a java dedicated forum. It is appropriate and more experts will assist you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Error received when installing SQL Server 2008 R2 Express

    I receive the following error when I try to install SQL Server 2008 R2 Express-
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Configuration.ConfigurationErrorsException: An error occurred creating 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,
    PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\rhaas\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException:
    Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
    File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
       at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
       --- End of inner exception stack trace ---
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
       at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
       at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
       at System.Configuration.ConfigurationManager.GetSection(String sectionName)
       at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
       at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
       at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
       at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
       at System.Configuration.SettingsBase.get_Item(String propertyName)
       at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
       at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
       at Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings.get_WindowPlacement()
       at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    LandingPage
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/LandingPage.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Microsoft.SqlServer.Configuration.Sco
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Configuration.Sco.DLL
    Microsoft.SqlServer.Chainer.Infrastructure
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Chainer.Infrastructure.DLL
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Microsoft.SqlServer.Management.Controls
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Management.Controls.DLL
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Does anyone have any ideas on how to proceed?  Installing will not complete.

    Hi Balmukund!
    Thanks for your help.  I did rename both folders to a generic name (rename_folder_1 & rename_folder_2) and the install failed again.  Did I rename the folders in a correct manner?  Below is a copy of the user.config file referenced in
    your post above.  Any additional direction would be very helpful.
    Thanks!
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    allowExeDefinition="MachineToLocalUser" requirePermission="false" />
            </sectionGroup>
        </configSections>
        <userSettings>
            <Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings>
                <setting name="WindowPlacement" serializeAs="Xml">
                    <value>
                        <WINDOWPLACEMENT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                            <showCmd>3</showCmd>
                            <ptMinPosition>
                                <x>-1</x>
                                <y>-1</y>
                            </ptMinPosition>
                            <ptMaxPosition>
                                <x>-1</x>
                                <y>-1</y>
                            </ptMaxPosition>
                            <rcNormalPosition>
                                <left>0</left>
                                <top>0</top>
                                <right>800</right>
                                <bottom>600</bottom>
                            </rcNormalPosition>
                        </WINDOWPLACEMENT>
                    </value>
                </setting>
            </Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings>
        </userSettings>
    </configuration>

Maybe you are looking for