472,799 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,799 software developers and data experts.

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 27749
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.googlegr oups.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**************@TK2MSFTNGP09.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**************@TK2MSFTNGP09.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:

[FileNotFoundException: Could not load file or assembly
'System.EnterpriseServices.Wrapper.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**************@TK2MSFTNGP09.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.googlegr oups.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:

[FileNotFoundException: Could not load file or assembly
'System.EnterpriseServices.Wrapper.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%\assembly\GAC_32\System.EnterpriseServices \\2.0.0.0__b03f5f7f11d50a3a

Do a dir. There should be two files there
(System.EnterpriseServices.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
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...
0
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...
0
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 =...
13
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...
3
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...
1
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...
1
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...
1
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...
2
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"
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.