Visual Studio / SSIS - Import and Export Wizard problem

Szymon Kocejko 21 Reputation points
2022-12-05T14:55:43.617+00:00

Hi Guys,

So when I am trying to open up Import and Export Wizard from SSIS Visual Studio project I encounter the following error:

===================================

Object of type 'Microsoft.SqlServer.Management.UI.WizardInputs' cannot be converted to type 'Microsoft.SqlServer.Management.UI.WizardInputs&'. (Microsoft Visual Studio)

------------------------------

Program Location:

at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.DataTransformationServices.Wizards.RunDtsWizardTask.RunImportWizard(IWin32Window parentWindow, WizardInputs importWizardInputs)
at Microsoft.DataTransformationServices.Wizards.RunDtsWizardTask.Execute(WizardInputs wizardInputs)

"

Searched the internet but can't really find anything. Import and Export Wizard works on my computer when run directly or from SSMS.

267322-image.png

267298-image.png

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,697 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,452 questions
0 comments No comments
{count} votes

Accepted answer
  1. YufeiShao-msft 7,056 Reputation points
    2022-12-06T09:33:23.743+00:00

    Hi @Szymon Kocejko ,

    If you can try to reinstall SSDT, and provide more error log to find the more user information?

    Please make sure you have used the latest version of the VS

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Szymon Kocejko 21 Reputation points
    2022-12-06T13:48:25.487+00:00

    Surprisingly it worked. Thanks :)

    0 comments No comments