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

From: Gabriela De Feo (gdefeo@rmya.com.ar)
Date: 01/30/03


From: "Gabriela De Feo" <gdefeo@rmya.com.ar>
Date: Thu, 30 Jan 2003 15:24:58 -0300


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, ... Does NET need the MSXML parser? ... |> | I think you used NET classes, because of the code you sent to me, so I ...
    (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: Http Connection
    ... I can access xml file with my browser (IE6 or Mozilla ... public String getContent(){ ...
    (comp.lang.java.programmer)
  • How to get browser to write a file to local disk
    ... There is a browser based application written in Flash Action Script that needs to write an XML file to the local disk. ... What should happen is a XML file is then written to disk which the application uses in several ways further downstream including applying an XSLT transformation to display the results. ... The catch is that none of these browsers allows files to be written to disk for security reasons regardless if Java applets, JavaScript, ECMAScript, etc. are used. ... So the problem is once the form is submitted and the Flash Action Script has the output XML ready, how to circumvent security and get the XML file written to preferably the same drive and directory the application was launched from. ...
    (Security-Basics)