473,322 Members | 1,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Security problem when debugging VB6 DLL from calling ASP page

I know that this is easy to do, I've done it before, but I can't find how I
did it before.....groan.

Basically, my ASP page can createObject for a compiled DLL, but it can't do
it for the non-compiled DLL (running in VB6).

Any clues...

Thanks

Griff
Jan 17 '06 #1
5 7552
In the Debugging tab of the Project properties, there's a "Start browser
with URL" option. Fill that in Griff

When the IDE starts up, it actually redirect the registry locations for your
DLL to a special DCOM server that communicates with the IDE version of your
DLL. IIS/ASP won't know the difference though.When they call on it, their
calls are effectively redirected to the IDE version

Tony Proctor

"Griff" <Ho*****@The.Moon> wrote in message
news:e6**************@TK2MSFTNGP15.phx.gbl...
I know that this is easy to do, I've done it before, but I can't find how I did it before.....groan.

Basically, my ASP page can createObject for a compiled DLL, but it can't do it for the non-compiled DLL (running in VB6).

Any clues...

Thanks

Griff

Jan 17 '06 #2
That's not it unfortunately

This results in the error:

An unhandled exception ('006-asp 0178~server.createobject access error~the
call to server.createobjectfailed while checking permissions. Access is
denied to this objecty.') occured in dllhost.exe[280]

I think before that I had to edit a registry entry or change something with
the NTFS permissions for the IUSR_server user.....
Jan 17 '06 #3
This is almost certainly an NT security issue. The "launch browser" option
simply launches the browser with a specific URI when you run the project.

"Griff" <Ho*****@The.Moon> wrote in message
news:OK**************@TK2MSFTNGP15.phx.gbl...
That's not it unfortunately

This results in the error:

An unhandled exception ('006-asp 0178~server.createobject access error~the
call to server.createobjectfailed while checking permissions. Access is
denied to this objecty.') occured in dllhost.exe[280]

I think before that I had to edit a registry entry or change something
with the NTFS permissions for the IUSR_server user.....

Jan 17 '06 #4
"Griff" <Ho*****@The.Moon> wrote in message
news:e6**************@TK2MSFTNGP15.phx.gbl...
I know that this is easy to do, I've done it before, but I can't find how I
did it before.....groan.

Basically, my ASP page can createObject for a compiled DLL, but it can't
do it for the non-compiled DLL (running in VB6).


Assuming you're on the same box as the web server ...

Open the project in VB.
Add breakpoints as required.
Ctrl-F5 (Start with Full Compile).
Browse to the web page that uses the DLL and, with a bit of luck,
IIS should use the "instance" running in the VB IDE, breakpoints and all.

HTH,
Phill W.
Jan 17 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Razzbar | last post by:
I found an interesting JS technique being used by spurl.net and a few other sites, and implemented my own version of it. I like using it, but I'm rather surprised it works at all. One of my old...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
6
by: Mark Rae | last post by:
Hi, Is anyone else experiencing a problem with VS.NET 2003 & Norton Internet Security 2005, specifically when debugging? More and more often when I'm debugging an ASPX page, the code breaks on...
5
by: Norsoft | last post by:
I have a .Net 1.1 application which is downloaded into an aspx page. It is a dll which inherits from System.Windows.Forms.UserControl. It works fine on a PC with only the 1.1 Framework. However,...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
0
by: Lambuz | last post by:
Hi all, I've got this problem. I've to implemente a solution like the example in http://support.microsoft.com/default.aspx?scid=kb;EN-US;313891, but I can't configure correctly the example. ...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
1
by: dcnicholls | last post by:
This is my first post to this forum: I use ASP occasionally but don't know a lot of it, and the Windows IIS was invented by MS to torture me :) So I'm not sure if this should be herre or on the IIS...
4
by: Scott M. | last post by:
I have changed the "My Project" setting in VS 2005 from "Use VS Dev. Server" to "Use IIS Web Server" and I've clicked the "Create Virtual Directory" button. When I attempt to run (with debugging), I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.