Windows application on a server

Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2007
Posts: 5
Reputation: inoxmum is an unknown quantity at this point 
Solved Threads: 1
inoxmum inoxmum is offline Offline
Newbie Poster

Windows application on a server

 
0
  #1
Aug 11th, 2008
Can someone plz help me with this.
Its urgent.

Scenario:
I have developed my application using C# and .NET class libraries.
My application consists of two custom dlls and a .mdb file.
Total four files including an exe file.

These all work fine when run on a local machine.

But when one of my clients tried to put this application on their organisations server,
it failed to run.

If we put it into a shared folder then it works, but stand-alone on server it doesn't.

please help me with this, any prompt solution?????
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1
Reputation: SeyedHani is an unknown quantity at this point 
Solved Threads: 0
SeyedHani SeyedHani is offline Offline
Newbie Poster

Re: Windows application on a server

 
0
  #2
Aug 11th, 2008
Hi,
Can you tell us what the Error shows when it runs stand-alone on server ?
perhaps Security problem to access mdb or DLLs,
Do your application needs to create a temp file or access to somewhere in System ?
Last edited by SeyedHani; Aug 11th, 2008 at 12:36 pm.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 39
Reputation: nvmobius is an unknown quantity at this point 
Solved Threads: 4
nvmobius nvmobius is offline Offline
Light Poster

Re: Windows application on a server

 
0
  #3
Aug 11th, 2008
My guess:

Windows Server uses much better security modeling than Winows XP does. You really should develop on Windows Vista with UAC turned on (make sure you never trip the UAC dialog with your code!). Most likely you need to fix the NTFS permissions your files have so that they can run correctly.

OR

You're running the server application as a service, in which case you either forgot or didn't realize that the System.Environment variables cannot be trusted when running as a service because services are by the OS and not a user. This means you cannot access files with a root anchored path and you have to make sure all security setting are set so that Local Service has access.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 613 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC