Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Problem in loading assembly in Windows 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pradeep - 23 Feb 2005 04:55 GMT
Hi,

We devised smart client technology in our application.
We used web service to download a assembly which is there
in system32 folder of web server using "System.Reflection"

 MyAssembly = [Assembly].LoadFrom("AsmSACM.dll")

Application has been successfully deployed in windows 2000
Server. But now when we tried to deploy it in Windows 2003
it is giving following error:

'Related Database Assembly AsmSACM.dll can not be found.'

Please help me out..

TIA

Pradeep
Keenan Newton - 23 Feb 2005 19:42 GMT
Well it seems like .Net is unable to finsd the assembly in the system32
folder on windows 2003, right?  Try this:

MyAssembly = [Assembly].LoadFrom(System.Environment.SystemDirectory &
"\AsmSACM.dll")
Pradeep - 24 Feb 2005 05:45 GMT
Hi

Thanks, it really works!!!!!

Pradeep
>-----Original Message-----
>Well it seems like .Net is unable to finsd the assembly in the system32
[quoted text clipped - 4 lines]
>
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.