Click here to Skip to main content
16,005,316 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: passing data between open forms Pin
Christian Graus16-Oct-07 10:12
protectorChristian Graus16-Oct-07 10:12 
QuestionDot Net Remoting Pin
PJ_1234516-Oct-07 5:51
PJ_1234516-Oct-07 5:51 
AnswerRe: Dot Net Remoting Pin
Dave Kreskowiak16-Oct-07 6:14
mveDave Kreskowiak16-Oct-07 6:14 
GeneralRe: Dot Net Remoting Pin
PJ_1234516-Oct-07 20:44
PJ_1234516-Oct-07 20:44 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 2:07
mveDave Kreskowiak17-Oct-07 2:07 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 2:32
PJ_1234517-Oct-07 2:32 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:17
PJ_1234517-Oct-07 3:17 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 4:25
mveDave Kreskowiak17-Oct-07 4:25 
Under remoting, the code on the server instantiates an object using the context of the CLIENT, not the server. Your user account that your logged in under on the client machine becomes part of your context. This context is a security boundry.

In a workgroup environment, the account you're using on the client, even though it has the exact same name, is different from the account on the server. Each machine maintains it's own list of user accounts and does not trust the accounts of another machine. In a domain, the machines in it all trust the same list of user accounts.

So, in your setup, the Administrator account on your client workstation is NOT trusted by the server instantiating your remote object, thus the object can't be created. The server tries to create the object using the clients account and gets denied because the client account has no permission on the server.

So, what does the remoting config in your app.config files look like, both server AND client?? Remember to check the little box that says "Ignore HTML tags..." before you click "Post Message".


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 5:00
PJ_1234517-Oct-07 5:00 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 6:50
mveDave Kreskowiak17-Oct-07 6:50 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 21:12
PJ_1234517-Oct-07 21:12 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:34
PJ_1234517-Oct-07 3:34 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:50
PJ_1234517-Oct-07 3:50 
Question2 dimensional array ? Pin
Mr Oizo16-Oct-07 5:41
Mr Oizo16-Oct-07 5:41 
AnswerRe: 2 dimensional array ? Pin
Dave Kreskowiak16-Oct-07 5:48
mveDave Kreskowiak16-Oct-07 5:48 
GeneralRe: 2 dimensional array ? Pin
Mr Oizo16-Oct-07 5:57
Mr Oizo16-Oct-07 5:57 
QuestionVB.net 1.1 logical drives Pin
Gspro200016-Oct-07 5:26
Gspro200016-Oct-07 5:26 
AnswerRe: VB.net 1.1 logical drives Pin
Dave Kreskowiak16-Oct-07 5:43
mveDave Kreskowiak16-Oct-07 5:43 
GeneralRe: VB.net 1.1 logical drives Pin
Gspro200017-Oct-07 13:59
Gspro200017-Oct-07 13:59 
GeneralRe: VB.net 1.1 logical drives Pin
Dave Kreskowiak17-Oct-07 14:04
mveDave Kreskowiak17-Oct-07 14:04 
QuestionhOTEL MANAGEMENT SYSTEM USING VB.NET? Pin
mpisha16-Oct-07 2:56
mpisha16-Oct-07 2:56 
AnswerRe: hOTEL MANAGEMENT SYSTEM USING VB.NET? [modified] Pin
Jonathan [Darka]16-Oct-07 3:20
professionalJonathan [Darka]16-Oct-07 3:20 
GeneralRe: hOTEL MANAGEMENT SYSTEM USING VB.NET? Pin
mpisha18-Oct-07 8:24
mpisha18-Oct-07 8:24 
AnswerRe: hOTEL MANAGEMENT SYSTEM USING VB.NET? Pin
Vimalsoft(Pty) Ltd16-Oct-07 3:34
professionalVimalsoft(Pty) Ltd16-Oct-07 3:34 
GeneralRe: hOTEL MANAGEMENT SYSTEM USING VB.NET? Pin
mpisha18-Oct-07 8:33
mpisha18-Oct-07 8:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.