Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 28th, 2003, 12:46 AM
Registered User
 
Join Date: Jun 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default File or assemly name not found

I'm getting an error when running ThePhile on my local XP machine. The file comes from the Poll classes:

File or assembly name xrtceeqh.dll, or one of its dependencies, was not found.

If I hit refresh, the dll name changes each time. I built the solution with VS.net before running it. Anyone know what I'm doing wrong?
 
Old July 11th, 2003, 04:27 AM
Registered User
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I'm having exactly the same problem! Did you manage to figure out what was going on?
 
Old July 11th, 2003, 01:13 PM
Registered User
 
Join Date: Jul 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am also having the same problem. I am running .net 1.1 on XP Pro.

 
Old July 11th, 2003, 05:13 PM
Registered User
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Guys, you're gonna love me...I've found the fix. What you need to do is find the machine.config file - do a search in your Windows directory. Look for the line which starts:

<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"...

Find the username="machine" attribute and change it to username="SYSTEM". This forces the ASP.NET process to use the system account with higher security settings. You may have to review this, but it's certainly the quickest way to get it done. (Cue maniacal laughter...ha ha ha ha - and soon I will take over the .NET programming world.)

Oh, and don't forget to reboot your machine.

Enjoy :D
 
Old July 20th, 2003, 07:29 PM
Registered User
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey PaulVipond, I'm sorry to burst your bubble, but to "take over the .NET programming world" you need a little bit more than "finding" a fix that's spelled out in detail in the index.htm file that comes with the code download:
...
7. Open Machine.Config (by default in C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG) in a text editor, find the <processModel> section, and set the userName attribute to "SYSTEM". This is required to enable event logging in ASP.NET Applications -- which we use in our custom error handling.

8. Reboot the computer. This will enable the change to Machine.Config to take effect
...

Better luck next time....

 
Old August 20th, 2004, 10:13 AM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can also check the App Pool in iis6 to make sure it uses the local system as well!

 
Old August 20th, 2004, 03:26 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I hope you don't plan on deploying your applications this way. This is a huge security risk, as I recently explained in another posting here.

Hmmm...let me give admin privs to every person who visits my site. Why not?

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
VB2005 Assemly and strong name help h3x09 Pro Visual Basic 2005 0 June 23rd, 2008 04:39 PM
File or assembly name not found cbath ASP.NET 1.0 and 1.1 Basics 1 July 12th, 2006 08:43 AM
"File Not Found" rduncan1 Excel VBA 2 March 7th, 2006 12:17 AM
file not found Tere Crystal Reports 0 February 10th, 2004 12:43 PM
File not found hosefo81 BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 October 22nd, 2003 10:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.