B?n khng th? ch?y cc gi SSIS trong ch? ? 64-bit trong SQL Server 2008 R2 ho?c SQL Server 2008

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2853715 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

Tri?u ch?ng

Gi? s? r?ng b?n t?o ra m?t gi Microsoft SQL Server tch h?p b?n ghi d?ch v? (SSIS) trong Microsoft SQL Server 2008 R2 ho?c Microsoft SQL Server 2008. Khi b?n c? g?ng ch?y cc gi ph?n m?m trong ch? ? 64-bit, b?n th?y r?ng b?n khng th? ch?y cc gi ph?n m?m. Ngoi ra, b?n c th? nh?n ?c m?t ho?c nhi?u l?i sau, nhng l?i ph? thu?c vo cc nhi?m v?, cc thnh ph?n trong gi:
  • Cc gi ph?n m?m bao g?m m?t ngu?n ADO.Net:

    L?i:tem th?i gian>
    M? s?: 0xC0047062
    Ngu?n: Data Flow Task ADO NET ngu?n [1]
    Tr? chi m t?: System.InvalidCastException: ch? ?nh di?n vin l khng h?p l?.
    t?i Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.GetSqlCommand()
    t?i Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.Validate()
    t?i Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate (IDTSManagedComponentWrapper100 wrapper)
    K?t thc l?i
  • Cc gi ph?n m?m bao g?m m?t ngu?n XML:

    [XML ngu?n [1]] L?i: "Ph?n"Ngu?n XML"(1)" thi?u b?t ?ng s?n c?n thi?t "AccessMode". Cc ?i t?ng ?c yu c?u ph?i nh ty ch?nh ? ch? ?nh.
    [SSIS.?ng ?ng d?n] l?i: "ph?n"Ngu?n XML"(1)" th?t b?i trong vi?c xc nh?n v tr? v? tram u xc nh?n "VS_ISCORRUPT".
  • Cc gi ph?n m?m bao g?m m?t nhi?m v? th g?i:

    L?i:tem th?i gian>
    M? s?: 0xC0014005
    Ngu?n:
    Tr? chi m t?: K?t n?i ki?u "SMTP" ?c ch? ?nh cho B? qu?n l ghp n?i "Qu?n l? k?t n?i SMTP" khng ?c cng nh?n nh l m?t lo?i B? qu?n l ghp n?i h?p l?. L?i ny ?c tr? l?i khi m?t n? l?c ?c th?c hi?n ? t?o ra m?t k?t n?i qu?n l? cho m?t lo?i k?t n?i khng r?. Ki?m tra chnh t? trong tn lo?i k?t n?i.
    K?t thc l?i
Lu ? Khi b?n ch?y cc gi ph?n m?m trong ch? ? 32-bit, cc gi ph?n m?m ch?y thnh cng.

Nguyn nhn

V?n ? x?y ra b?i v? b?n x? 64-bit h?nh ?nh c?a h?i Microsoft Khun kh? .NET c? th? ?c s? d?ng b?i SSIS nhi?m v? ho?c thnh ph?n tr? thnh b? h?ng. V d?:

  • ?i v?i ngu?n ADO.NET, l?p rp Khun kh? .NET l Microsoft.SqlServer.ADONETSrc.dll. V? v?y, b?n ?a h?nh Microsoft.SqlServer.ADONETSrc.ni.dll tr? thnh b? h?ng.
  • ?i v?i ngu?n XML, l?p rp Khun kh? .NET l Microsoft.SqlServer.XMLSrc.dll. V? v?y, b?n ?a h?nh Microsoft.SqlServer.XMLSrc.ni.dll tr? thnh b? h?ng.
  • ?i v?i m?t k?t n?i SMTP, l?p rp Khun kh? .NET l Microsoft.SqlServer.SendMailTask.dll. V? v?y, b?n ?a h?nh Microsoft.SqlServer.SendMailTask.ni.dll tr? thnh b? h?ng.

Gi?i php

