Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Calling Mappoint 2004 from ASP/COM

This is a discussion on Calling Mappoint 2004 from ASP/COM within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi all, we are trying to call the MapPoint ActiveX control from a COM+ application developed in VB. Whenever we ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Calling Mappoint 2004 from ASP/COM

    Hi all,

    we are trying to call the MapPoint ActiveX control from a COM+ application developed in VB. Whenever we try to call the MapPoint object we get the following error in the event log along with the failure:

    "Access denied attempting to launch a DCOM Server. The server is:
    {15A40122-24D2-4FDB-8155-5F65FCE7017F}
    The user is [user]/[DOMAIN], SID=S-1-5-21-796845957-839522115-1708537768-1121. "

    Our error trapping also shows the following error:

    "Error No: 70"," Error: Permission denied"

    has anybody encountered this before, any ideas???


    TIA


    Taff

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Your COM+ application runs under certain credentials (user). Run dcomcnfg.exe and adjust access and launch permission for desired DCOM service to work with the COM+ app user. This has to work.

  3. #3
    Taff is offline Junior Member White Belt
    Join Date
    Nov 2003
    Posts
    1
    Hi, I've never used the DCOMCnfg utility before, and I'm not sure if I'm doing it right, it's certainly not making a difference!

    I loaded up the utility, went to the "Default Security" tab and added my COM+ user to the default launch permissions (the middle section).

    I tried the others too, but wan't entirely sure if I was heading down the right track so I set it back to how it was before.

    I think this may be the right solution though, because when I run my COM+ App as Administrator it works fine.

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I remember a similar problem in the past. Every first time a user starts up MapPoint, it requires user interface to click the intro message. This happens only the very first time a user starts up MP.

    If your COM app runs in a Windows station without interactive user interface, this dialog will block MapPoint for ever, or until the process is killed...

    Hope this helps

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    com+ server activation error

    I had the same problem when hosting on xp, to fix I had to untick the checkbox in Security>>Authorization>>"Enforce access checks for this application". This is how all the other server activated objects are setup in com+, once I did that I was able to start it without errors. Before that I couldn't even start it when logged in as admin and using dcomcnfg to start it...

    hope that helps.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calling all Micro-ISVs!
    By Winwaed in forum General Chat
    Replies: 2
    Last Post: 05-05-2006, 12:16 PM
  2. Calling MapPoint From C++ Without the MFC Safety Net
    By Eric Frost in forum MP2K Magazine Articles
    Replies: 3
    Last Post: 06-09-2004, 08:40 AM
  3. Calling some Foxpro code after addpushpins as stops
    By robinary in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-01-2004, 08:01 PM
  4. 911 outbound calling
    By LLurie in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 04-21-2003, 10:41 AM
  5. VBA calling MP2k2
    By rkehn in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-15-2003, 12:47 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36