473,320 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Win2003 won't run my application

I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch
Jul 21 '05 #1
13 1940
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com...
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch

Jul 21 '05 #2
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com...
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch

Jul 21 '05 #3
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com.. .
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch


Jul 21 '05 #4
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com.. .
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch


Jul 21 '05 #5
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com...
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com. ..
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch

Jul 21 '05 #6
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com...
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com. ..
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch

Jul 21 '05 #7
All my tools (5 or 6 winform exes) run fine.

It's just my main app that crashes. I don't think it has anything to
do with the splash screen. It just displays a logo and a few labels.

My tools have more complex forms with 3rd party grids etc and they
work fine. Also sql server access works fine

I have set full control on all files on my drive and all the keys in
the registry (HKLM) for this user, no change.

I'll try and put a MsgBox() as the first line in my code and see what
happens.

Tosch
On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com.. .
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com ...
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch


Jul 21 '05 #8
All my tools (5 or 6 winform exes) run fine.

It's just my main app that crashes. I don't think it has anything to
do with the splash screen. It just displays a logo and a few labels.

My tools have more complex forms with 3rd party grids etc and they
work fine. Also sql server access works fine

I have set full control on all files on my drive and all the keys in
the registry (HKLM) for this user, no change.

I'll try and put a MsgBox() as the first line in my code and see what
happens.

Tosch
On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com.. .
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com ...
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch


Jul 21 '05 #9
Willy,

it turns out my application starts 'ok' but one of the first things I
do is to check if the same application already runs.

The line: p =
Diagnostics.Process.GetProcessesByName(Diagnostics .Process.GetCurrentProcess.ProcessName)

is where my application crashes, no Try/Catch help in this case.

I have now added a commandline option to bypass this check since I
could not find out what is causing this line to crash.
Any ideas?

Tosch

On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com.. .
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
W2K comes with .NET v1.1 preinstalled, your application is build for .NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.com ...
I have a Win2003 server where I installed my VB.NET application, built
with VS.NET 2002.

My main application crashes before the first line of my code is
executed with this error: "Memory at location ... could not be read."

All my additional tools that I built for my application work fine.

When I log on as administrator everything works fine but as soon as I
log on with a normal user account the crash occurs. This looks like a
permission issue but which permission?
Does anyone have an idea why this is happening.?

Tosch


Jul 21 '05 #10
Sure, don't use this hack to check if another instance is running, it breaks
on TS as you noticed.
Use a (Global) named mutex to prevent running multiple instances.

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:q3********************************@4ax.com...
Willy,

it turns out my application starts 'ok' but one of the first things I
do is to check if the same application already runs.

The line: p =
Diagnostics.Process.GetProcessesByName(Diagnostics .Process.GetCurrentProcess.ProcessName)

is where my application crashes, no Try/Catch help in this case.

I have now added a commandline option to bypass this check since I
could not find out what is causing this line to crash.
Any ideas?

Tosch

On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com. ..
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:

W2K comes with .NET v1.1 preinstalled, your application is build for
.NET
v1.0. Did you tested your application on v1.1 before deploying?

Willy.
"Tosch" <to**********@swissonline.ch> wrote in message
news:k8********************************@4ax.co m...
>I have a Win2003 server where I installed my VB.NET application, built
> with VS.NET 2002.
>
> My main application crashes before the first line of my code is
> executed with this error: "Memory at location ... could not be read."
>
> All my additional tools that I built for my application work fine.
>
> When I log on as administrator everything works fine but as soon as I
> log on with a normal user account the crash occurs. This looks like a
> permission issue but which permission?
>
>
> Does anyone have an idea why this is happening.?
>
> Tosch

Jul 21 '05 #11
But I have the same code installed in about 70 client sites and it has
always worked fine even on Win2000 Terminal Server installations.

Tosch

On Tue, 4 May 2004 14:55:18 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
Sure, don't use this hack to check if another instance is running, it breaks
on TS as you noticed.
Use a (Global) named mutex to prevent running multiple instances.

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:q3********************************@4ax.com.. .
Willy,

it turns out my application starts 'ok' but one of the first things I
do is to check if the same application already runs.

The line: p =
Diagnostics.Process.GetProcessesByName(Diagnostics .Process.GetCurrentProcess.ProcessName)

is where my application crashes, no Try/Catch help in this case.

I have now added a commandline option to bypass this check since I
could not find out what is causing this line to crash.
Any ideas?

Tosch

On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.com ...
Willy,
yes I did that a while ago. My application doesn't even come as far as
displaying my splash screen.

Tosch
On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:

>W2K comes with .NET v1.1 preinstalled, your application is build for
>.NET
>v1.0. Did you tested your application on v1.1 before deploying?
>
>Willy.
>"Tosch" <to**********@swissonline.ch> wrote in message
>news:k8********************************@4ax.c om...
>>I have a Win2003 server where I installed my VB.NET application, built
>> with VS.NET 2002.
>>
>> My main application crashes before the first line of my code is
>> executed with this error: "Memory at location ... could not be read."
>>
>> All my additional tools that I built for my application work fine.
>>
>> When I log on as administrator everything works fine but as soon as I
>> log on with a normal user account the crash occurs. This looks like a
>> permission issue but which permission?
>>
>>
>> Does anyone have an idea why this is happening.?
>>
>> Tosch
>