? gi?i quy?t v?n ? ny, s? d?ng m?t trong nh?ng phng php sau y:

  • Phng php 1

    G? b? h?i ?ng b?n ?a, v sau ci ?t chuyn bi?t l?i h?i ?ng b?n x? b?ng cch s? d?ng NGEN b? ch? huy.

    ? g? b? v ci ?t chuyn bi?t l?i h?nh ?nh l?p rp b?n x? Microsoft.SqlServer.ADONETSrc.dll, h?y lm theo cc b?c sau:
    1. G? ci ?t chuyn bi?t h?nh ?nh b?n ?a h?i b?ng cch s? d?ng m?t l?nh gi?ng nh sau:
      ngen uninstall "Microsoft.SqlServer.ADONETSrc, Version=10.0.0.0"
    2. Hi?n th? thng tin h?nh ?nh b?n ?a h?i ? xc nh?n r?ng h?nh ?nh ngu?n g?c khng t?n t?i:
      ngen display "Microsoft.SqlServer.ADONETSrc, Version=10.0.0.0"
    3. ci ?t chuyn bi?t h?nh ?nh b?n ?a h?i b?ng cch s? d?ng m?t l?nh gi?ng nh sau:
      ngen install "Microsoft.SqlServer.ADONETSrc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
    4. Hi?n th? thng tin b?n ?a h?nh ?nh ? xc nh?n r?ng h?nh ?nh ngu?n g?c ?c ci ?t:
      ngen display "Microsoft.SqlServer.ADONETSrc, Version=10.0.0.0"
  • Phng php 2
    ci ?t chuyn bi?t l?i SQL my ch? b?n ghi d?ch v? tch h?p trn my tnh m trn cc l?i x?y ra.

Thng tin thm

? bi?t thm chi ti?t v? Khun kh? .NET h?i b?n ?a h?nh, i ?n blog website sau c?a Microsoft Developer Network (MSDN):
Gi?i thi?u c?a Khun kh? .NET h?i b?n ?a h?nh ?nh t?i

? bi?t thm chi ti?t v? my pht i?n h?nh ?nh ngu?n g?c (Ngen.exe), h?y vo web site MSDN sau y:
Ngu?n g?c h?nh ?nh my pht i?n (Ngen.exe)
Lu ?NGEN.exe l m?t ph?n c?a Microsoft Visual Studio cng c? l?nh. B?n c ? l?a ch?n n?n t?ng ng. V d?, b?n ph?i ch?n m?t n?n t?ng 64-bit ho?c 32-bit. Trn my tnh m b?n khng c Visual Studio ci ?t chuyn bi?t, b?n c th? sao chp cc t?p tin Ngen.exe thch h?p t? m?t my tnh pht tri?n m trn b?n c Visual Studio ?c ci ?t chuyn bi?t. Ho?c, b?n c th? ci ?t chuyn bi?t Ngen.exe b?ng cch s? d?ngWindows SDK.

T?nh tr?ng

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

Thu?c tnh

ID c?a bi: 2853715 - L?n xem xt sau cng: 07 Thang Sau 2013 - Xem xt l?i: 1.0
p d?ng
  • Microsoft SQL Server 2008 Integration Services
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 R2 Integration Services
  • Microsoft SQL Server 2008 R2 Standard
T? kha:
kbsurveynew kbtshoot kbexpertiseadvanced kbmt KB2853715 KbMtvi
My d?ch
QUAN TRONG: Bai vit nay c d?ch b?ng phn mm dich thu?t cua Microsoft va co th c Cng ng Microsoft chinh sa l?i thng qua cng ngh CTF thay vi mt bin dich vin chuyn nghip. Microsoft cung c?p cc bi vi?t ?c c? bin d?ch vin v ph?n m?m d?ch thu?t th?c hi?n v c?ng ?ng ch?nh s?a l?i ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng nhi?u ngn ng? Tuy nhin, bi vi?t do my d?ch hoc thm chi cng ng chinh sa sau khng ph?i lc no c?ng hon h?o. Cc bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny: 2853715

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com