Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

environments

Status
Not open for further replies.

AndyApp

Programmer
Dec 20, 2001
259
GB
I'm a relative newcomer to .net so this may be very simple.

We're currently trying to access some objects from asp.net, we can almost do it but there is one called environment that sets up the environment, obviously, for these objects. this is where .net seems to struggle. it simply says that it doesn't have access and i should make sure that the relevant account has access to the file (dll). It does, i gave everyone full rights and even put the .net user account in admin (which destroyed my xp build).

can asp.net handle new environments? if so how do you set them up? i'm currently using:

Dim objEnvironment As PSControlProject.PSEnvironment
objEnvironment = New PSControlProject.PSEnvironment
objEnvironment.asControl(objPerson).CurrentEnvironment = objEnvironment.Environment

it's the 2nd line that it's failing on. remove it and it says its needed.

Any ideas?

"Life is like a Ferrari, it goes to fast.
But that's ok, because you can't afford it anyway" - Jim Davis (Garfield)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top