HighTechTalks DotNet Forums  

Program crashes when running accross network, but fine when on pc

Dotnet Security microsoft.public.dotnet.security


Discuss Program crashes when running accross network, but fine when on pc in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Camper Joe
 
Posts: n/a

Default Program crashes when running accross network, but fine when on pc - 02-26-2007 , 10:25 AM






Hi

Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.

It seem to happen when we use ADO.Net

Any ideas?

Thanks

Reply With Quote
  #2  
Old   
Mark Peters
 
Posts: n/a

Default Re: Program crashes when running accross network, but fine when on pc - 02-28-2007 , 09:06 AM






Is Ado.NET installed on the remote PC?

Mark

"Camper Joe" <CamperJoe (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi

Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.

It seem to happen when we use ADO.Net

Any ideas?

Thanks



Reply With Quote
  #3  
Old   
Camper Joe
 
Posts: n/a

Default Re: Program crashes when running accross network, but fine when on - 02-28-2007 , 09:40 AM



Hi Mark

Yes it is. We tried it with a normal PC that has the DotNet Framework, and I
even tried it on a pc with Visual Studio 2005 installed. Same thing.

Cheers

Paul.

"Mark Peters" wrote:

Quote:
Is Ado.NET installed on the remote PC?

Mark

"Camper Joe" <CamperJoe (AT) discussions (DOT) microsoft.com> wrote in message
news:6F60A207-68C8-42E7-A6DB-E74763B074DC (AT) microsoft (DOT) com...
Hi

Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.

It seem to happen when we use ADO.Net

Any ideas?

Thanks




Reply With Quote
  #4  
Old   
Dominick Baier
 
Posts: n/a

Default Re: Program crashes when running accross network, but fine when on - 02-28-2007 , 04:00 PM



Google for CAS (Code Access Security) - which is the native security model
of the CLR (and its purpose is to constrain code that is not coming from
the local machine) - that's most probably the cause of the behavior you are
seeing.


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Quote:
Hi Mark

Yes it is. We tried it with a normal PC that has the DotNet Framework,
and I even tried it on a pc with Visual Studio 2005 installed. Same
thing.

Cheers

Paul.

"Mark Peters" wrote:

Is Ado.NET installed on the remote PC?

Mark

"Camper Joe" <CamperJoe (AT) discussions (DOT) microsoft.com> wrote in message
news:6F60A207-68C8-42E7-A6DB-E74763B074DC (AT) microsoft (DOT) com...

Hi

Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.
It seem to happen when we use ADO.Net

Any ideas?

Thanks




Reply With Quote
  #5  
Old   
Camper Joe
 
Posts: n/a

Default Re: Program crashes when running accross network, but fine when on - 03-01-2007 , 03:01 AM



Hi

Thanks. That was the problem

Cheers

Paul.

"Dominick Baier" wrote:

Quote:
Google for CAS (Code Access Security) - which is the native security model
of the CLR (and its purpose is to constrain code that is not coming from
the local machine) - that's most probably the cause of the behavior you are
seeing.


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Hi Mark

Yes it is. We tried it with a normal PC that has the DotNet Framework,
and I even tried it on a pc with Visual Studio 2005 installed. Same
thing.

Cheers

Paul.

"Mark Peters" wrote:

Is Ado.NET installed on the remote PC?

Mark

"Camper Joe" <CamperJoe (AT) discussions (DOT) microsoft.com> wrote in message
news:6F60A207-68C8-42E7-A6DB-E74763B074DC (AT) microsoft (DOT) com...

Hi

Our application crashes when running it from a remote pc
(\\server\app\app.exe),
but when I run it from my pc (c:\app\app.exe) it is fine.
It seem to happen when we use ADO.Net

Any ideas?

Thanks





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.