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 / .NET Framework / Component Services / October 2004

Tip: Looking for answers? Try searching our database.

FileNotFoundException when instanciating component in COM+

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonas - 18 Oct 2004 10:19 GMT
Hi!

I have an ASPNET application using VB.NET components in COM+. This worked
just fine in my old installation, a WinXP SP1. I'm now trying to get this to
run in my new installation, a WinXP SP2, and then I get the following error
when trying to instanciate a component

------------------------------------
Dim objFunctions As New biz.Fncs

==>

[System.IO.FileNotFoundException]: {System.IO.FileNotFoundException}

HelpLink: Nothing

InnerException: Nothing

Message: "The system cannot find the file specified."

Source: "mscorlib"

StackTrace: " at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode,
IntPtr errorInfo)
------------------------------------

The code is exactly the same as in the old installation, and I've set up the
web application in the same way. I found some reports stating that the
hotfix from KB828741 could mess up COM+ applications, and apparently this
hotfix is included in SP2. I've run FileMon & RegMon to find out if any
permissions need to be changed, but haven't found anything.

Any tips??

/Jonas
Jonas - 19 Oct 2004 07:39 GMT
Hi!

I found the problem. When I set up my new machine, I lost all the
permissions on the web application folder, and that the user account running
the COM+ application didn't have permission to access the assembly files in
my webapp\bin-folder ... My bad :-<

/Jonas

> Hi!
>
[quoted text clipped - 32 lines]
>
> /Jonas

Rate this thread:







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.