Jul 21 '05 #12
I would look at the local security policy and focus on items where
Administrator rights differ from the user you are trying to run this as.
Try to give the user "Debug Programs" rights.
Jul 21 '05 #13
Not sure why this fails for you. IMO No special privileges are required by
this...
Diagnostics.Process.GetProcessesByName(Diagnostics .Process.GetCurrentProcess().ProcessName)
It works for me from a Terminal session on W2K3.
Some API's in the System.Diagnostics namespace require seDebugPrivileges,
only administrators have this privilege (however, on W2K3 and W2K this
privileges was revoked by applying ms03-43), therefore it is advisable to
use a global mutex instead of searching for the name of a running program.

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:71********************************@4ax.com...
But I have the same code installed in about 70 client sites and it has
always worked fine even on Win2000 Terminal Server installations.

Tosch

On Tue, 4 May 2004 14:55:18 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:
Sure, don't use this hack to check if another instance is running, it
breaks
on TS as you noticed.
Use a (Global) named mutex to prevent running multiple instances.

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:q3********************************@4ax.com. ..
Willy,

it turns out my application starts 'ok' but one of the first things I
do is to check if the same application already runs.

The line: p =
Diagnostics.Process.GetProcessesByName(Diagnostics .Process.GetCurrentProcess.ProcessName)

is where my application crashes, no Try/Catch help in this case.

I have now added a commandline option to bypass this check since I
could not find out what is causing this line to crash.
Any ideas?

Tosch

On Mon, 3 May 2004 19:37:31 +0200, "Willy Denoyette [MVP]"
<wi*************@pandora.be> wrote:

How about a simple windows forms application with an empty form?
Did you try to remove the splash screen?

Willy.

"Tosch" <to**********@swissonline.ch> wrote in message
news:dp********************************@4ax.co m...
> Willy,
> yes I did that a while ago. My application doesn't even come as far as
> displaying my splash screen.
>
> Tosch
>
>
> On Mon, 3 May 2004 13:43:47 +0200, "Willy Denoyette [MVP]"
> <wi*************@pandora.be> wrote:
>
>>W2K comes with .NET v1.1 preinstalled, your application is build for
>>.NET
>>v1.0. Did you tested your application on v1.1 before deploying?
>>
>>Willy.
>>"Tosch" <to**********@swissonline.ch> wrote in message
>>news:k8********************************@4ax. com...
>>>I have a Win2003 server where I installed my VB.NET application,
>>>built
>>> with VS.NET 2002.
>>>
>>> My main application crashes before the first line of my code is
>>> executed with this error: "Memory at location ... could not be
>>> read."
>>>
>>> All my additional tools that I built for my application work fine.
>>>
>>> When I log on as administrator everything works fine but as soon as
>>> I
>>> log on with a normal user account the crash occurs. This looks like
>>> a
>>> permission issue but which permission?
>>>
>>>
>>> Does anyone have an idea why this is happening.?
>>>
>>> Tosch
>>
>

Jul 21 '05 #14

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

Similar topics

0
by: Joe | last post by:
When we run our application under win2003 it requires us to register all serviced components. The web application gets an exception either on the registry our on IComCatalog save changes when we...
2
by: Belinda | last post by:
I am trying to setup a COM+ application that runs some ASP applications. The application vendor is telling me on my Win2003 server that COM+ and ASP as not been properly setup. Can any of you...
0
by: Johanna | last post by:
Hello, Thread was being aborted exception is thrown by my asp.net application. I hope someone could help me with this error that I get in windows 2003 server. This error has not occured with...
3
by: Johanna | last post by:
Hello, Thread was being aborted exception is thrown by IIS for my asp.net application on win2003 server. This error has not yet occured with the same asp.net application on windows 2000...
1
by: Jody Gelowitz | last post by:
We are having an issue in that when trying to read a file that is on Server2 from Server1 (through our ASP.NET project), we receive the error: Access to the path "\\Server2\MyShare\MyFile.tif" is...
9
by: Tosch | last post by:
I have a Win2003 server where I installed my VB.NET application, built with VS.NET 2002. My main application crashes before the first line of my code is executed with this error: "Memory at...
0
by: ee_stevek | last post by:
hi guys, here is my problem: i have to maintain a web vb.net application developped some times ago. The application was developped on Windows2000 SP3 with Visual Studio 2003 (7.1). and the...
2
by: Don Rich | last post by:
Please share with me any ideas you may have for troubleshooting and resolving the subject problem. I can give more details as necessary. (Please advise if I should post this problem to a more...
1
Carrugar
by: Carrugar | last post by:
I'm having a major problem with an ASP application. Our ASP code has been migrated from NT4 (IIS4.0) to a Win2003 (IIS6.0) server. However, there seems to be a problem with the VB scripts. Whenever a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.