Re: Access denied ( From one site to another, that is in another server)

From: Bassel Tabbara [MSFT] (basselt@online.microsoft.com)
Date: 01/30/03


From: basselt@online.microsoft.com (Bassel Tabbara [MSFT])
Date: Thu, 30 Jan 2003 20:19:05 GMT


Gabriela,
Let me know if you the update will help you. Otherwise you may need to see
what is causing the "access deny" and
I can help you on that.

Thanks,
Bassel Tabbara
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| From: "Gabriela De Feo" <gdefeo@rmya.com.ar>
| References: <OmlZ7lWwCHA.1624@TK2MSFTNGP11>
<Ld$1RkXwCHA.2600@cpmsftngxa06> <eJq4PJYwCHA.2680@TK2MSFTNGP09>
<YI8cZrYwCHA.1128@cpmsftngxa08> <ev55wOZwCHA.2476@TK2MSFTNGP10>
<MLyorWawCHA.2148@cpmsftngxa08> <#xK45yhwCHA.2652@TK2MSFTNGP11>
<n7kSomiwCHA.2416@cpmsftngxa08> <ePYBIPkwCHA.2796@TK2MSFTNGP12>
<76amZTxwCHA.2148@cpmsftngxa08> <uICIVpywCHA.2528@TK2MSFTNGP09>
<ezNs5nzwCHA.376@cpmsftngxa08> <Oe6SFa7wCHA.1712@TK2MSFTNGP10>
<AHYfGKixCHA.2552@cpmsftngxa08> <O#Zx$iuxCHA.2660@TK2MSFTNGP09>
<HMOw9u6xCHA.2688@cpmsftngxa06> <uNj2ZbHyCHA.680@TK2MSFTNGP11>
<abbApxHyCHA.2628@cpmsftngxa08>
| Subject: Re: Access denied ( From one site to another, that is in another
server)
| Date: Thu, 30 Jan 2003 15:24:58 -0300
| Lines: 209
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <OxFoHzIyCHA.1776@TK2MSFTNGP09>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| NNTP-Posting-Host: 200.80.152.106
| Path: cpmsftngxa08!cpmsftngxa10!TK2MSFTNGXA05!TK2MSFTNGP08!TK2MSFTNGP09
| Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:3863
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| Bessel I am afraid I expressed wrong. I wanted to say that I tryed to
access
| the xml file using a browser and I was be able to do through the browser,
| but I coudn't do it it through code : ( I AM SORRY
|
|
|
|
| I don't have the last version of MSXML parser, I will install it and try
| again
|
|
|
|
|
| "Bassel Tabbara [MS]" <basselt@online.microsoft.com> wrote in message
| news:abbApxHyCHA.2628@cpmsftngxa08...
| > Hello Gabriela,
| > First, I am glad that you resolved the problem.
| >
| > I am including below the answers for your questions:
| >
| > >>The second application was in your machine too? Or it was in another
| > server?
| >
| > Yes, I created a web application on the second server where I placed my
| XML
| > file.
| >
| > >> Did you use NET classes or COM components (MSXML)?
| >
| > I used .Net classes which is System.Xml.XmlDocument. .Net library
includes
| > classes that allow you to manipulate easily
| > the XML file.
| >
| > >> I think you used NET classes, because of the code you sent to me, so
I
| > have
| > >> a question, Does NET need the MSXML parser?
| >
| > I am not sure on that.
| >
| > >> Where can I verify the version parser? I looked in the registry, I
have
| > up
| > >> the second version there.
| >
| > You can find the MSXML parser under System32 folder of windows
| installation
| > directory.
| > You can find the msxml4.dll under that folder and right click on the
| > properties to find out the version
| > of the parser.
| >
| > Thanks,
| > Bassel Tabbara
| > Microsoft, ASP.NET
| >
| > This posting is provided "AS IS", with no warranties, and confers no
| rights.
| >
| > --------------------
| > | From: "Gabriela De Feo" <gdefeo@rmya.com.ar>
| > | References: <OmlZ7lWwCHA.1624@TK2MSFTNGP11>
| > <Ld$1RkXwCHA.2600@cpmsftngxa06> <eJq4PJYwCHA.2680@TK2MSFTNGP09>
| > <YI8cZrYwCHA.1128@cpmsftngxa08> <ev55wOZwCHA.2476@TK2MSFTNGP10>
| > <MLyorWawCHA.2148@cpmsftngxa08> <#xK45yhwCHA.2652@TK2MSFTNGP11>
| > <n7kSomiwCHA.2416@cpmsftngxa08> <ePYBIPkwCHA.2796@TK2MSFTNGP12>
| > <76amZTxwCHA.2148@cpmsftngxa08> <uICIVpywCHA.2528@TK2MSFTNGP09>
| > <ezNs5nzwCHA.376@cpmsftngxa08> <Oe6SFa7wCHA.1712@TK2MSFTNGP10>
| > <AHYfGKixCHA.2552@cpmsftngxa08> <O#Zx$iuxCHA.2660@TK2MSFTNGP09>
| > <HMOw9u6xCHA.2688@cpmsftngxa06>
| > | Subject: Re: Access denied ( From one site to another, that is in
| another
| > server)
| > | Date: Thu, 30 Jan 2003 12:48:00 -0300
| > | Lines: 109
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| > | Message-ID: <uNj2ZbHyCHA.680@TK2MSFTNGP11>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| > | NNTP-Posting-Host: 200.80.152.106
| > | Path:
cpmsftngxa08!cpmsftngxa10!TK2MSFTNGXA05!TK2MSFTNGP08!TK2MSFTNGP11
| > | Xref: cpmsftngxa08
| microsoft.public.dotnet.framework.aspnet.security:3856
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
| > |
| > | Hello Bassel,
| > |
| > | I tryed to access the xml file using a browser and I was be able to do
| it
| > | through code.
| > |
| > |
| > | Now, I have some questions I hope you can answer.
| > |
| > | The second application was in your machine too? Or it was in another
| > server?
| > |
| > | Did you use NET classes or COM components (MSXML)?
| > |
| > | I think you used NET classes, because of the code you sent to me, so I
| > have
| > | a question, Does NET need the MSXML parser?
| > |
| > | Where can I verify the version parser? I looked in the registry, I
have
| up
| > | the second version there.
| > |
| > | Thanks
| > |
| > |
| > |
| > |
| > |
| > | "Bassel Tabbara [MS]" <basselt@online.microsoft.com> wrote in message
| > | news:HMOw9u6xCHA.2688@cpmsftngxa06...
| > | > Hello Gabriela,
| > | > I tried your scenario on my machine and it worked great. I placed an
| xml
| > | > document under the root of the second application.
| > | > I didn't do any specific configuration. I made sure that I can
access
| > the
| > | > document using the browser. I tried the following
| > | > code and my XML document was loaded into the XMLDocument object.
| > | >
| > | > Dim oXMLDocument As System.Xml.XmlDocument
| > | > oXMLDocument = New System.Xml.XmlDocument()
| > | > oXMLDocument.Load(surl)
| > | >
| > | > One thing I advice you to do, is to try to access the xml file
using a
| > | > browser. If you will be able to do so, you must be able
| > | > to do it through code.
| > | >
| > | > On my machine I have MSXML parser version 4.0 with SP1. You might
need
| > to
| > | > check if you have the latest version.
| > | >
| > | > Thanks,
| > | > Bassel Tabbara
| > | > Microsoft, ASP.NET
| > | >
| > | > This posting is provided "AS IS", with no warranties, and confers no
| > | rights.
| > | >
| > | > | > --------------------
| > | > | > | From: "Gabriela De Feo" <gdefeo@rmya.com.ar>
| > | > | > | References: <OmlZ7lWwCHA.1624@TK2MSFTNGP11>
| > | > | > <Ld$1RkXwCHA.2600@cpmsftngxa06> <eJq4PJYwCHA.2680@TK2MSFTNGP09>
| > | > | > <YI8cZrYwCHA.1128@cpmsftngxa08> <ev55wOZwCHA.2476@TK2MSFTNGP10>
| > | > | > <MLyorWawCHA.2148@cpmsftngxa08> <#xK45yhwCHA.2652@TK2MSFTNGP11>
| > | > | > <n7kSomiwCHA.2416@cpmsftngxa08> <ePYBIPkwCHA.2796@TK2MSFTNGP12>
| > | > | > <76amZTxwCHA.2148@cpmsftngxa08> <uICIVpywCHA.2528@TK2MSFTNGP09>
| > | > | > <ezNs5nzwCHA.376@cpmsftngxa08>
| > | > | > | Subject: Re: Access denied ( From one site to another, that is
| in
| > | > | another
| > | > | > server)
| > | > | > | Date: Fri, 24 Jan 2003 11:41:11 -0300
| > | > | > | Lines: 823
| > | > | > | X-Priority: 3
| > | > | > | X-MSMail-Priority: Normal
| > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
| > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| > | > | > | Message-ID: <Oe6SFa7wCHA.1712@TK2MSFTNGP10>
| > | > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| > | > | > | NNTP-Posting-Host: 200.80.152.106
| > | > | > | Path: cpmsftngxa06!TK2MSFTNGP08!TK2MSFTNGP10
| > | > | > | Xref: cpmsftngxa06
| > | > | microsoft.public.dotnet.framework.aspnet.security:3760
| > | > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
| > | > | > |
| > | > | > | Bassel,
| > | > | > |
| > | > | > | Yes I tried puttin that in the web.config of server 1.
| > | > | > |
| > | > | > | Server 1 an Server 2 are part of the same domain.
| > | > | > |
| > | > | > | I think that the problem could be with the Microsoft XML
Parser,
| > | > because
| > | > | > | using the NET DomDocument I always get an error (SERVER ERROR:
| THE
| > | > | REMOTE
| > | > | > | SERVER RETURNED AN ERRROR (401) UNAUTHORIZED), even when the
url
| > is
| > | > the
| > | > | > url
| > | > | > | of a site that is in same server.
| > | > | > |
| > | > | > | Dim oXMLDocument As System.Xml.XmlDocument
| > | > | > |
| > | > | > | oXMLDocument = New System.Xml.XmlDocument()
| > | > | > |
| > | > | > | oXMLDocument.load(sURL)
| > | > | > |
| > | > | > | Gaby
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|



Relevant Pages

  • Re: Access denied ( From one site to another, that is in another server)
    ... I created a web application on the second server where I placed my XML ... >> I think you used NET classes, because of the code you sent to me, so I ... You can find the MSXML parser under System32 folder of windows installation ... | I tryed to access the xml file using a browser and I was be able to do it ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Access denied ( From one site to another, that is in another server)
    ... the xml file using a browser and I was be able to do through the browser, ... >>> I think you used NET classes, because of the code you sent to me, so I ... Does NET need the MSXML parser? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Access denied ( From one site to another, that is in another server)
    ... Hello Bassel, ... I tryed to access the xml file using a browser and I was be able to do it ... > On my machine I have MSXML parser version 4.0 with SP1. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: xml
    ... "Dave" wrote in message ... > Can someone tell me how can i read an xml file to sturct array in ... You can use MSXML parser. ...
    (microsoft.public.vc.atl)
  • UTF-8 files
    ... a UTF-8 file with MSXML parser? ... (client side, not server side) ...
    (microsoft.public.vc.language)