C# - Trying to add a reference (via browse)

First - I am not programmer.  

See image.  But I am trying to add a reference from the GAC (Microsoft.Office.Interop.Excel).   I can find what I want, select it, but I can't add the reference.  When I double click the file, nothing happens.

Not sure what I'm doing wrong.  

Also, this is being done within SSIS, but I wouldn't think that part matters too much.
Capture.PNG
trick259Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
To add the reference click the 'OK' button.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
trick259Author Commented:
Gives me a "File name is not valid" error
trick259Author Commented:
I know this is probably stupid on my end.

But when I select the file, it doesn't add the name the "File Name:" box.  When I hit enter, still nothing happens.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

AndyAinscowFreelance programmer / ConsultantCommented:
(You might want to close VS, then make a copy of your solution, and then re-open the solution)
Can you add any references such as Access via the browse dialog?  Or what happens if you change the selection from Excel to access then back to Excel - does the file name appear in the textbox?
AndyAinscowFreelance programmer / ConsultantCommented:
>>I know this is probably stupid on my end.

No, it's probably an unexpected hem hem feature you are experiencing.
trick259Author Commented:
I apologize.  I have to switch gears for a few hours.  I'll come back to this shortly.

Thanks, man, for your help.  I'll try shortly.
Daniel Van Der WerkenIndependent ConsultantCommented:
Off the cuff, my guess is that the actual assembly you're referencing was removed but it is still showing up in the global assembly cache as available.

If it were me, I would go to the MS MSDN site and re-download the Office PIA's for the version of Office you're interested in and reinstall them.

Here is the link to the Office 2010 Primary Interop Assemblies (PIAs):
http://www.microsoft.com/en-us/download/details.aspx?id=3508
Rainer JeschorCommented:
Hi,
which SQL Server / SSIS Version and which BIDS/SSDT environment?
What is the OS where you run the SSIS Visual Studio?

From the screenshot it looks like BIDS 2008 ...
Thanks.
Rainer
trick259Author Commented:
that worked after a reboot.  No clue.

sorry for the delay.  I had to go out of town unexpectedly.
AndyAinscowFreelance programmer / ConsultantCommented:
No problems.  A reboot is a very useful method that does solve some tricky and unusual problems.  (It will clear memory for instance).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.