|
-
May 10th, 2001, 07:20 AM
#1
Thread Starter
Junior Member
VB DLL x Visual Interdev
I'm trying to execute a VB DLL under Visual Interdev using VB Script. I have a code like this:
Dim objUsuario
Set objUsuario = CreateObject("XXX.User")
I've used the same code under VB and there's no problem. But when I try to use it over Visual Interdev I got the message:
<Permission denied: 'CreateObject'>
On VB I have to set the reference to the Object ("Project, References"); should I do the same for VI?
Why do I receive this message? Should I set some special kind of permission?
Thanks.
-
May 10th, 2001, 08:22 AM
#2
-
May 10th, 2001, 08:27 AM
#3
-
May 10th, 2001, 12:13 PM
#4
Thread Starter
Junior Member
I put <Server> before <CreateObject> but It still doesn't work... Now I get this error message:
<The call to Server.CreateObject failed while checking permissions. Access is denied to this object>
Does anybody know what is happening? It worked well under NT, but now that I'm using Windows 2000, it seems something has changed... maybe some IIS configuration... Does anybody have an idea?
-
May 10th, 2001, 11:22 PM
#5
Frenzied Member
Check the permissions on the IIS default user..
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 11th, 2001, 12:46 PM
#6
Thread Starter
Junior Member
How can I Check the permissions on the IIS default user?
-
May 11th, 2001, 03:41 PM
#7
Frenzied Member
Assuming your running Win2k, you open Active Directory Users & Computers and modify the security of the IUSR account that is used to access IIS services and out of process execution
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
May 11th, 2001, 04:57 PM
#8
Thread Starter
Junior Member
It's OK now. Thank you very much for your help. I guess I did something like this on NT last year... but I didn't remember... there is almost one year since I've worked with asp/Interdev... I guess I have a lot of things to study again...
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|