Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distribute App using SMO
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01509779
Message ID:
01509800
Vues:
43
>>>I created a .NET app using VS 2010 that uses SMO to do some database stuff. I have added all the references to make everything work properly on my machine. I then created a Setup project and included the output of my windows app project and it gets all the dependencies and adds all the Microsoft.SqlServer assemblies that I have referenced.
>>>
>>>When I install the app on another machine, all the dlls get installed. But as soon as I call a on my class that uses the SMO stuff, I get an File Not Found exception. It says that it cannot load my assembly because of a missing dependency. I cannot figure out what is missing.
>>>
>>>Any ideas?
>>
>>Are you including the SMO references in your setup or you are using the SMO setup as is, after the initial setup of your application? I have found the second approach better as the SMO setup will make sure to install everything properly. It is however cool to have everything in one main setup. But, you can always have a post setup procedure which will be launched from the main setup, thus including the SMO setup file as a post process.
>
>Hi Michael, what does TFR stand for in your signature ?

Not sure, sorry.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform