473,546 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.....groa n.

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 7555
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.Mo on> wrote in message
news:e6******** ******@TK2MSFTN GP15.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.....groa n.

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.cre ateobject access error~the
call to server.createob jectfailed 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.Mo on> wrote in message
news:OK******** ******@TK2MSFTN GP15.phx.gbl...
That's not it unfortunately

This results in the error:

An unhandled exception ('006-asp 0178~server.cre ateobject access error~the
call to server.createob jectfailed 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.Mo on> wrote in message
news:e6******** ******@TK2MSFTN GP15.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.....groa n.

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
1279
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 backburner projects has been an online bookmark archive. The obvious advantage of keeping bookmarks on a remote host is that they are available from...
29
15488
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" ---Start of test.aspx---- <%@ Page language="C#" AutoEventWireup="false" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >...
6
1440
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 the following JavaScript function: function SymOnLoad() {
5
2051
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, the control will not load on a PC with the 2.0 Framework installed. I know that IE will use the newest framework so I assume it is a security issue. ...
3
7705
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 value for the UserName token. Is it possilbe at all to do this from VBScript (or jscript?)? I know I will be limited with what I can do with the SOAP...
0
1404
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. Every time I click on the textBox a System.Security.SecurityException is raised.
2
2383
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 assume that the code throws exception when it is trying to retrieve the processes list that has certain name. Below is the code that I use to retrieve...
1
4626
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 area, but here goes: For the local mirror on my development PC of a site I've been managing for some years, I use the built in IIS (XP pro sp2) to...
4
1269
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 get a generic error messagebox (doesn't even get to the browser) that says to ensure the server is operating correctly and that there are no errors...
0
7502
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7791
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1045
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
744
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.