473,667 Members | 2,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Dear all,

I have run the same web application in my Windows XP Pro without any problem
but once I deploy it in Windows 2003 Server the message below appear:

The system cannot find the file specified. (Exception from HRESULT:
0x80070002)

I checked all the files I need in those paths and nothing is missing in
fact. Anyone can help?

Regards,
chanmm
Nov 24 '05 #1
6 27851
chanmm wrote:
Dear all,

I have run the same web application in my Windows XP Pro without any problem
but once I deploy it in Windows 2003 Server the message below appear:

The system cannot find the file specified. (Exception from HRESULT:
0x80070002)

I checked all the files I need in those paths and nothing is missing in
fact. Anyone can help?

Regards,
chanmm


Well, without more information it's going to be difficult for us to
tell you anything about this, other than that the error is a warning,
from the WIN32 facility, and that the file was not found. To discover
more, we're going to need more context - is this happening when the
application first starts up, when the first page loads, when a
particular page loads, when a particular button is pressed?

Damien

Nov 24 '05 #2
When I click the button. The button supposed to update a MS Access database
but I have check all the file paths, NTFS permissions the most important
thing is this application running 100% fine in my Windows XP with IIS 5 and
ASP.NET 2.0. Except my server is IIS 6. I really hope someone has hit the
same problem as I didand solved it before.
"Damien" <Da************ *******@hotmail .com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
chanmm wrote:
Dear all,

I have run the same web application in my Windows XP Pro without any
problem
but once I deploy it in Windows 2003 Server the message below appear:

The system cannot find the file specified. (Exception from HRESULT:
0x80070002)

I checked all the files I need in those paths and nothing is missing in
fact. Anyone can help?

Regards,
chanmm


Well, without more information it's going to be difficult for us to
tell you anything about this, other than that the error is a warning,
from the WIN32 facility, and that the file was not found. To discover
more, we're going to need more context - is this happening when the
application first starts up, when the first page loads, when a
particular page loads, when a particular button is pressed?

Damien

Nov 24 '05 #3
"chanmm" <ch****@tm.net. my> wrote in message
news:uM******** ******@TK2MSFTN GP09.phx.gbl...
but I have check all the file paths,
Are you sure? Have you tried putting a File.Exists() in the code to make
sure that ASP.NET thinks the Access database is where you think it is...?

Also, are you sure that the "File not found" message actually relates to the
Access database, and not to some other file that your code uses? Without
seeing your code (as you've already been told) it's almost impossible to
help you...
NTFS permissions
Remember - the Jet engine will try to create a locking file (*.ldb) in the
same folder as your Access database - are you sure that the account that
your website is running under has sufficient permissions to do this?
the most important thing is this application running 100% fine in my
Windows XP with IIS 5 and ASP.NET 2.0.


Ah yes, but aren't you a local admin on your development box...?
Nov 24 '05 #4

Mark Rae wrote:
"chanmm" <ch****@tm.net. my> wrote in message
news:uM******** ******@TK2MSFTN GP09.phx.gbl...
but I have check all the file paths,


Are you sure? Have you tried putting a File.Exists() in the code to make
sure that ASP.NET thinks the Access database is where you think it is...?

Also, are you sure that the "File not found" message actually relates to the
Access database, and not to some other file that your code uses? Without
seeing your code (as you've already been told) it's almost impossible to
help you...
NTFS permissions


Remember - the Jet engine will try to create a locking file (*.ldb) in the
same folder as your Access database - are you sure that the account that
your website is running under has sufficient permissions to do this?
the most important thing is this application running 100% fine in my
Windows XP with IIS 5 and ASP.NET 2.0.


Ah yes, but aren't you a local admin on your development box...?


It shouldn't be permissions - I think you get a different error number.
Could be an issue around Jet though - what MDACs are installed on the
two boxes?

Damien

Nov 24 '05 #5
Sorry I miss out this one:

[FileNotFoundExc eption: Could not load file or assembly
'System.Enterpr iseServices.Wra pper.dll' or one of its dependencies. The
system cannot find the file specified.]

Anyone has any idea?

Regards,
chanmm

"chanmm" <ch****@tm.net. my> wrote in message
news:uM******** ******@TK2MSFTN GP09.phx.gbl...
When I click the button. The button supposed to update a MS Access
database but I have check all the file paths, NTFS permissions the most
important thing is this application running 100% fine in my Windows XP
with IIS 5 and ASP.NET 2.0. Except my server is IIS 6. I really hope
someone has hit the same problem as I didand solved it before.
"Damien" <Da************ *******@hotmail .com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
chanmm wrote:
Dear all,

I have run the same web application in my Windows XP Pro without any
problem
but once I deploy it in Windows 2003 Server the message below appear:

The system cannot find the file specified. (Exception from HRESULT:
0x80070002)

I checked all the files I need in those paths and nothing is missing in
fact. Anyone can help?

Regards,
chanmm


Well, without more information it's going to be difficult for us to
tell you anything about this, other than that the error is a warning,
from the WIN32 facility, and that the file was not found. To discover
more, we're going to need more context - is this happening when the
application first starts up, when the first page loads, when a
particular page loads, when a particular button is pressed?

Damien


Nov 25 '05 #6
chanmm wrote:
Sorry I miss out this one:

[FileNotFoundExc eption: Could not load file or assembly
'System.Enterpr iseServices.Wra pper.dll' or one of its dependencies. The
system cannot find the file specified.]

Anyone has any idea?

Regards,
chanmm

Hi,

I'm not too familiar with Enterprise Services. I can find a few
references online to people finding this file missing, but cannot seem
to find any resolutions (although quite a few suggestions of uninstall
and reinstall .NET framework 2.0). As a side thought, has the 2003
server had any of the 2.0 betas installed, and what is it now running?

Can you try the following: open a command prompt and navigate to
%windir%\assemb ly\GAC_32\Syste m.EnterpriseSer vices\\2.0.0.0_ _b03f5f7f11d50a 3a

Do a dir. There should be two files there
(System.Enterpr iseServices.dll and the .Wrapper.dll). If there are,
then lets check the version. Copy the .Wrapper.dll to the root of C (or
somewhere else accessable to explorer) and bring up the properties.
Here on my 2000 box, the version is 2.0.50727.42, and I don't believe
that this should be different on 2K3, but I'm prepared to be very
wrong. If the files aren't there, then your Framework 2.0 install is
almost certainly bad, so a reinstall is indicated.

Hope this helps, but to be honest I'm grasping in the dark here.

Damien

Nov 25 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1210
by: michael_hk | last post by:
Hi, I am learning .NET remoting and following the tutorial http://www.csharphelp.com/archives2/archive460.html Everything works fine. Now I want to modify it a bit for my personal use but I failed :o
0
5801
by: srikanth | last post by:
Failed to execute request because the App-Domain could not be created. Error: 0x80070002 The system cannot find the file specified. I am getting this error (in the event log) when trying to create a new projcet "ASP.NET WebApplication" or when trying to access the .aspx file which is in the wwwroot folder. I have installed IIS, then installed Visual Studio 2003, and then ran the aspnet_regiis /i command. Given full permissions to...
0
3103
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null );
13
4994
by: Brad | last post by:
I will also post this in the CR group but because I program in VB maybe somebody here might be able to help. I am working on a new project that incorporates a few forms. I just created my first form and I am assigning a variable to it here: Dim anrpt As New ArmbandNumbers When this line executes I get the error that "The System cannot find the file specified." and highlights MyBase.New in the report's vb language.
3
23620
by: Yusuff | last post by:
Hi, I Have created an external assembly to generate a GUID. The class is static. I am trying to access it in the Message Assignment shape in the orchestration. It seems that I can access the assembly at design time. Since I can see the method when I add a dot next to the class. But after I have deployed my orchestation, it throws up an event log error as shown below:
1
1845
by: hypermommy | last post by:
Hi all, I have a problem that's got me just stumped. On my local machine (WinXPPro) my application runs just fine. But on the client's server (Win2003ServerStandard) when I try to pull up my default.aspx or login.aspx page, I get no error message but simply a plain white page that says "The system could not find the file specified". I don't believe this is related to my code since it runs fine on my machine. But then again, the...
1
3088
by: bharathreddy | last post by:
Hai, In general why do we get the "This system cannot find the file specified". exception eventhough all the files used in the C# application are present. Here in my application I am refering to a dll, I am trying to call a function exposed by this dll. Here at this statement I am getting this "This system cannot find the file specified" HRESULT 0x80070002 exception. Can any one help me in this regard. Thanks & Regs Bharath Reddy...
1
3709
by: Seriph | last post by:
Hey I just installed Textpad ver 4.something and writen up a simple println program, but I cant compile it. I keep getting the message "cannot find the file specified" with C:WINDOWS\systems32\javac.exe as the title. I know that its a directional problem but i dont know where to change the settings. I know whoever is answering this is probebly tired of helping noobs out with this question all the time so sorry in advance for the trouble.
2
3185
by: Gilles Ganault | last post by:
Hello I'm trying to use urllib to download web pages with the GET method, but Python 2.5.1 on Windows turns the URL into something funny: ======== url = "amazon.fr/search/index.php?url=search"
0
8457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8788
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8563
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8646
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7390
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6203
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1778
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.